Most functions using globals, I think you need a class based forum script or you need to build your own bbpress objects
Hi
I have the old legacy branch of BBpress on my website and I want to move to the The latest stable version 1.0.2
I try to find some informations about that on the forum but nothing
I need to keep my users and topics data
I just want to know if it is possible and what is the process
thanks
Yes, indeed it is OFF, I thought it was the input class but it’s not … nvm …
You don’t need any integration plugins if you’re using WP 2.8.4 with bbP 1.0.2.
I’m afraid I don’t quite understand what you mean by it not uploading as a folder though? As long as you keep the basic structure (so you still have bb-admin, bb-includes, bb-plugins and bb-templates folders), you’ll be fine.
To access bbPress as an admin, you need to log into bbPress using the admin account and then a link will be displayed to the Admin panel.
http://phpxref.ftwr.co.uk/wordpress/nav.html?wp-includes/comment-template.php.source.html
In WordPress, comments_popup_link() takes three arguments that tell it how to format the output based on how many comments are present and runs a sprintf() with the appropriate output after retrieving the comment count.
The equivalent to get_comments_number in bbPress would be get_topic_posts, the rest of the function is either WordPress-specific or would need slight tweaking (like what the posts page would actually be).
register_globals is a gaping security flaw that’s been turned off in every recent PHP version. If you have it on, PHP takes anything passed by $_GET, $_POST, $_COOKIE and $_SERVER and turns them into global variables (i.e. ?book=1 in the $_GET array becomes $book = 1). I’d recommend turning it off ASAP.
The edit link turns itself off after a while, it’s not just limited to if anyone else has posted 
Ah, and good luck integrating bb-load.php, I could never get it to even play nice with WordPress.
couldn’t find the edit button :
I didn’t fix this issue yet but I got a hint.
the CodeIgniter’s input class (automatically loaded) destroys all global variables in the event register_globals is turned on.
hope someone else might find this useful …
Sam told me this is a throwback to some of the older versions of the software. Hopefully it will be fixed in a future version of bbPress.
Hi,
I see this template and function in all the WP themes, how does this work in wordpress?
Knowing this it might be possible fro bbpress too…
Sorry, it’s a little tongue in cheek. Enlarging your font size can be handled in a variety of ways, and the question was a little broad in its scope.
You’re going to have to edit the bbPress’ theme stylesheet and increase your font size from there.
Hi,
I’m trying to integrate a bbpress forum into an existing codeigniter application. (which basically just means integrating the login/logout/update/register functions and syncrhonizing the databases).
I managed to do so by loading bbpress (simply including bb-load.php) on top of codeigniter and just calling the usual bb_login(), bb_logout() functions whenever needed.
However, I just realised that loading it that way drastically decrease performances (went from ~200 req/sec to ~10).
I now try to load bbpress just when I need it, but some strange things happend when bb-load.php is included AFTER codeigniter itself.
e.g, if bb-load.php is included anywhere before codeigniter/CodeIgniter.php, it works, if included after, it won’t load.
Basically what happened is that variables instantiated in the included scripts (like bb-load.php, or bb-settings.php for instance), are then ‘lost’ when reused as global variables elsewhere in bbpress files.
(for now the variable that cause me troubles if $bbdb, which is fine while still in settings.php, but is empty in others files/functions …)
I guess it may not only been related to bbpress but that’s the first time I see this … Anyone got this problem before ? Didn’t have much luck with Google …
Thanks in advance,
I’m very glad to have found this discussion – after upgrading from WPMU 2.7.something to 2.8.4, the cookie swap stopped working, and I couldn’t find a good explanation anywhere until I found this thread. Upgrading from bbPress 1.0a6 to 1.0.2 fixed everything.
Thanks very much to the developers for playing catchup to WP’s cookie shenanigans.
I think Sam has a fix coming in 1.0.3?
https://trac.bbpress.org/ticket/1164
Yes I meant bbPress 1.0.2 and not 1.0.3.
I downloaded a fresh bbPress and unzipped it into the directory. Installed anew, still nothing.
Regarding php.ini its…
; allow_call_time_pass_reference
; Default Value: On
; Development Value: Off
; Production Value: Off
I know it’s only been 16 hours… but this thread is falling off the front page, and I’m still trying to find an answer. Bumpity bump bump bump.
I could be wrong about this, but you should only have to delete the tables from your database and remove the bb-config.php file (you could remove the .htaccess too, but as long as it’s owned by the web server, shouldn’t be a problem for bbpress to rewrite it).
<?php if ( !bb_current_user_can('manage_options') ) : ?>
GOOOOOGLE 
<?php endif; ?>
or
<?php if ( !bb_current_user_can('manage_options') ) { ?>
GOOOOOGLE 
<?php } ?>
bbPress/WordPress have a boolean function for pretty much everything
It’s actually a pretty simple hack, though I caution you that I worked it out in the last five minutes.
First, modify the following three lines of your bbpress .htaccess;
RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
RewriteRule ^forum/?$ /bbpress/ [R=302,L,QSA]
change ^forum/ to whatever you want the permalink to be, such as ^sub/ or ^purplepolkadots/, whatever works for you. Then open functions.bb-template.php and go to line 711 inside function get_forum_link() (line numbers may vary). It should look something like:
$link = bb_get_uri('forum/' . $forum->$column . $page, null, $context);
…and change ‘forum/’ to whatever you put in your .htaccess – this seemed to work for me immediately, however as I mentioned, I haven’t done any thorough testing of it.
I had the same problem and indeed it was because that first forum wasn’t created, and indeed because my server runs php4 by default (but I can override to php5 via .htaccess). Of course, I didn’t see this thread until after the fact.
My question: what are the three (or more, or less) files I need to *remove* so I can start the setup over again under php5 and get things working? I assume bb-config.php is among them, but what are the others? What files make bbpress realize it is already installed? Should I just drop everything and start over?
kiaspeed2.com
I just need to get “forgot your password” to not look like WP login.
pixelgirl #1, I wrote a similar question but a user told me; if it’s deep integration then there is no difference between bbpress and wp
I had to just write <a href=" it out without generating it, just plain html. and put the class=”selected” in the BB header. Since the header is not use for anything other than Forum it will always be selected, if that makes sense.
#2, sorry I know it’s <?php bb_topic_admin(); ?> but exactly where it pulls it from beats me.
If you’re trying to get the forum list on the front page visible without anything else, just put something like:
<?php if( !isset( $_GET[ 'forumsonly' ] ) ) : ?> after <?php if ( $forums ) : ?> in front-page.php, then before <?php if ( bb_forums() ) : ?> put <?php endif; // forumsonly ?>.
That would allow you to put ?forumsonly in the URL to turn off the extra bits of the front page.
The other option would be to copy index.php into a new file and change the template it loads to something else and take out the parts you don’t want in there, but if bbPress changes anything in index.php in a new version, you’d miss out on the changes.
i’m looking for a way to use the same output like in wp for the comments like:
<?php comments_popup_link('no comments', 'one comment', ' % comments'); ?>instead of<?php forum_topics(); ?> <?php _e('post(s) or comment(s)'); ?>.so is there a php pendant in bbpress to count comments or posts the wordpress way?
thank’s in advance