Hello,
I would like to have bbPress in two languages, using the same forum DB. So when viewing in language 1, the forum’s interface would be in language 1 with all the postings listed, and in language 2, the interface would be in language 2 with the same postings listed.
I plan on achieving this with bbPress theme switcher ( https://bbpress.org/plugins/topic/bbpress-theme-switcher/ ) and the link to switch between the themes/languages would be /bbpress/?bbtheme=lang1 and /bbpress/?bbtheme=lang2
I would also like to set up a php page at the root of the web domain to auto-detect and forward to the appropriate mediawiki language page based on
1) user’s browser language preferences if this is a first time visit
2) last connection’s languages preferences, which would be saved in the form of bbPress’s theme preference cookie.
with a file structure of
/blog
/blog/bbpress
/blog/wiki
/langdetect.php
My code so far is:
?php
/* langdetect.php */
$defaultlang = ‘en’
$lang = $defaultlang;
/* bbPress theme cookie detection */
if cookie exists {
(read cookie and set $lang to either en or ko.. bla bla)
}
/* WordPress and/or MediaWiki last visit language detection */
elseif previous visit info exists {
(i’ll figure this out later)
}
/* detect in-browser lang pref … modified from http://kaldung.com/en/php_detectbrowserlanguage.html */
else {
$langlist = explode(‘,’, $_SERVER);
foreach($langlist as $curLang) {
$curLang = explode(‘;’, $curLang);
/* use regular expression for language detection */
if (preg_match(‘/(ko|en)-?.*/’, $curLang[0], $reg)) {
$lang = $reg[1];
break;
}
}
}
/* redirect */
if ( $lang==’ko’ ) { header( ‘Location: http://ENGLISHPAGE’ ) ; }
else { header( ‘Location: http://ENGLISHPAGE’ ) ; }
?>
How can I read the bbPress cookie that contains the Theme Switcher theme preference?
The “Hot Tags” list on my forum homepage is not updating with newly added tags. It’s been stuck with the same tags for a while now. Any ideas why this is happening and ow to fix it?
http://geek.thinkunique.org/bb/
Thanks,
Jon
On my installation logout does not appear when the user is logged in (http://www.fallforthebook.org/bbpress). When the user isn’t logged in, login appears but only when they try to reply to a topic. Did I break something in the installation or is there a way to make logout/login appear on every page? (a plugin, maybe?). Thanks!
There are a couple place where bbPress uses the word “wanna” as in “are you sure you wanna do that”. I’d like to change that to something more professional, like “want to” but I don’t want to change the core. How can I accomplish that with a plugin?
Using bbPress Alpha trunk (but this “wanna” wording has existed for a long time, maybe back to 0.73). The word wanna can be found in these files:
./bb-includes/js/topic.js
./bb-includes/functions.bb-script-loader.php
./bb-includes/functions.bb-script-loader.php
./bb-includes/functions.bb-template.php
./bb-includes/functions.bb-template.php
Thank you.
I thought I only needed to use CSS to STYLE a theme, but just found out SMF require a fair bit of php just to style a theme! I wasn’t wanting to PROGRAM the thing, just style a pre-existing template.
Can I just ask, and I could be totally mad here, if there’s a way to create a basic html bbpress template “thingy” that could sit in Dreamweaver and let me do all the CSS in DW, and then just copy & paste that CSS into the right spots in bbpress?
The error page that comes up if a post no longer exists, or in my case if a user is logged out but is trying to do certain things… it comes up and is a big green box with the bbpress logo…
Well, I found where to edit the page… in install.css. But, does anyone know where I can edit the page title.
UPDATE: I figured it out. It is in the functions.php file in the bb-includes directory.
Hi all,
I just found out that SMF can have ADMINS hit a few buttons and over-ride all user preferences regarding for “reply to thread” email notifications. I personally love email notification, and think that systems that rely on RSS are just creating far too much work. Can BBpress set up something like this so that all users receive email notification re: replies? SMF can set it up so that each current user and all future guests and future users will receive email notification on any thread that is replied to.
You might not think it’s a good idea, but personally I think it’s so important it’s something I would remove from BBpress’s plugins and have straight in the core.
How can I get my bbpress header image to link to my wordpress home page?
Hi,
I am new to bbpress but have been using WP for sometime. The main reason why i changed to bbpress it to make my users register at one blog and use it to login to bbpress.
I want to know
1) is it possible to intergrate ONE WP 2.7 blog.
2) is it possible to intergrate 8 WP 2.7 blogs.
3) Also is it possible for users to register on ANY of the 8 BLOGS can login to ONE bbpress forum.
Please answer this, it will help me a lot.
Thanks and Regards
Paul Joseph
I just did a new installation and none of the email functionality is working… new user registration password email, password reset email etc. I’ve gone through any old posts on this forum that discuss this issue and I still don’t see any resolution… I’ve done the email patch plugin and made edits to the pluggables.php file wherever suggested but nothing. So I thought I’d make one final attempt to see if anyone has resolved this issue yet. I *think* the cause might be due to the installation being on an IIS server… unfortunately, that’s the only option I have at this point.
I’d really like to use bbpress but without this email functionality, it’s pretty much useless.
Any new thoughts would be appreciated.
Thanks.