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, 9 months ago by
illuminat.
I must be doing something wrong when I enter the first bit of code into the bbpres-functions.php file of the them I get an error regarding the public function error. Can someone give me an idea on where I am making a mistake?
My suggestion would be to just use a similar rule. Let’s say that this page has the class “page-id-2”, then amend your above CSS to look like this:
.bbpress #page,
.page-id-2 #page {
width: 100%;
}
…sorry for the post above but i cannot edit anymore, here come the right one:
Thanks jaredatch! I inserted the above code from “jshultz” at the end, just before the last “?>” in the functions.php of my theme and it seems to work well 🙂
This code removes only the 1 item: “this forum contains … topics… and … themes”
But i’d like to get rid also of 3 other following things from the info area:
– Viewing x topics – 1 through x (of x total)
– You may use these HTML tags and attributes: a href title abbr title acronym title blockquote cite
– Topic Tags + the field below
How could that be accomplished?
It’s a pity no plugin does seem to exist allowing to surpress those things that are of no use for many less proficient members that use my forum.
-
This reply was modified 13 years, 9 months ago by
nikoski.
My original code snippet above is wrong. I had copied out of a plugin I wrote and it has a syntax error (extra parathesis) from ripping it out of a class.
If you use the snippet @jshultz provides, that should be correct. You should be able to place it inside your theme’s functions.php file.
Do not place anything (or modify at all) inside the /bbpress plugin folder, as you will lose all changes when you update bbPress.
@jshultz:
Bacuase of no idea about php: where exactly should i place you code in the “functions.php”?
And what about removing the following lines from bbpress?…
Viewing 2 posts – 1 through 2 (of 2 total)
Oh I just thought it’s a short code which I can paste or change just few things. Thanks anyway! (at least the front page of forums looks nice 🙂 )
Do you mean wp theme template or bbpress theme template? Can you tell me what should I write into the CSS file? I need some help, coz I don’t know CSS well, I could copy you the code, just tell me which file you need.
Thank you
How very dumb of me… yes, it’s my custom theme. I could have sworn when I switched to Twenty Eleven with the same code I had the same problem.
Thanks for taking the time to reply.
Unless you place one of the forum short codes on a page, there is no page assigned to bbPress templates.