so when you are logged in on BBPress you are automatically logged in on the WP – and vice versa?
Null, thanks for the help. Yeah, going into the table isn’t a whole lot of fun, but this isn’t something that would need to be changed very often.
PM is private messaging, i.e. this plugin:
https://bbpress.org/plugins/topic/20
The plugin adds a page (/yourforum/pm.php) that lets you read/write private messages to other users. Because it is a static page, you can define the address in the table.
What would be really great, though, is a way to make the links dynamic. The PM plugin also comes with a notification function where users can be given an alert when they visit the forum letting them know a new message has arrived. The tab would say something like “Private Messages (1)” or something like that. Unfortunately, since the page addresses are stored in the DB, I can’t really think of a way to do this.
As far as wanting to see it, you can check my forum here:
http://www.lne97.com/bbpress/
I have it locked down so you have to register, which addresses the issue you mentioned above. However, you can log in using:
user: just a test
password: justatest (no spaces)
Thanks again for the plugin!
This is a simple plugin that will highlight which posts are new since a (logged-in!) user last visited the forums. It will modify your front page’s listing of recent threads, showing threads with new posts as bold.
It REQUIRES the Simple Onlinelist plugin by Thomas Klaiber, whose work this is largely based on.
The plugin should not highlight posts which the user made, since obviously those have already been seen. Please tell me if it does otherwise.
The only testing I have done is on my 1.0-alpha build, so I would be very grateful if people could test the plugin and tell me if it works!
Grab it here.
A couple of questions about what syntax to use, especially on template pages:
1. I see that a lot of people use _e('string...') instead of echo('string...'). Is this just a bbpress/wordpress thing or is this generally acceptable php coding?
2. In front-page.php of kakumei (and many other places), I see people using this shorthand echo where normal text would work just fine. For instance, in the hottags div, it is:
<h2><?php _e('Hot Tags'): ?></h2>
Why would you have PHP echo that when you could just have it as plain ol’ text in the first place? Am I missing something?
I realize neither of these is of any earth-shaking importance, but I would like to know so I can keep my code modifications in line with the default syntax that is used throughout. Thanks!
Still not working for me.
In one of my many reinstallations I forgot to put the wordpress integration file back in my-plugins.
Still no go however.
I do have the bbpress plugin activated in my wordpress already.
Also, yes, integrated from start.
I use this plugin for MyBlogLog avatars, but looking at the code it seems to be already setup for Gravatars as well! Maybe take a look at it!
https://bbpress.org/plugins/topic/36?replies=6
Trent
How about a quick description of how to use in a bbPress site only (no WP). I look at the source and see lots of calls to wp_ needed stuff.
Actually, I think it means you CAN translate it. I don’t know how to translate, and I only know what I have read here, but I think you need a program called poedit http://www.poedit.net/ to create the translation.
Also, maybe this is relevant?
https://bbpress.org/forums/topic/576?replies=2#post-3361
And, here is a list of current translations. If you create a translation, maybe you can add yours to the list:
http://proforums.palmansworld.com/localization/
I registered over at your forums to test this out. I registered and then logged into bbPress. I then went over to your blog and tried the /wp-admin/ link to find out if I was registered. It gave me the login page where I added my information and then was redirected to:
http://mpm.org.au/wp-admin/
That URL doesn’t exist. Is there something in your WP install that has the URL of the site as the first URL? That might be causing the problems.
As well, do you have the integration plugin that pulls the registrations from bbPress across to WordPress? That way all users are in the wp_users and not the bb_users table.
Trent
There is a plugin to limit registration on your bbPress and I use the Custom Profile plugin myself for helping in spam registration. I just create a couple of ‘required fields’ followed by a couple ‘non required fields’ and then end with ‘another required field’ for registration. No bot has figured it out yet…..!
Trent
The best thing would be to translate your entire bbPress. Check out this post on internationalization. Since it has ‘You must login to Post” on that post you put up, I am assuming you haven’t used a translation file.
Trent
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.