Search Results for 'code'
-
AuthorSearch Results
-
October 25, 2006 at 10:58 am #49766
In reply to: Plugin Requests
Nola1974ParticipantI would like a plugin with a imageshack/fapomatic upload form.
October 25, 2006 at 7:42 am #775Topic: next release ideas
in forum Requests & FeedbackmistainuMember#1. have a smoother “intuitive” integration between wordpress and bbpress?
#2. plugins and theme options pages in control panel *doh*
#3. in the bbpress control panel, have a link that says “over to wordpress” and vice versa; that would require bbpress and wordpress to “recognize” each other’s presence on the website. a result of suggestion #1
#4. search function? etc
that’s all i can muster… otherwise it’s awesome.
October 25, 2006 at 7:10 am #50470In reply to: bbPress works alone, integration failed.
mistainuMembernevermind, i figured out what went wrong:
near the bottom…
// Use the following line *only* if you will be loading WordPress everytime you load bbPress.
//define('WP_BB', true);
so i removed the //
define('WP_BB', true);
and that’s what caused the problem… now that i replaced the // back, integration works fine. but i have a question?
what was that line even supposed to do? i thought load everytime means i can callup the wordpress functions in the bbpress template? or something to that extent? someone please clarify?
October 25, 2006 at 3:32 am #49416In reply to: Importing from phpBB
spencerpMemberWhat about importing from PunBB?
*sigh*
Please! You’ll have to be patient.. we are lucky we got this phpBB to bbpress importer this quickly.. jeesh! I’m sure brunotorre will probably make up more import scripts then..
If not brunotorre, then someone else I’m sure.. We’ll just have to be patient here.. Just my 2 cents …
spencerp
October 25, 2006 at 1:42 am #50480In reply to: another type of login problem
AphelionZParticipantDid not work, I put a print statement in the userspace.php, printing “This code is being executed.” and it showed up, but does not solve the whitespace problem.
October 25, 2006 at 12:21 am #49764In reply to: Plugin Requests
ear1greyMemberThx Philip – Naturally I was hoping to avoid the XML round-trip, but I’ll swallow that little overhead-pill for now!
October 25, 2006 at 12:02 am #49779In reply to: Permalinks?
JaxiaMemberAhhh, my bad. I thought that is what ”pretty’ permalinks did. Something to look forward to
(BTW, xdforum uses mod rewrite rules to make it work. It’s a wordpress forum plugin. Nifty, but I guess it depends on which features are more important to the end user right now )
October 24, 2006 at 10:54 pm #50477In reply to: another type of login problem
AphelionZParticipantI copied this code into a file called userspace.php and then copied that file into the my-plugins folder. Is there anything else I need to do?
Professor Stigious is also the keymaster. Is this super problematic?
btw thank you for your fast response!
October 24, 2006 at 9:11 pm #50353In reply to: Cannot select DB.
Michael Adams (mdawaffe)MemberThe domain should be
http://localhost
and the path should be/~myusername/bbpress/
but that shouldn’t stop the database connection.Do you know if you have PHP’s mysqli extension loaded (as opposed to the normal mysql)? If you do, try copying bb-includes/db.php to bb-includes/db-mysqli.php to overwrite that later file (it seems to be out of date).
Please let me knw if that helps or not.
October 24, 2006 at 8:18 pm #49776In reply to: Permalinks?
JaxiaMemberI must be missing something. I tried the +Multi thing, and I kept getting an error about no input file. So, I copied the code into my .htaccess file and put it in the right directory, but my links still look like this:
http://www.youknowyouwanna.net/forums/forum/1
How can I get it to use the names of the forums, and the titles of the threads? Thanks!
October 24, 2006 at 6:36 pm #49415In reply to: Importing from phpBB
markyMemberMy mistake; you’re absolutely right — it only displays deleted posts.
October 24, 2006 at 5:05 pm #49413In reply to: Importing from phpBB
brunotorresMemberMarky, just after posting here I realized I forgot to convert the bbcodes. I’ll try to make it shortly.
About the announcements and sticky, I’ll give a look too.
But I still don’t have a clue why posts don’t appear on the admin. If you or anyone know why, please let me know.
October 24, 2006 at 4:30 pm #50330In reply to: Using RSS Feeds
Michael Adams (mdawaffe)MemberI believe there are several plugins for WordPress (and even a sidebar widget) that pull content from RSS feeds.
I’d use the widget since I don’t know the names of the plugins off the top of my head. I’m sure Google does, though
October 23, 2006 at 11:02 pm #49410In reply to: Importing from phpBB
markyMemberOK, I gave the script a shot and it imported everything very nicely!
The only snag is that the bbCodes weren’t stripped or converted in the process, so many of the posts end up looking like gibberish. Also, sticky threads and announcements weren’t converted as such, although that’s less of an issue.
I certainly hope there’s enough demand for this script to justify adding these features. Otherwise, nice job!
October 23, 2006 at 7:38 pm #50405In reply to: Creating live URLs
larmirMemberGot it!
Didn’t use back ticks – just straight code and it works fine.
Don’t know how I missed this.
October 23, 2006 at 6:34 pm #50117In reply to: Integration and second database
Andrea RennickMemberNope. Fresh from the download page. I did check db.php and it does have code in there if the 2nb db is declared, it just seems not to catch it.
I’m gonna try it stuffed away on on a live server somewhere. I don’t want to accidentally hose my MU install until I know I can get it working.
October 23, 2006 at 5:23 pm #50164In reply to: “This topic is not a support question”
Michael Adams (mdawaffe)MemberCopy bb-templates/topic.php to my-templates/
Find and remove
<li id="resolution-flipper"><?php _e('This topic is') ?> <?php topic_resolved(); ?></li>
This will likely be removed by default in future versions of bbPress.
October 23, 2006 at 4:41 pm #50125In reply to: Controlling the Number of Latest Discussions
Michael Adams (mdawaffe)MemberMake sure there is no whitespace (spaces, extra lines, tabs, etc.) before the
<?php
in your plugin nor after the?>
October 23, 2006 at 3:01 pm #49409In reply to: Importing from phpBB
markyMemberbrunotorre, you’re a life saver! I’ll give the script a test shot tonight, and I’ll let you know how it goes.
October 23, 2006 at 2:30 pm #50231In reply to: Cookies and WPMU
mozeyMembermdawaffe, thanks for the response, okay,
example.com/someblog
my forum is in example.com/forums
i’m not loading wpmu, i was using at a point of time
MU_BB was true,
include_once(‘wp-config’)
(the syntax was right)
However, i took that off since it was messing up my template, it was assuming that /forums is someone that wanted to register.
should i solve that issue FIRST? if so, any ideas?
however, back to main topic, what should i play with in order to share the sessions?
October 23, 2006 at 10:56 am #50259In reply to: Users dont receive password after registration
Pravin ParateyParticipantFinally got it to work. Patch:
Index: bb-includes/registration-functions.php
===================================================================
--- bb-includes/registration-functions.php (revision 502)
+++ bb-includes/registration-functions.php (working copy)
@@ -35,9 +35,9 @@
return array($user_id, $password);
} else {
bb_update_usermeta( $user_id, $bb_table_prefix . 'capabilities', array('member' => true) );
- bb_send_pass( $user_id, $password );
+ #bb_send_pass( $user_id, $password );
do_action('bb_new_user', $user_id);
- return $user_id;
+ return array($user_id, $password);
}
}
Index: bb-templates/register-success.php
===================================================================
— bb-templates/register-success.php (revision 502)
+++ bb-templates/register-success.php (working copy)
@@ -4,6 +4,6 @@
<h2 id="register"><?php _e('Great!'); ?></h2>
-<p><?php printf(__('Your registration as <strong>%s</strong> was successful. Within a few minutes you should receive an email with your password.'), $user_login) ?></p>
+<p><?php printf(__('Your registration was successful.<br /><br />Username: <b>%s</b><br />Password: <b>%s</b>'), $user_login, $user_password) ?></p>
<?php bb_get_footer(); ?>
Index: register.php
===================================================================
— register.php (revision 502)
+++ register.php (working copy)
@@ -28,7 +28,9 @@
$user_safe = false;
if ( $user_login && $user_safe && $user_email && !$bad_input) :
– $user_id = bb_new_user( $user_login, $user_email, $user_url );
+ $userinfo = bb_new_user( $user_login, $user_email, $user_url );
+ $user_id = $userinfo[0];
+ $user_password = $userinfo[1];
foreach( $profile_info_keys as $key => $label )
if ( strpos($key, 'user_') !== 0 && $$key !== '' )
bb_update_usermeta( $user_id, $key, $$key );
October 23, 2006 at 9:16 am #50258In reply to: Users dont receive password after registration
Pravin ParateyParticipantUmm, sourceforge has stopped the ablity for webservers to send email.
http://sourceforge.net/docman/display_doc.php?docid=4297&group_id=1
point 12.
Now I’ll have to figure out how to use cron
October 23, 2006 at 8:34 am #50257In reply to: Users dont receive password after registration
Pravin ParateyParticipantThe email functions are in
registration-functions.php
inbb-includes
.The mail function doesnt do anything on sourceforge. I wrote a sample php file and ran it:
<html>
<body>
<?php
mail( ‘pravinp[at]gmail[dot]com’, “subject”, “message”, ‘From: pravinp[at]gmail[at]com’);
?>
</body>
</html>
And it didnt send me the email.
Anybody know how I can fix this?
October 23, 2006 at 8:08 am #50124In reply to: Controlling the Number of Latest Discussions
planetphillipMemberWorks for me too. Thanks to both of you!
NO, wait when I try to open the tags.php I recieve this message:
Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/forum/my-plugins/latest-topics.php:9) in /home/username/public_html/forum/bb-includes/functions.php on line 1304
TIA
October 23, 2006 at 6:59 am #50142In reply to: Adjust Size of Hot Tags
ear1greyMember<?php tag_heat_map( 60, 150, '%', 40); ?>
Yay, percentages work too! It’s not 8am yet and that’s made my day.
-
AuthorSearch Results