I’m trying to integrate bbpress into a custom WP theme I’ve made myself. I downloaded a theme that seemed perfect for me to start from, essentially a sandbox-esque theme. I got it from here (scroll down to 1col_fixed, there’s really no working direct link). I edited some files (header.php, footer.php, and front-page.php) and got EXACTLY the look I wanted. It looks fantastic with my site.
However as soon as I stray off the main page, it starts looking hairy. There are NO files to edit so that I can change the forum list view, the topic view, or any other page. The readme file says the following:
bbPress themes can be kept mean and lean. bbPress will pick up any missing mandatory
template files from the default template. Use this to keep your themes simple.
Yes, well, what if I need to customize THEM? Where do I get these files to edit them? Or would it, after all, be easier to start from a different theme?
Thanks… the sooner someone can get back to me on this, the better; I’m kind of on a tight schedule!
You can use CyrNickName plugin (it’s fine with 1.01). I use it for UTF8 usernames. It’s PITA that bbPress does not support it by default.
I’ve just notice that is no .htaccess by default in the forum directory – Should there be?
Check out https://bbpress.org/documentation/themes/
Basically you’ll make a new theme, but bbPress acts like a child theme, in that if you don’t specify something, it uses the default from the Kakumei templates. Once you get in there, it starts to make sense and feel elegant.
In any case I think it would be wrong to pimp Gravatar in the actual default theme.
I wouldn’t call it “pimping Gravatar”, but “helping bbPress forum users”.
bbPress is pimping Gravatar already by including it in the core software. Adding information about a core service in the theme seems reasonable to me. Themes are there to be edited. If someone doesn’t want to “pimp gravatar” they can easily remove it.
Actually, it’d almost be nice to be able to tie Gravatar into your board so that when someone goes to change their avatar, it backends the whole deal to Gravatar. Imagine: Changing your gravatar from any enabled site, without having to login. And being able to pick which gravatar for which site…
There was a discussion about this over at WPTavern.com recently. It would be terrific if someone built that functionality. It doesn’t seem to be a particularly trivial task though unfortunately.
You can make a directory called my-plugins (and might as well make my-templates at the same time) and then upload them with your FTP program. Some FTP programs will allow you to create a new directory on the remote host by right clicking, as well. If you have shell access to the host, you can make directories there as well (but I suspect you don’t based on your questions.) And, 1.0 comes with those directories by default now.
In any case, glad you got it sorted. These instructions are for anyone else who might need help.
I don’t think the issue is connected with modrewrite. I also tried turning just every possible plugin off, using default theme… and the pagination is still off. Please could someone help? Maybe I could use a different function?
Well the other issues don’t really have error messages. One is reputation plugin didn’t work at all. Couldn’t add or subtract points from the user also wanted to change so that points were not added for merely making a posting. In regards to avatars some seem to work and not others. Others have a little ? by the name so its like an image was selected but no image displays. What we want is either a selected image or the default image that is used in this forum.
The site in question is CanadianRugby.ca
Cheers
You can change that in post.php file of your theme. If you don’t have it then copy the file of default theme in your present theme and edit it as per your need.
Ashfame,
Thanks for replying. Here’s some more details that might resolve the problem after reading your tutorial.
I have WordPress and bbPress installed on separate databases. I know bbPress is connecting to the WP user tables because when I add a user I see it added on the bbPress side.
I did not change the default table prefixs for WordPress or bbPress per your tutorial.
On the bbPress WordPress Integration page I have all the fields filled out except the following:
– secure auth cookie salt
– WP MU Primary blog ID
– User database “user” table
– User database “user meta” table
Let me know if think the above items maybe the cause. Thanks.
yes, I did. and I checked again with the new default template, still not working. so it can’t be really a theme issue, or?
edit: yes, my theme is in the my-templates folder (now)
You also need to change bb-admin/includes/defaults.bb-htaccess.php appropiately and regenerate permalinks.
Hey there,
Currently running 0.9.4 of BBPress and the installation was from several months ago before the new update. However I would like to avoid having to update BBpress to the new version as mine is linked with Word Press. Would there be an issue if I upgraded BBPress with WP linked with it, without updating Word Press?
Anyway, the forum was originally a different forum and alot of users lost their original usernames and it defaulted to their original username. The users want to be able to change their usernames back to what they were before without loosing all the posts linked to them. So is the only way to do that to upgrade BBPress? or go in manually and change it in the database?? There are alot of users that need their names changed.
Thanks,
Adam
I’ve noticed that when I’m commenting on bbpress.org, there’s also a “tags” field.
Does that allow me to tag the topic itself? Or just my individual post? Or maybe the goal is to encourage commenters to help tag the topic?
Wondering if this is a new option or if it’s always been there but just off by default (it doesn’t show up on my 0.9 installs). I worry that it would be slightly confusing for new users… but thought I’d check what everyone else thought!
Curiously if I write the code in “functions.php” that break my login/logout/edit profile page and display a blank page. I have moved the code in “my-plugins” and no issue now.
Thank you for your information and your patience _ck_, I will try to solve my last problem by my self.
Edit: solved with :
foreach ($results as $result){$list.=" ".bb_get_avatar($result->ID, 20, $default)."<a href='".bb_get_option('uri')."profile/".$result->user_login."'>".$result->user_login." </a>";}
Which version of bbPress are you using?
If you have phpMyAdmin access, then open the usermeta table (should be bb_capabilities if you are not using shared user tables and should be wp_capabilities if you are using shared tables) and change the value of bb_capabilities to a:1:{s:9:"keymaster";b:1;} for your user.
Hope that helps.
P.S. – Change the default table prefixes as your case may be.
Hi,
I want to add a link to the profile page:
foreach ($results as $result){$list.=" <li class='list_b'>".bb_get_avatar($result->ID, 25, $default)."<a href='" .$result->user_profile_link. "'>".$result->user_login."</a></li> ";}
I tried .$result->user_profile_link., but it doesn’t work, any idea ?
Thank’s _CK_ !!
But, your code doesn’t seem to work in bbPress 1.0 (I tried to add it in functions.php or directly in topic.php).
However I have no problem if I add your code in bbPress 9.0 theme.
I want to add ” <?php echo bb_get_avatar( $poster_id->ID, $size , $default); ?> ” in your code, but I can not ?
Try activating the default Kakumei theme and deleting a tag, just to be sure?
If that doesn’t work, it could be a bug with v 1.0… in which case, please post the report to trac!
Someone reported a similar issue:
https://bbpress.org/forums/topic/bbpress-10-released#post-37903
Apparently some themes use AJAX to delete tags… those are now broken I think?
If you use a default theme like Kakumei, can you delete the tag?
John,
I do not have a WordPress install attached to bbpress. The upgrade went smoothly except for one error that said I already had forums. Other than that, everything seemed to work fine except for the registration. For registration, I am using the plugins “approve user registration”, “terms of service”, and “human test”, but I had deactivated all of these prior to upgrade and then again when testing the default theme.
Just to be sure, try a fresh copy of the default theme and see if it works?
Is this the case with the default theme?
“her worries would have continued for some time if she did have [a Gravatar]. She’d have been desperately trying to remember every single site she’d put her email on to see whether her picture appeared there”
Actually, if all the sites where her avatar appeared used Gravatar, she would only have to worry about changing one image on gravatar.com and the new avatar (or lack thereof) would then be used on all those sites. Gravatar helps alleviate the situation you describe, not make it worse.
In any case I think it would be wrong to pimp Gravatar in the actual default theme. As it exists right now, having Gravatar in the core actually helps people who want to add their own avatar solution by supplying the core replaceable function and the calls to it in the rest of the code. By replacing that one function, a plugin author can remove Gravatar altogether and replace it with something else. Another bonus for me and everyone who volunteers support time is that by using Gravatar we avoid all the issues associated with supporting file uploads in the core.
I still believe that Gravatar should be supported by default in the core, but I think it would be inappropriate to push what is effectively advertising for the service to the front end (in the default theme) and force people to make modifications to remove it. That’s not the idea of having it there at all.