Search Results for '"wordpress'
-
Search Results
-
Topic: Redirect Login target parent
Hi I am integrated with wordpress and am using the bb_press login to handle the users login and registration. The login is housed under the wordpress roof, meaning I want to blogs look but with the bbpress login. So I placed an iframe between header and footer for when they click login.
Well, My problem is that from this iframe I don’t know how to get bb-login.php to target the parent when its done and not stay within the iframe. And yes, I need the iframe, how else could I use the bbpress login while still making the users feel they are within the confines of the blog?
Help please! Did I post in the right forum. If not help me know where to post so I get help quick!
Thanks a million in advance!
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 ( http://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?
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

Cult like it is, this “choosing software before you know software” business and frame of mind!