Since you’ve recommended the vote plugin, maybe this question is appropriate here.
I have a buddypress install and added bbpress via buddypress. Where do I have to add the code for the vote plugin? I know it’s in the single forum file, but I can’t find that in the standard buddypress theme.
Hi, would you please give me the code to count post and displays your ad ?
Thank you very much
Today I found this code between the bbp check for flood and the return true. I deleted it and I’m able to post in my forum again.
$throttle_time = get_option( '_bbp_throttle_time' );
if ( empty( $throttle_time ) )
As the title says…is this an option/shortcode in bbp-theme-compat?
Or do I need to create a page template and use some of the functions contained in page-forum-statistics.php?
Hi craftcore, if i would like to put the Country below the user role, do you know what code I can insert in? I am using the User Meta Pro plugin, and the Country field is derived from there. Thanks!
I have a WordPress site (3.4.2) which uses a premium theme that I want to keep. I just activated the BBPress plugin (ver 2.1.2) and created a forum and topic etc. The forum and topic pages appear and look ok, but I would like to customize the template and css that is being used in this. I am finding BBP documentation on this somewhat confusing.
My Plan: I will create my own BBP template based on page.php from my main theme and modify the layout etc.
To implement this new template I create, I am guessing that I can replace $new_template (shown below; code taken from bhp-template-loader.php (wp-content/plugins/bbpress/bbp-includes) with the name of my new template, such as “bbp-new-page.php”). Is this correct?
// bbPress template file exists
if ( !empty( $new_template ) ) {
// Override the WordPress template with a bbPress one
$template = $new_template;
And to modify the css, I can simply hack “bbpress.css” (wp-content/plugins/bbpress/
bbp-theme-compat/css/bbpress.css)?
This approach seems really hacky/inelegant however.
On a slightly separate note, it appears that implementing the steps for theme-compatibility (http://codex.bbpress.org/theme-compatibility) are necessary only if you are going to use a single (custom) theme (or child theme?) for both WP and BBP?
Finding it a little confusing to untangle the methods and their purposes in BBP theming.
Thanks to anyone who can help!
Judy Wilson
Nashville TN
Yes it should display the forum index, but it’s just text with no links. I used shortcodes to create the page and named it Forum (forum.html). Any idea why the forum pages wouldn’t work?
Thesis, and potentially other themes, call filters on the_content in the header. In the case of Thesis this is done to generate page meta etc.
The problem is that this causes bbp_replace_the_content() to fire twice (or more) and on subsequent calls the $first_run variable in the _WP_Editors class is already set, the settings therefore reset to default as the array_merge() is not run, the editor.css stylesheet is not loaded and only a very basic and broken visual editor in rendered in page.
This can be worked around very simply at the beginning of bbp_replace_the_content() with the following check:
if ( !in_the_loop() )
return $content;
Gawain
i installed bbpress inside buddypress and i created a menu for my system(i’m creating a forum like a vanilla forum[exactly like that! even better!]). but i have to change some features of my menu in different pages. in a simple not recommended way i can have my menu codes in every single page. but i can have it in a more modular way! in this case i can have a function who checks which page i’m in so call the particular menu for current active page. i mean sth like this:
if (active page is profile page)
codes for profile page menu
else if (active page is topics page)
codes for topics page menu
The url is set to community and the page the shortcode is on is called Obstructed View Forums with the permalink set to forum.html.
Is the base URL for your forums set to “community” or is that the page you have placed a bbPress short code on?
Hello all. Ive seen that as of 2.1 there are numerous pluggable functions including bbp_forum_class. However upon trying it on my custom theme it doesnt work? I copied loop-single-forum.php to my bbpress folder in my theme folder. I then have bbp_forum_class('clearfix') It doesnt add the clearfix class though? Am I doing something wrong? Any help much appreciated
I would suggest that you read the codex on how to add custom themes, it is too much for a single forum post.
You can always begin here: Step-by-step guide to creating a custom bbPress theme
Happy coding! =)
You should export the entire phpBB database using from the current hosting provider and import it into your new hosting provider, remote migrations are not supported. Each of your hosting providers should have some documentation on how to import and export the MySQL database. You will not need to instal phpBB on your site to import the data, you only need the actual database.
This should also help https://codex.bbpress.org/import-forums/
The ‘default’ phpBB MySQL table prefix is “phpbb_”
Hi Rob
I had a look on your forum and there are no css rules for any link elements which is strange. Try adding this into your css file:
#bbpress-forums .bbp-breadcrumb a { color: #F6AC2C; }
That should make the breadcrumb links go yellow (as an example). If that works you just need to populate the css file with all the link colours manually which you can find by digging around with the code inspector.
If you want to change all link colours quickly and lazily you could just target every link within bbPress like this
#bbpress-forums a { color: #F6AC2C; }
Hope this helps
Hi. All the info you need is here: Theme Compatability
The basics are that you need to make a wordpress theme with bbPress support, so try to think of it as a wordpress theme not a bbPress theme.
bbPress is very flexible and you can theme it in multiple ways, the best starting point is that link I provided.
Hope this helps
Nope:( I couldnt make it work…
i copied codes but couldnt, need some toturial. i am new 🙁
Bump. Does anyone have any ideas of where this would be in the code? Thanks!
See this topic for your 1st problem:
https://bbpress.org/forums/topic/customising-bbp_list_forums-last-poster-block/
I also added some code for you to add some code to your themes functions.php for your 2nd problem rather than hacking the core bbPress files:
how to display list of sub-forums on separate lines, instead of big blob?
@JarretC thank you so much, I have simillar problem and using your solution for now. can you help me to have that subcategories on seperate rows below the main category?
and have that main categories on seperate columes?
thanks again
I copied that code on “bbPress>bbp theme compact>bbpress” for custom community theme and it worked great 😀
Hi,
How can I remove the blue box that says “This forum contains 1 topic, and was last updated by admin 15 hours, 5 minutes ago.”, etc., using my theme? From what I can see, the code for that is in the wp-content\plugins\bbpress\bbp-includes\bbp-forum-template.php file. How can I override that? Or do I just need to directly edit it?
Thanks.
Can you explain how you actually insert those login/register/lost passcode shortcodes? I’m trying to create a URI as well but I don’t know how to make my pages have those things.
I don’t have the twentyten theme installed but you can find the location of the CSS using a code inspector (The built in Chrome one will do fine). Simply right-click the element in the web page, click inspect element and note the css location and properties.
From there you can manually overwrite the style in your own css file, or find the CSS file bbPress is using and edit it.
I can’t verify but i’m guessing the bbPress CSS for twentytwelve is here:
/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/style.css
or
/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/css/bbpress.css
Chris
Hi there, I want to query all Posts from a category (i.e. “english”, id 2075) for a widget. The Query:
$topics_query = array(
'author' => 0,
'posts_per_page' => 10,
'show_stickies' => false,
'order' => 'DESC',
'post_parent' = 2075;
);
only returns the topics of category (forum) 2075 but not of the subforums. Is there an additional parameter that i can add to the query for
bbp_has_topics( $topics_query )? Thanky ou very much for help
-
This topic was modified 13 years, 4 months ago by
illuminat.