i m trying to get the thumbnail of topic to show on Widget “Forum list”
what i m trying to achieve are
- trying to get the feature image funtionality on front end so user can have the option to upload image about the Topic
- get the feature image on Widget “Forum list” Default widget of BbPress plugin
i m not developer, as i have feature image in admin using some code found here.
Please provide some suggestions
looking for quick reply, as i have to use this feature in website.
thanks
I realize the bbpress sidebar only displays properly when I add widgets to the default wordpress sidebar; however, I only want sidebar displays in the forum page.
Hi,
I am using the bbPress WP Tweaks plugin to create a siderbar for my forum. However, the sidebar displays underneath the forum, which supposed to be on the right side of it. I am trying to solve it by changing the default forum wrapper, but it does not solve the problem.
The error page: http://kayden.sg/forums/
Hope you can help!Thank you so much!
Simply, all you need to do is commenting a line in ‘content-archive-topic.php’ as shown below:
The file path is ‘..\wp-content\plugins\bbpress\templates\default\bbpress\content-archive-topic.php’ at around line number 30.
<?php bbp_get_template_part( ‘pagination’, ‘topics’); ?>
<?php bbp_get_template_part( ‘loop’, ‘topics’); ?>
<?php bbp_get_template_part( ‘pagination’, ‘topics’); ?>
Just comment the first line to avoid displaying top pagination link as:
<!—- ?php bbp_get_template_part( ‘pagination’, ‘topics’); ? —–>
<?php bbp_get_template_part( ‘loop’, ‘topics’); ?>
<?php bbp_get_template_part( ‘pagination’, ‘topics’); ?>
I replied here since you and another user seem to have the same problem.
No topics shown to forum participants
Here is what I posted anyway.
Alright make sure both of you have gone through these troubleshooting steps.
- Deactivate all plugins except bbPress.
- Switch to a default theme
- Flush permalinks by switching to default , save , next switch to your preferred structure then save again
- Clear any cache
- Go to Tools > Forums > Repair Forums then run each repair job one at a time.
Does it Work??
If it does work now, activate your plugins one at a time and make sure to spot the one that might have caused the issue.
Not a plugin issue??
You can try these plugins one at a time to see which one helps.
bbpress wp4 fix2
http://www.rewweb.co.uk/bbpress-wp4-fix/
And hopefully it works after all that.
@ecorey @basemaly
Alright make sure both of you have gone through these troubleshooting steps.
- Deactivate all plugins except bbPress.
- Switch to a default theme
- Flush permalinks by switching to default , save , next switch to your preferred structure then save again
- Clear any cache
- Go to Tools > Forums > Repair Forums then run each repair job one at a time.
Does it Work??
If it does work now, activate your plugins one at a time and make sure to spot the one that might have caused the issue.
Not a plugin issue??
You can try these plugins one at a time to see which one helps.
bbpress wp4 fix2
bbpress wp4 fix
And hopefully it works after all that.
just now i manually created that page so the default forums will be replaced, and it does. and i assigned “bbpress sidebar” but it shows different sidebar compared to subforums i used. here’ http://www.virtual assistant philippines. org/forum/faq/ even though i used the same widgets for both forums and subforums. ( i separated my website url because im thinking that is the reason why my post is not appering here)
have you check it? they are different content in the sidebar eventhough i used the same “bbpress sidebar” widget
please advice.
Thanks
Hello Rob,
I swear to god that the virtual assistant philippines. org /forums/ is not showing to my pages> all pages. it appears default after i installed bbpress plugin, i never touch it because i cant find that page to edit.
@kenneston
do you have a custom bbPress theme??
because the forum description should show on the frontend
the topic description does not show below the topic title like the forum description should do by default.
All titles should show though.
for the forum description make sure you have
<div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>
in loop-single-forum.php
Try some troubleshooting steps listed here.
If they say the issue persists in a default theme , then it either is a plugin issue or just how you are trying to set up your forums.
Troubleshooting
Hi Robkk,
Thanks for your reply.
I have contacted the theme developers (it’s a premium theme) and they have gone in to my website, and the issue still occurs with the default 2015 theme, so I and they don’t think it’s a theme issue.
@manni1970
I just translated my test site into German, I don’t see an issue??
As long as you have the latest active versions files it should work.
Did you get your .po and .mo files from here??
https://translate.wordpress.org/projects/bbpress/2.5.x/de/default
Your site is not available so I can’t have a look.
If you’re using a custom theme with ‘theme options’ you need to look at the settings there to see if the default setting is with a sidebar, your forum will use this default page unless you create templates specially for it.
Here’s some info on the templates that bbpress looks for in your theme:
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
Usually using page.php in most themes, so you could try opening up your page.php, remove the code that includes a sidebar, then save it as bbpress.php
Hi!
When clicking through bbpress user pages (profile, edit profil, subscriptions etc..) the avatar and the user navigation will be displayed on the left side on all those pages by default.
How can I remove avatar’s and user navigation’s div from all pages except the user’s profile home page to get more space?
Tried this in user-details.php, did not work (blank screen):
<?php if ( bbp_is_user_home() ){ ?>
<div id="bbp-user-avatar">
[...]
</div>
<div id="bbp-user-navigation">
</div>
}
Thanks in advance!
@rashedfoundation
Also, small second question. It happens often that I’m on a site that I *think* I’ve registered on, but haven’t. If someone enters a login that is not correct AND that username doesn’t currently exist, is there a way to redirect to the registration page WITH that username?
So, for example, I type in username: MyFaveUser pw: 1234, and it doesn’t exist in my user table, so the user is redirected to “Hey, MyFaveUser doesn’t exist, but you can register with it! It’s available!” and then autofill the username field with MyFaveUser and leave the pw field blank?
This is some custom development , I suggest you hire a developer if you need help.
As for the login shortcode issue , it might be best for you to link to the default WordPress login page if you are experiencing issue with it. Or just use a better front-end authentication plugin.
@mfiguerasma
You can allow users to create forums if you give them the capability to do so , or create a new bbPress role for them to default as so that they can all create forums.
I only recommend this if you can moderate all activity somehow , and your site is built to handle users creating a bunch of forums.
Also note that some forums that a user could create could have minimum activity and really just be a dead forum if it is not as popular.
If users are able to create groups , I mean that is BuddyPress and there could be a way to disable user group creation from low level users , if you want to disable it.
IF BuddyPress has a different capability to add forums to groups then , I do not know if I can help there.
For anyone else struggling to get BB Press and Thesis 2 to work (ie forums page showing blank) see these instructions:
“the problem in this case isn’t with Thesis per se, it’s just that you have to configure the Template being used for that page in a specific way in order for it to work with bbPress:
Launch the Thesis Skin Editor and access the Forums template (i.e., the one which is nested under the Archive template).
Expand the Post Box in that Template, and then remove all of the boxes which are currently inside of it.
Then, click “show tray” at the bottom of the Post Box, and click on Post Box → Content to add that dependent box to the parent Post Box; then save the template.
Once you’ve done that, view the page at /forums/ again, and you should then see the Forum Index displayed on that page (assuming you’ve not changed the plugin’s default “Forum root to show” option).”
You might need to create a new user role for users to default as and set their capabilities to create replies but not create topics.
Custom Capabilities
nsParticipant
Thank you for replying.
Yes, that’s right.
The link of https://bbpress.org/forums/profile/naoyoshi/replies/ shows, user-replies-created.php is made by bbp_user_replies_created_url() function.
The default file of user-detail.php has this function and I don’t change.
The parameter of this function is blank.
When the page like https://bbpress.org/forums/profile/naoyoshi/replies/ shows, user-replies-created.php is executed.
As the core processes of bbPress, does it really retrieve only specific user’s replies from database?
This is what I don’t understand now and the current question.
I checked php files user-replies-created.php, loop-replies.php, and loop-single-reply.php, and interface of functions which used in these php files.
I haven’t almost changed codes in these php files, the content of these php files is nearly the original.
As far as I checked, there are no parameters which can retrieve only specific user’s replies in functions.
In this bbPress forums, user interface part is customized from the original file, though, why can it show only specific user’s replies data correctly?
I think I might have to add or change some codes in some of php files…, I don’t know it’s true.
@flyden
this just looks like a CSS issue.
I think it is just that your buttons text are white by default in your theme and it is overriding the bbPress styles.
you can try this CSS and see if it works but you would need to find the issue using some developer tools in your browser or you can create me a subscriber/participant acount to look at it.
If you want to create me an account you can send the login details to my email here.
Contact
I modified a little script I found inside a plugin named “bbp signature” https://wordpress.org/plugins/bbp-signature/
That plugin actually does not work with Buddypress, it is a bbpress plugin
[modified by moderator]
But the code wasn’t too terrible. even though I only kept a few line of it.
So here’s the solution;
make sure you have buddypress with xprofile enabled *(extended profiles)
1. Create a new text box field in Xprofile and name it “Signature”. *(caps is important, no quotation mark.)
Then add that code to the function.php of your child theme.
//Add Signature
function bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
// Default arguments
$defaults = array(
'separator' => '<hr />',
'before' => '<div class="bbp-signature">',
'after' => '</div>'
);
$r = wp_parse_args( $args, $defaults );
extract( $r );
// Verify topic id, get author id, and potential signature
$reply_id = bbp_get_reply_id ( $reply_id );
$user_id = bbp_get_reply_author_id( $reply_id );
$signature = xprofile_get_field_data( 'Signature', $user_id );
// If signature exists, adjust the content accordingly
if ( !empty( $signature ))
$content = $content . $separator . $before . $signature . $after;
return apply_filters( 'bbp_reply_content_append_signature', $content, $reply_id, $separator );
}
add_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
That’s it !
PS. If you want to enable HTML in xprofile there is a way but it’s risky.
you can read about it here : https://buddypress.org/support/topic/html-in-profile-field-again/
I need to change the subscribe button text and also this “Oh bother! No forums were found here!”
I have tried adding the feedback-no-forums.php to /mytheme/bbpress/ but its not overwriting the defaul and I can find now way to change the subscribe text.
Any ideas?
hi!
can I set the default behavior of the Notify me of follow-up replies via email button when posting to the forum or whatsoever?
I would like it to be checked by default.
Im pretty sure i could write some JS to do this on page load but was wondering if you guys have some built in solution for this?
bbpress works with a default theme.
If you have done a fresh install to a default theme with no other plugins, then it should work.
Beyond that I cannot help further – sorry