Forum Replies Created
-
In reply to: 404 upon innstall
I was going on memory and I guess 30 years old I lost it…..
https://bbpress.org/documentation/faq/#pretty-permalinks
Trent
In reply to: 404 upon innstallI would imagine that you have the following in config.php:
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;Maybe change that to the following until you get the install up and running:
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = false;After that, head over to the documentation => Custimization = > Permalinks of the navbar at the top.
Trent
In reply to: The Display Name stopped workingI am sure Micheal can fix this quickly, but maybe try this until he gets around to it:
<?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/kakumei/front-page.php' );
} else {
require( BBPATH . 'bb-templates/kakumei/front-page.php' );
}
exit;
}
}
add_action( 'bb_init', 'force_login_init' );
?>I just hardcoded the new template directory. Not a long term fix. mdawaffe will have a fix soon enough!
Trent
In reply to: The Display Name stopped workingThere is no reason why it will not. Mine is working and has been since the functions of 0.8 began in TRAC and continue on with the upgrade to 0.8 today.
Trent
In reply to: User Type problemYou are right. You shouldn’t be able to do that, but I would imagine you were the first to ever try it! Probably wouldn’t come up much as usability issue, but maybe put up a TRAC ticket:
Trent
In reply to: The Display Name stopped workingI have several plugins with 0.8 and the integration plugins work fine. Memberlist, Private Messaging, (this one) and a few others. Only ones that reference the templates or specific files in themes….rest work fine.
Trent
In reply to: The Display Name stopped workingWhat is your theme name….we can fix this in a hurry for you! Is it the default theme now?
Trent
In reply to: The Display Name stopped workingHmm…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
In reply to: The Display Name stopped workingPost a link to the plugin you are using or the code for it. We can fix it quickly here for the login only plugin. The display name is on the plugins site. We can fix that one after fixing your Important issue first.
Trent
In reply to: default templates being usedSo changed files still will work then! That is nice to hear!
Trent
In reply to: default templates being usedI didn’t know you could drop the folder into my-templates as well. Interesting…that might be a better solution! Thanks for the 411. Does it need to be a complete folder then or just changed files? I didn’t even bother testing that out! ?
Trent
In reply to: default templates being usedWith 0.8, we still use the my-templates and my-plugins directories. What you need to do is create a directory for your theme that you have and put it in the my-templates directory:
/root directory/my-templates/your-theme/
Then, what I did was copy all the files from the default theme into my directory folder that I hadn’t changed to make a complete template folder. For example, if you changed only style.css, header.php, front-page.php and footer.php, then copy the rest of the files from the default template into that folder as well.
Once you have all those files in your theme directory, go to the admin => presentation => and pick your theme! It works pretty slick. You may want to take a snapshot of your theme and upload it so that the admin area knows which one it is! Uploading a snapshot with the name screenshot.png should do the trick!
Trent
EDITED NOT TO START CONFUSION!
In reply to: Unique Style Sheet?Just kidding around with a proven web developer! Nothing more!
Trent
In reply to: Download Away Folks!In reply to: Unique Style Sheet?Glad to here! Maybe a few release templates for bbPress then
Trent
In reply to: Unique Style Sheet?It 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
In reply to: Unique Style Sheet?Ron,
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
In reply to: SHWEEEEET!!! 8,888.88888?Most likely today. The release on this support forum is the final real ‘test’ before it becomes a final release. I would imagine after a few tweaks, the STICKY will appear with the release.
Trent
In reply to: Forums closing at 11am PSTSent in an email about missing sytlesheet for plugins area as well btw
Trent
In reply to: Forums closing at 11am PSTWhat 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
In reply to: Unique Style Sheet?– 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
In reply to: Forums closing at 11am PSTI just about ran the upgrade script myself…..thought you better do it though! (0.8 RC3 though…)
Trent
In reply to: Forums closing at 11am PSTExcellent mdawaffe!
Trent
In reply to: Unique Style Sheet?I did the search from your profile to the links for your family site, personal site and obviously the link you gave above. I am sure there are more that you have done, but you have a great way with color mixtures. That is impressive!
Trent
In reply to: bbPress forums struck by bbPress bug!Upcoming eh….
Trent