The management of time and timezone in bbPress needs some care soon, actually you have to set up in config.php the timezone of your server to have freshness works, but this way you loose the time of your timezone if different.
This is not a problem if server and users are on same timezone or in adiacent ones, but as I’m setting up a forum all in italina that has a timezone GMT +1 but server is in LA on PST timezone all the things mess up, if i wanna have time of posts correct for italy i get freshness gettind mad showing up -1 years freshness if i set the PST time zone freshness works right but i get the post time in that timezone too and this is not nice neither right.
I don’t think I’m the only one with this problem and the time management actually is not clear at all maybe it needs to have a server timezone offset and a desired tforum timezone offset or something like that.
Any ideas ?
Yeah, I know I’m a bit crazy for doing this, cause it’s set for bbPress milestone 1.0 hahaha. Oh well, I’m just impatient like that … lmao..
spencerp
Hi mdawaffe,
could you create one folder for me as well.
I need http://svn.automattic.com/bbpress-i18n/sk/
Slovak language “sk_SK”
Translation is ready now.
When i post, edit or delete somethin i get this error
Warning: Cannot modify header information – headers already sent by (output started at /home/disiern/public_html/enblogeo/foro/my-plugins/bbpress-adsense.php:39) in /home/disiern/public_html/enblogeo/foro/bb-includes/pluggable.php on line 160
how can i solve this??
@nateolsen, I just added ALL 3 databases into ONE database, like such:
database_name (holding all three)
bb_forums
bb_posts
bb_privatemessages
bb_tagged
bb_tags
bb_topicmeta
bb_topics
mw_archive
mw_categorylinks
mw_externallinks
mw_filearchive
mw_hitcounter
mw_image
mw_imagelinks
mw_interwiki
mw_ipblocks
mw_job
mw_langlinks
mw_logging
mw_math
mw_objectcache
mw_oldimage
mw_page
mw_pagelinks
mw_querycache
mw_querycachetwo
mw_querycache_info
mw_recentchanges
mw_redirect
mw_revision
mw_searchindex
mw_site_stats
mw_templatelinks
mw_text
mw_trackbacks
mw_transcache
mw_user
mw_user_groups
mw_user_newtalk
mw_watchlist
sk2_blacklist
wp_bad_behavior
wp_bas_log
wp_bas_os
wp_bas_pages
wp_bas_refer
wp_bas_searches
wp_bas_ua
wp_bas_visitors
wp_bbpress_post_options
wp_bbpress_post_posts
wp_categories
wp_comments
wp_link2cat
wp_linkcategories
wp_links
wp_options
wp_post2cat
wp_post2tag
wp_postmeta
wp_posts
wp_secureimage
wp_sk2_logs
wp_sk2_spams
wp_tags
wp_tag_synonyms
wp_usermeta
wp_users
Of course, used the normal database prefix for each one specifically.
It was mentioned though, that for the mw_ ones, you didn’t have to use the “mw_” prefix for when trying to mesh with bbpress/WP.. but, to play it safe, I used the default “mw_” prefix anyway.. Choice is your’s really..

@mozey, nice!! I’ll have to try that out sometime, well, when I get more time.
Thanks for tips and pointers!

spencerp
By default, the bbpress-integration.php plugin that you are using in WordPress brings over the registrations from bbPress and gives them the default role that you have for WordPress. That would mean that if they are given author status then that would be the default role for new members in WordPress. Maybe check that out.
I tested this on my test forum and then changed the default role from subscriber to admin and sure enough the new user that I created came across in WP as an admin.
Trent
I’ve done some searching around the forums regarding this issue; haven’t found anything sim. to my problem though – is the error on my side?
I’ve set up wordpress and bbpress on my sandbox apache server and enabled sharing accounts between wordpress and bbpress. When I create a user on the wordpress end, that user gets correct status in bbpress. However, when I register a user through bbpress, it gets far too high privileges on the wordpress side (author)!
I’d like to manually set new users to read-only on the blog side of things.
How can I prevent this?
Hmmm… I am going to have to dig into this a bit later. It looks like it is going to take some work. I am actually trying to integrate product advertisements that I have set up in wordpress to be pulled into my forum template. Not exactly sure how to do it. At first I imagined that I would create another directory in the root that both WP and bbP could share from, but I will have to check into this later.
It would be awesome if WP and bbPress could share includes seamlessly.
Anyhow, I have to get back to building the actual forum before I get caught up and miss our goal.
If any other ideas or etc. come up, please share.
Thanks Trent!
Orion
I am not really the best one to answer on this particular issue, so I appologize in advance, but if I understand what you are asking based on previous information in post, /bb-includes/function.php has all the different bbPress functions to call and template-functions.php have specific template related calls.
If that is useless information because I am not quite understanding, I would imagine Ardentfrost or someone else should be along with a better answer.
Trent
I would just use the full path on the server:
<?php include
('var/usr/www/yourdirectory/whatever.file'); ?>
That should work shouldn’t it?
Referencing this post
Trent
I am trying to use a call to navigate to the root directory in order to call on an include that is located in a directory outside of the bbPress directory.
Is there anyone out there who could help me with a BB PHP command that will bounce me back to the root directory. I tried…
<?php include('../../etc/etc'); ?> with out results.
So, any suggestions or ideas would be greatly appreciated.
All the Best,
Orion
On my setup, (different system, same concept),
i used a centralized mysql table which contains a mesh of all of the variables of all systems!. The reason wy i did that is, some of these usertables contain information which would change the bahaviour of the software, such as roll, last login etc. SO its not a mater of authentication and session ONLY. You also need the other stuff!!!.
i ALSO used a single portal for signup/signin. THIS SHOULD NOT BE SCARY (assuming that thinking does’nt hurt your brain). A good IDE will get everything done for you (search replace globally, find all instances of a function etc).
I reccomend http://www.eclipse.org/downloads/ as an editor, and use PHP IDE as an ide ontop of eclipse. Be patiant, if you have’nt installed before, it could be a bit strang, but do take a better part of a weekend to figure out hw it works. TRUST ME, php will be your bizatch afterwards
Np dude,
Think I am going to release a tutorial when releasing the plugin, explaining how people can add their plugin(page) to the menu. THinks thats the best approach for now!
Spencer, was just hoping for a quick clarification on all this: Did you use the same MySQL database for everything? In the thread here you use terms like “MediaWiki database” and “WP database,” but I’m wondering whether that actually just means the MediaWiki tables and the WP tables, all contained in one MySQL database. Do tell. 
Thanks,
Nate
I was referring to scale. Unless it’s in the core, it’s too large to expect others to make their code friendly with your code. If you have a thousand plugin authors and 10% of them do that, it just seems unreasonable that the other 900 will add 100 different things to their code to be friendly with other plugins. And if those 10% each write multiple plugins that way, it’s even MORE things the other 900 have to add to all their plugins.
It’s nothing against YOU, it’s just that you have to think about scale, and what you’re asking isn’t scalable.
I forgot to give a big thankyou to jaim3! Thanks mate! Your script just made life a million times easier for me!
Cheers!
to run a script to convert phpbb2 data to bbpress i had to add add this handler to the .htaccess folder in the root of my site:
AddHandler application/x-httpd-php5 .php
That got the script running, but then I was unable to access my bbpress install. I’d receive:
Cannot select DB
So I took the “AddHandler application/x-httpd-php5 .php” out and it seems to work perfectly.
Phew!
Does that mean that bbpress doesn’t work with php5?
cheers!
Adam Teale
kickass! yes our server was set by default to php4. The server guys said:
We have checked our server logs. The reason for the issue is not related to the memory limits for your account.
The file_put_contents() function is only available in PHP 5.
By default our servers handle any requests to .php file through the PHP 4 interpreter. By default the PHP 5 interpreter processes only files with .php5 extension.
If you want to change this in a way that .php files are processed by the PHP 5 interpreter you should put the following line in your /www/blog/.htaccess file:
AddHandler application/x-httpd-php5 .php”
I’m trying to amass a list of links to sites related to bbPress (authors’ sites, info, etc) for the website. If you have a site of that nature, you can email me, or post it here to be added.
<?php bb_stylesheet_uri(); ?> does work for me!?
Anyways, you can also do something like following I did in bbpress-mobile plugin:
<?php $stylesheet = (bb_get_option('uri') . 'my-templates/mobile.css'); ?>
<link rel="stylesheet" href="<?php echo $stylesheet; ?>" type="text/css" />
Trent
mdawaffe,
I’m sorry, I just saw your request today, so I was not able to give your suggestion a try, but it looks like the issue was resolved.
I have been focusing on our templates for our WordPress site the last 2 weeks, but now I am back in the mix to get our forum up and running.
Its good to be back @ bbPress.
All the Best,
Orion
Hey Community,
I am trying to link to an image in the “my-templates” directory for my bbpress template. When editing templates in WordPress I used:
<?php bloginfo('stylesheet_directory'); ?>
Is there something similar that I can use for bbPress?
I tried:
<?php bb_stylesheet_uri(); ?>
& it didn’t work.
Anyhow, any help would be greatly appreciated.
Thanks,
Orion
unreasonable request….. ow sorry
Perhaps, but if you’re looking for ease, it’s WAY easier to get the user to add what they want than to ask all plugin creators to add variables into their plugins. The second request is probably unreasonable even… especially when bbpress REALLY takes off and there are 98120948124 plugins available.
Yeah, I’ve got that. Seems like this might be something to add to the next version of that plugin.
Anyway, thanks again Atsutane for your great plugin and the fast updates!