Search Results for 'code'
-
Search Results
-
I’m trying to protect page on another subdomain… but unfortunately bbPress is not authenticating the cookie. (they are set for .domainabc.net)
for test.domainabc.net:
Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc
for forums.domainabc.net
Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dcon test.domainabc.net i have something like this:
require_once ('../forums.domainabc.net/bb-load.php');
function add_allowed_redirect_hosts() {
$allowed_redirects = array('test.domainabc.net');
return $allowed_redirects;
}
add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');
bb_auth( 'auth' );It will properly redirect to the login page, enter info, redirect back to test.domainabc.net – but then it will issue another 302 redirect back to forums.domainabc.net.
and if i place a die statement within this
bb_auth
else on test.domainabc.net it will echoif ( 'auth' === $scheme && !bb_is_user_logged_in() ) {
//redirects fine to login page the first time...
} else {
//echo - this happens when returning a 2nd time
}BUT… if i return to forums.domainabc.net i’m logged in… and everything works.
Hi,
I did not see information on how to upgrade from 1.0-alpha-x to 1.01. Are there any problems? Someone already did this?
I’ve bbPress 1.0-alpha-2 with WP integration (v. 2.
SMS
Fistly excuse my english ….
Hi, i have integrated bbpress inside my wordpress installing on the same database.
The problem is that i have made all the integration except the user relation, so now i can logon like admin user on bbpress but i can’t change nothing
it seems to be a normal user
Can i do manually (changing the database) to assign admin user as administrator ????
Is there a way to display the Forum name + link in the Topics list?
I tried with:
<a href="<?php forum_link(); ?>"><?php forum_name(); ?></a>
, but it doesn’t seem to work outside the loop.What I am trying to achieve is simply to have the name of the forum in the Topic list, so that one can view in which Forum that particular topic belongs, and be able to click on that link, if possible, to get to that forum. (But just the name would be already great).
I really think that this is some bit of useful information when a user scans the list.
Thanks for letting me know if you gor the right code in your pocket and to share it with me.
Topic: Pagination bug?
A funtion on a homepage of a blog
<?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
generates errorous output. On page 2 (and followings) it outputs:
<div class="nav"><a class="prev page-numbers" href="" title="Poprzednia strona">« Poprzednia</a><a class="page-numbers" href="" title="Page 1">1</a><span class="page-numbers current" title="Page 2">2</span><a class="page-numbers" href="/page/3" title="Page 3">3</a><a class="page-numbers" href="/page/4" title="Page 4">4</a><a class="next page-numbers" href="/page/3" title="Następna strona">Następna »</a></div>
The problem I can see is href=””
Is there any solution to this?
bbPress used: 1.01
Is there a way to dispaly the Author of a topic in the Latest Discussions list and in the Topics list?
I mean, every other forum got this feature, and I think that viewing the Author of a Topic in the list is very useful and needed for a forum, as you may want to know WHO posted that Topic, without having to click on it to see who’s the first post. Right?
Still, I didn’t find this feature enabled on any bbPress forum.
For me it’s just so weird.
So, is that a way to get the template code?
Thanks.