Search Results for 'code'
-
Search Results
-
It seems bbp_get_forum_subforum_count() does not return private forums. So when all the subforums are private, this funcion returns 0 which causes the list forums function to bail.
I got it around it by creating the following filter to count the forums:
add_filter( 'bbp_get_forum_subforum_count', 'my_subforum_count', 3 );
function my_subforum_count( $forum_count, $forum_id ) {
$subforums = bbp_forum_get_subforums( array( 'post_parent' => $forum_id ) );
return count( $subforums );
}Please advise if you’d like me to create a trac ticket for this. I didn’t want to create a ticket in case it already exists or I’m just doing something wrong.
Thanks,
John
In version 1.0, there is a way to create custom registration fields (creating a regfields module, with a short bit of code).
Is there a way to do this for 2.0? I upgraded to the newer forum, because I thought things like this would be easier.
Also, is there a way to make certain fields private (so they are submitted for admins to view, but not publically posted to the profile)?
I just installed 2.0. Where are the register and login links for the forum? I saw the page for shortcode (http://bbpress.org/forums/topic/bbpress-20-shortcodes) and created a page for registration and login.
Does the regular template not add these links to the pages? Do we need to add them on our own? Do we add them to our bbpress theme, or our wordpress theme?
hi there guys,
i’m using a rockettheme wordpress template and seem to be having issues with the beta 2 profile pages. whenever i click a username on the forums to visit the bbpress profile page of that user, it is a completely unformatted page consisting of:
>
Home
About Us
Page 3
Page 4
Forums
Logout
Fatal error: Call to undefined function get_query_type() in /wp-content/plugins/gantry/core/gantrybodylayout.class.php on line 94
I don’t know what to do. That’s all that appears on the page. That first “>” is indicating to me that there’s something wrong in a code somewhere, maybe thats an extra “>” or there’s another missing “>” or something. im not too experienced with php or wordpress, but im comfortable editing it if given instructions. if anybody could help me on this issue, i would be extremely grateful – i’ve been trying to fix it for a few days now.
thanks, i hope somebody can lend a helping hand!
(by the way, this exact same thing happens, with the same error too, when i click ‘EDIT’ to edit a post other than the first post in a topic.)
Evening,
Although the code is well documented within, I am having trouble getting my head round all the files/locations in the first place!
I wanted to hide my forum by default (as oppose to having to choose public/private), achieved this by getting down and dirty with all keys that feed into the “post__not_in” field in the main forum query.
Having achieved this, my question: Where in earth do I change the friendly “Oh bother! No forums were found here!” message???? Can’t find it anywhere!
Thanks in advance
Im new to both wordpress and bbPress forum, however i got it to work and both the website and forum are up and running.
The only problem i have is: I cant seem to figure out how to link my forum to one of the menu bar buttons. Lets say i have a menu button called ” Community Forum “, when someone klicks that menu button i want the forum to show.
How do i link the forum page to the Community Forum menu bar button? Ive pulled my hair for hours trying to figure this out.

Oh, one more thing. What file should i edit to fix the background and text on the forum?
Thats all, thanks for a lovely plugin!
Topic: bbPress Signatures
bbPress Signatures:
i tried to change the bb-attachments.php and the line:
‘.signature {clear:both;border-top:1px solid #222; font-size:85%; color:#777;padding:1em;}’ <
the font-size:0.87em;but the changes wont show in main page. if i check via the chrome developer tool i see this when i target the div:
.signature {
padding: 1em;
border-top: 1px solid #CCC;
font-size: 0.87em;
color: #444;
its unchanged even after i changed the php file. do you know if i need to update some other file? cant see anything in the style.css file atleast.
cheers
How is it possible to change or replace the “You must log in to post” text that appears on the Forum.php and Topic.php pages? It appears that changing it directly in the “functions.bb-template.php” file doesn’t work. Can anyone provide any help, searching the forums and web has brought up very little, which makes me wonder if I am doing something wrong.

Thanks in advance for any help!



