Forum Replies Created
-
In reply to: Template on forum pages not displaying correctly
ok, the template for the forum index isn’t used. Bbpress looks for your theme template fiels and uses them instead.
see
I have marletpress and bbpress running quite happily together.
I suggest you contact you host provider for help
Do you have a caching software, and have you re-freshed your browser?
In reply to: Cant change color of replies and topicsgreat, glad you’re fixed !
Hate to answer my own post.. anyway
Hey, no brilliant that you did, sorry we didn’t get to you sooner !
Fantastic that you posted the solution, this will help others searching for it in future !
In reply to: 2.5.3 Easy change bbpress title font and colorso are you fixed, or do you still need help?
In reply to: Forum theme not working…Robin is busy showing pigs at an agricultural show.
As far as I can see you’re making good progress with Rob.
naa stil did not work.
What did not work, you’ve now lost the toolbar and got profile edit? But just in the footer as well?
Can we have a summary of what your remaining issue is?
In reply to: Topic Title lengthshould be something like
add_filter ('bbp_get_title_max_length','change_title') ; Function change_title ($default) { $default=60 ; Return $default ; }try this in your functions file – if not come back, but suppers ready and I haven’t time to test!
In reply to: Forum theme not working…Uh?? You’ve lost me !
If you have a child theme, your functions file should be in the child theme, and that is where you should put it. If there was a functions file in your main theme, then you should have left that alone. if there wasn’t then there shouldn’t be.
The error is saying that it is likely you have whitespace in line 1 of your awesome theme, which I think is your child theme.
In reply to: Forum theme not working…the error code is saying that you have whitespace in
wp-content/themes/awesome/functions.php:1
If this is a blank file, then delete it.
If not, then it has a problem on line 1
In reply to: Forum theme not working…suspect you have a whitespace in your functions file
Whitespace before <?php when “functions.php line 1” mentioned
If the message says the error is in line 1, then it is typically leading whitespace, text or HTML before the opening <?php marker.
eg
<?phpnot
<?phpIn reply to: Replacing "You cannot reply to this topic"great – glad you’re fixed !
In reply to: pagination problem in case of no repliesgreat – glad you’re fixed !
In reply to: bbP Signature – DevelopmentThanks for not just abandoning.
I’d be happy to take that plugin over and keep it updated as I use it on one of my forums.
so yes add me as commit access – name is Robin W
and I’ll happily take it over !
In reply to: How do I make forum page width fill entire page?In reply to: Replacing "You cannot reply to this topic"it is in
\bbpress\templates\default\bbpress\form-reply.php
However it would be easiest to change the text using a function which you put in your functions file
//This function changes the text wherever it is quoted function change_translate_text( $translated_text ) { if ( $translated_text == 'old text' ) { $translated_text = 'new text'; } return $translated_text; } add_filter( 'gettext', 'change_translate_text', 20 );In reply to: Forum theme not working…I also moved template-full-width.php, to my child theme, and called it bbpress.php. After doing this, nothing has changed except now the forum specific sidebar, that came with the theme, does not show up.
so what would you like to happen, all I can see on your site is your forum with a sidebar
In reply to: Forum theme not working…So basically on the forum, when someone clicks edit my profile at the top of the page, it goes to the backend. Even though, it would be preferable to go to the front end.
I would not let users see the toolbar, this is really just for admins.
You need to disable the toolbar – add this to your functions file
add_filter('show_admin_bar', '__return_false');then put the profile into your menu
No problem
In reply to: How to display X last topics from a specific forum ?great – pleased its doing the trick !
sorry if I wasn’t so busy, I’d have a crack at it 🙂
In reply to: filter topic on date baseYou explain me in detail with code?
Can you explain what you are trying to do and where on your site eg put a shortcode on the front page, add a widget that does this etc.
you’d do better to just steal the replies widget I wrote for private groups
download
https://wordpress.org/plugins/bbp-private-groups/
and then open up and edit
includes/pg_forum_widgets.php
line 464 onwards has the replies widget, I’m pretty sure that lines 539 to 542
//PRIVATE GROUPS Get an array of IDs which the current user has permissions to view $allowed_posts = private_groups_get_permitted_post_ids(new WP_Query($query_data)); // The default forum query with allowed forum ids array added $query_data['post__in'] = $allowed_posts;is all that’s added to the orginal code, so remove those lines.
and line 574 contains the size
you can just fork all that to the end of the file into your functions file
I’d suggest that you
1. create a test site (which everyone should have in nay case !)
and
2. Google sql tutorial video, and work out how to code my statements
3. go into phpmyadmin on your test site and play until you get it right
4. Come back and post the resultant code to help others
sorry, but almost all of the stuff I have learn’t has been by spending time googling to find some examples, and then hours getting it to work 🙂
In reply to: EDIT TOPIC in BBPRESSgreat – glad you’re fixed !