but now I can’t log out of bbpress?
This is because when you click “log out”, it clears the NEW version of the cookies, but when checking if you’re logged in it checks both the new and the old version. The old version is never cleared.
To do that, you have to clear your cookies. In FF, pressing Ctrl + Shift + Del gives you access to clear them, in IE you have to go to Tools > Options or something.
But this probably means it’s working!
Might be worth making a trac ticket for it here: https://trac.bbpress.org/ Log in with the details you use here.
I added
//try to sync cookies
$bb->cookiedomain = ‘.mpm.org.au’;
$bb->cookiepath = ‘/’;
to bbPress config.php (in root)
I added
define(‘COOKIE_DOMAIN’, ‘.mpm.org.au’);
to wp-config.php (in /300/)
but now I can’t log out of bbpress?
thanks guys – I don’t have to reinstall either bbpress or wordpress?
It adds a menu to your forum displaying the forum, statstics and search page which you can edit in the admin page. Also see: http://www.sourceskins.com/bbpress
It works woth all versions 0.8+ not sure about 1.0 (should work). The re-write is just to use jQuery, so I can downsize the plugin javascripts etc it needs now.
I don’t understand, what does this plugin do? Screenshots would help.
re-write the plugin to use jQuery?? (This is used in the next bbPress version)
Does it work with 1.0-alpha, then?
You have to put the time in your config.php that is that of the server.
Do you really? Or have I misunderstood this completely?
bbPress’ time functions no longer insane
bbPress constrained you, the person installing bbPress, to set it’s internal timezone to match exactly that of the server it was running on.
That’s ridiculous.
…
With bbPress 0.8, all that has changed. You can set bbPress’ timezone to anything you like completely independent of where you are and where your server is.
I recently did my first bbpress install on localhost and it went miserably. I used the latest download from today.
Checking on this forum I had the same path seperator issues and stylesheet issues others had, etc.
My $bb->domain and $bb->path were fine. The fresh install just didn’t work properly under xampp and then again a retry on easyPHP.
This is the solution and findings I found:
1. The first issue is because in config.php and bb-load.php dirname(__FILE__) is used to get the base path for BBPATH. This is not a good thing on localhost Windows based installs.
2. There are a number of attempted workarounds to this that I’ve read about in this forum. All of them that I saw didn’t work. Focusing on the issue with the stylesheet href not being correct I noticed that there was logic in the bb_get_active_theme_folder() function.
By default, the installer does NOT create an option entry ‘bb_active_theme’ in the database table topicmeta. The code logic doesn’t make the correct uri.
To fix this, do an install and then add a database field bb_active_theme in the topicmeta table.
For example, I set mine to:
http://localhost/dev/bbpress/
Playing regular expression games to change x: and in general is not worth it. This seemed to be simple and worked right out of the box.
Thanks for this Sam, looking at it I also made a plugin using the Simple Onlinelist which will highlight any new posts made since the last time someone logged in.
Waiting to have it approved as a plugin so I can upload.
You will have to make changes to some core files to make this work properly, as they are in different subdomains.
Find your bbPress config.php
file and add these lines:
//try to sync cookies
$bb->cookiedomain = '.mpm.org.au';
$bb->cookiepath = '/';
Now go to your wordpress folder, open wp-settings.php
.
#line 190
FROM
define('COOKIE_DOMAIN', false);
TO
define('COOKIE_DOMAIN', '.mpm.org.au');
Make sure that you make note of this change to wp-settings.php
. Every time you upgrade wordpress this change will be overriden and you will have to make this change again.
I just created a login at http://www.motiongraphics.it/forum/ and everything worked fine. I was able to do login and create a topic just fine.
The really weird thing is that the forum initially looked like a standard bbPress install (kakumei or whatever that theme is called) then, after I created a topic, it switched over to what looks like this bbpress.org forum theme. It was so disorienting, I thought I posted on bbpress by mistake!
So, unless you were messing with the templates, something weird is going on. However, I did not see the error you mentioned, I just had the weirdness with the differing templates.
Sorry for my Italian
You say this is bbpress code but after searching through every file I couldn’t find any reference to avatar in any of the code. Where exactly is this block of code placed?
I’m trying to set the theme of my blog in bbpress
I have followed all rules, but this is my error:
Fatal error: Call to undefined function: get_settings() in /web/htdocs/www.motiongraphics.it/home/forum/my-templates/mw1.1/themetoolkit.php on line 331
Why?!
Now available in bbPress plugin browser:
https://bbpress.org/plugins/topic/44
Now available in bbPress plugin browser:
https://bbpress.org/plugins/topic/43
Allows passing of HTTP authentication for creation/authentication within bbPress
http://bbpress.org/plugins/topic/42
Born from this thread:
http://bbpress.org/forums/topic/849
Hi
I was following a tutorial which says that in order to use wordpress tags you need to include the blog header in your bbpress config. The tags work when I do this, however my bbpress-admin just gives me a whitepage?
Thanks
My stupidity! It should be working now with the same link.
http://onvertigo.com/downloads/bbpress-forum.zip
Trent
You have download your copy of /bb-includes/db-mysqli.php and then put in the parts in GREEN and take out the parts in RED out of this file:
https://trac.bbpress.org/attachment/ticket/627/mysqli-connection-port-build788.patch
Trent
Speaking of which, it doesn’t add a topic-slug either, which is required to have permalinks set to slug. I tried adding the topic_slug field and a variable to make it update, but when I did that it didn’t work at all
Can someone else have a look at this too?
I also added a snippet of code to append a link to the last post.
Find the end of the function page_links_add_links
and replace this
return $title;
}
with this
$felgtlpl = get_topic_last_post_link($topic->topic_id);
$title = $title . ' <a href="' . $felgtlpl . '"> » </a>';
return $title;
}
By the looks of things, mysqli_connect doesn’t support the “hostname:port” syntax on remote mysql servers (i.e. other than localhost), but mysql_connect does…
I’ve reported this as a bug and submitted a patch here:
https://trac.bbpress.org/ticket/627
wordpress:
define(‘DB_HOST’, ‘sql.kmr.nazwa.pl:3305’);
define(‘DB_NAME’, ‘kmr’);
bbpress:
define(‘BBDB_NAME’, ‘kmr’);
define(‘BBDB_HOST’, ‘sql.kmr.nazwa.pl:3305’);