Search Results for 'bbpress'
-
AuthorSearch Results
-
February 8, 2007 at 10:46 pm #1369
Topic: User Type problem
in forum Installationpg2design
MemberI tried something… I changed the User Type to Blocked for the main user, the only user… And it worked… I couldn’t use bbpress anymore…
Is this a bug? The user shouldn’t be able to disable itself…
February 8, 2007 at 10:38 pm #54217In reply to: The Display Name stopped working
zapata
MemberTrent… don’t remember where I picked it from it’s called the Force-login… did someone here give me the code and I copied and pasted it… not sure… here’s the code…
<?php
/*
Plugin Name: Force Login
Description: No one can see your forums unless they are logged in.
Plugin URI: https://bbpress.org/forums/topic/117
Author: Michael D Adams
Author URI: http://blogwaffe.com/
Version: 0.7
*/
function force_login_init() {
if ( !bb_is_user_logged_in() && false === strpos($_SERVER['REQUEST_URI'], 'bb-login.php') ) {
if ( file_exists( BBPATH . 'my-templates/login.php' ) ) {
require( BBPATH . 'my-templates/front-page.php' );
} else {
require( BBPATH . 'bb-templates/front-page.php' );
}
exit;
}
}
add_action( 'bb_init', 'force_login_init' );
?>Haven’t checked it the bbpress-integration (bbpress-wp same users share) is working or not.
February 8, 2007 at 10:36 pm #54216In reply to: The Display Name stopped working
Trent Adams
MemberHmm…if it is this one, it might be tougher for me to figure out without help!
https://bbpress.org/plugins/topic/27?replies=1
Trent
February 8, 2007 at 10:23 pm #1368Topic: The Display Name stopped working
in forum Installationzapata
MemberUpgraded to the lastest bbPress and find that the display name has stopped working… was using the display-name plugin… for this
February 8, 2007 at 9:45 pm #1367Topic: bbPress doesn’t see my custom theme
in forum TroubleshootingMichael Adams (mdawaffe)
MemberOr maybe you see “Theme not found. Default theme applied.” in the Presentation Admin panel.
Your custom templates must go into a subdirectory of
my-templates/. Like
my-templates/my-hot-theme/
This is new in bbPress 0.8.
February 8, 2007 at 9:41 pm #54204In reply to: default templates being used
Michael Adams (mdawaffe)
MemberPlease don’t put anything in bb-templates! This will be problematic for you later.
Put your templates in a subdirectory of my-templates/
February 8, 2007 at 9:11 pm #54176In reply to: Forums closing at 11am PST
Michael Adams (mdawaffe)
MemberRight here: https://bbpress.org/download/
February 8, 2007 at 9:10 pm #1364Topic: bbPress 0.8 “Desmond” Released!
in forum InstallationMichael Adams (mdawaffe)
MemberPOT file available for translators: http://svn.automattic.com/bbpress-i18n/pot/tags/0.8/
February 8, 2007 at 9:03 pm #54139In reply to: Unique Style Sheet?
macwise
Member“Maybe a few release templates for bbPress then “
is that a question, (or rather a request)?
February 8, 2007 at 9:02 pm #54184In reply to: Download Away Folks!
Trent Adams
MemberFebruary 8, 2007 at 8:59 pm #54138In reply to: Unique Style Sheet?
Trent Adams
MemberGlad to here! Maybe a few release templates for bbPress then

Trent
February 8, 2007 at 8:38 pm #54136In reply to: Unique Style Sheet?
Trent Adams
MemberIt seems goofy to be discussing WP on a bbPress forum, but this is important for theme integration between the 2. Here is my login form in my sidebar (well ex sidebar as I use wordpress.com now). I use a conditional to welcome the user or display the login form.
<li id="login">
<?php
global $user_ID, $user_identity;
get_currentuserinfo();
if (!$user_ID):
?>
<label for="s"><?php _e('Login:'); ?></label>
<ul>
<li>
<form name="loginform" id="loginform" action="<?php echo get_settings('siteurl'); ?>/wp-login.php" method="post">
<div><label><?php _e('Login') ?>:<br /><input type="text" name="log" id="log" value="" size="15" tabindex="7" /></label><br />
<label><?php _e('Password') ?>:<br /> <input type="password" name="pwd" id="pwd" value="" size="15" tabindex="8" /></label><br />
<input type="hidden" name="rememberme" value="forever" />
<input type="submit" name="submit" value="<?php _e('Login'); ?> »" tabindex="9" /><br />
<?php wp_register('', ''); ?>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/></div>
</form></li>
<li><script type="text/javascript">slvBanner();</script></li></ul>
<?php
else:
?>
<label for="s">Welcome <?php echo $user_identity; ?>!</label>
<ul>
<?php wp_register(); ?>
<li><a href="<?php echo get_settings('siteurl') . '/wp-login.php?action=logout&redirect_to=' . $_SERVER['REQUEST_URI']; ?>"><?php _e('Logout'); ?></a></li>
</ul>
<?php
endif;
?>
</li>Trent
February 8, 2007 at 8:05 pm #54134In reply to: Unique Style Sheet?
Trent Adams
MemberRon,
Having the sidebar on the side of bbPress I guess is something I have never tried to do. I guess there is no reason why it wouldn’t work. With the integration plugin, all registrations of bbPress become WP registrations so I don’t think it matters if they register in bbPress or WP as they all become WP users (and obviously bbPress users as well).
I have the login box in WP in the sidebar, so whatever page I am on when I login at, it stays on that page. That is the only way around it regardless of WP version. If you integrate the sidebar into bbPress theme, I would imagine the same would happen on that side as well.
Sorry, what other questions did you have as I am posting pretty quickly here….lol
Trent
February 8, 2007 at 7:58 pm #54133In reply to: Unique Style Sheet?
macwise
MemberOnce again, I think this is done by default. WP has its theme and content. bbPress has its theme and content.
As usual..more details.
I am really trying to use elements from wp on the bb side, such as sidebar…so I’m calling
<?php get_sidebar(); ?>on pages like this one:
http://babyquestions101.com/forum/
However, I have so many questions as to how to handle the login box in sidebar…Should it:
– Go to BBPress login/register page always (wp or bb)
– Go to WP login/register page always
– Go to respective login/register pages depending on which side the click originated?
Then, depending on that configuration, redirect questions ensue.
I know this is probably a matter of preference, but I’m indifferent, and wondering what will overall be the best solution for the user. Any suggestions will be greatly appreciated.
– Login Redirects to last visited page
It seems to me that if you are integrated, both bbPress and WP use the wp_users table in the database so wherever you login will be redirected to the last visited page (as both programs do this now). It is easy to have th login in the header.php of your template in bbPress and just adding the login box to WP in sidebar also has login on every page.
I have already made a tweak to the redirect in wp-admin to go back to the homepage in wp. I did this because it was redirecting to the profile.php page when a user logged in, instead of to the last page they were visiting. Is that the default behavior, or did I miss something? I am on wp v.2.0.5, so maybe something has changed in version 2.1 which changes this behavior?
Ron
February 8, 2007 at 7:55 pm #54163In reply to: Drupal Forum to bbPress
mrpapasworld
MemberHey Trent, please try to keep in mind some phpBB implementations are actually in php-nuke, which is slightly diff… I would love to convert my last few nuke sites over to something else, but the hold up has always been the forums… a conversion to bbpress might solve that…
thanks…
February 8, 2007 at 7:39 pm #54178In reply to: SHWEEEEET!!! 8,888.88888?
macwise
MemberIt’s better than Christmas…
But really, I have to say that even though I am much more familiar with phpbb, and even though it has a (currently) larger, more active community, and even though there are many more features, I chose to stick with bbpress to integrate with wordpress.
First of all, the integration process, though buggy now, will no doubt only get simpler and cleaner. I also expect to soon see the types of features that I need, and a shortage of the code that I can do without.
In fact, my decision may even have been in part due to the “code is poetry” which is written at the bottom of each page, but more importantly in the code. I’m excited to see the developments, and would even like to get to the point where I can lend a hand to the community like others are.
February 8, 2007 at 7:36 pm #54167In reply to: bbPress forums struck by bbPress bug!
Null
MemberHooray!!!
February 8, 2007 at 7:35 pm #54166In reply to: bbPress forums struck by bbPress bug!
Michael Adams (mdawaffe)
MemberMagically fixed by the power of 0.8!
February 8, 2007 at 7:35 pm #54173In reply to: Forums closing at 11am PST
Michael Adams (mdawaffe)
MemberIt was a bug!
February 8, 2007 at 7:33 pm #54172In reply to: Forums closing at 11am PST
Trent Adams
MemberWhat did you do to get the extra grey box above the username and profile information in the past 2 minutes? I haven’t looked to close, but need to do that on the bbPress forums theme release. (Maybe email the one you are using instead)

Trent
February 8, 2007 at 7:31 pm #54132In reply to: Unique Style Sheet?
Trent Adams
Member– Login Redirects to last visited page
It seems to me that if you are integrated, both bbPress and WP use the wp_users table in the database so wherever you login will be redirected to the last visited page (as both programs do this now). It is easy to have th login in the header.php of your template in bbPress and just adding the login box to WP in sidebar also has login on every page.
– Display selective content based on which side the user’s on (bb vs wp)
Once again, I think this is done by default. WP has its theme and content. bbPress has its theme and content.
– I seem to be having some issues with relative paths? (Actually, I think I may have just figured this out, and I may just be dumb)
Relative paths are easy to figure out, we can go into this more if you didn’t get it.
– Some other thing I’ll ask about in 7 minutes or less, I’m sure…
Shoot. That is what we are here for.
Trent
February 8, 2007 at 7:06 pm #54131In reply to: Unique Style Sheet?
macwise
MemberThanks again. Hey, since I have you here, maybe I can ask you a quick one…I’m looking for a way to display content solely based on whether it’s a wordpress page or a bbpress page. For instance, I would like to have the login controls for the wordpress site be in the sidebar when wp is loaded, and the bbpress controls there when bb is loaded.
I imagine it wouldn’t matter which way the user logged in, but there are a few things I would like which I haven’t been able to achieve due to the way I have to put absolute path for redirects, etc. Here are the features I need, maybe you can suggest a more elegant solution for them?:
– Login Redirects to last visited page
– Display selective content based on which side the user’s on (bb vs wp)
– I seem to be having some issues with relative paths? (Actually, I think I may have just figured this out, and I may just be dumb)
– Some other thing I’ll ask about in 7 minutes or less, I’m sure…
I’m a beginner, but not a newb. (anymore). I feel I am getting a pretty good grasp, but I still get confused now and again. Thanks for any feedback you can give.
February 8, 2007 at 6:50 pm #54165In reply to: bbPress forums struck by bbPress bug!
Null
MemberGhehehe
February 8, 2007 at 6:41 pm #54164In reply to: bbPress forums struck by bbPress bug!
Trent Adams
MemberUpcoming eh….

Trent
February 8, 2007 at 6:29 pm #52299In reply to: Plugin – Private Messages
ardentfrost
MemberLooks like the table is there and you’re running into the WPMU bug that I believe Trent and/or spencer talk about in this thread.
Actually, spencer posted a fix for it here :
https://bbpress.org/forums/topic/401/page/2?replies=66#post-2733
Sorry about the bug. I highly suggest upgrading to .80 as soon as that version of bbpress is released. It addresses that issue.
-
AuthorSearch Results