Forum Replies Created
-
In reply to: Links from profile note working
great – glad you are fixed !!
In reply to: Remove “Edit” link in reply header for certain rolessorry, try this
add_filter ('bbp_reply_admin_links', 'rew_remove_edit') ; add_filter ('bbp_topic_admin_links', 'rew_remove_edit') ; function rew_remove_edit ($links) { $user_id = bbp_get_current_user_id() ; $user_role = bbp_get_user_role( $user_id ); if ($user_role == bbp_get_keymaster_role()) unset ($links['edit']) ; if ($user_role == bbp_get_moderator_role()) unset ($links['edit']) ; if ($user_role == bbp_get_participant_role()) unset ($links['edit']) ; if ($user_role == bbp_get_spectator_role()) unset ($links['edit']) ; if ($user_role == bbp_get_blocked_role()) unset ($links['edit']) ; return $links ; }
In reply to: BB Press is Running very slowok what about 3. above?
that’s an interesting point.
On email addresses, users do not know each others email addresses from the website, and emails addresses are not shown (unless you are using them as usernames). It is possible that registered user George with email abc@def.com wants to post an anonymous comment alongside his real one. He can post with a username of say Fred, but must enter an email address in the form, so does he use his real one (abc@def.com) or must he enter a made up one? And if you don’t permit a real one from a registered user being used, then as an anonymous poster if I try an email address and it rejects, I know that the user with that email address is already on the site. That user might not want it know that he uses the site, but by testing and telling people that email address exists you are publicizing who is using the site. It’s almost certainly doable, but might have undesired consequences.
On usernames, it is equally possible for one anonymous user to pose as another anonymous user, so it is not just registered users who can get spoofed. Now you could add a test for registered users, and reject these, and that might be sensible, but it is beyond free help, as it would be a chunk of work to do.
If interested in email or username checking, contact me via
http://www.rewweb.co.uk/contact-me/ with a link bacjk to this thread.
In reply to: Links from profile note workingtry
dashboard>settings?permalinks and just click save – this resets the premalinks and sometimes fixed issues such as this.
Then come back
In reply to: Forum Index Looks Wildly Different on Front Endhowever breakdance does it, it is essentailly using the wrong template to display the forum page – one to query with then.
If you get a fix, please do post back here to help someone else who might get this problem in future
In reply to: Remove “Edit” link in reply header for certain rolesadd_filter ('bbp_reply_admin_links', 'rew_remove_edit') ; add_filter ('bbp_topic_admin_links', 'rew_remove_edit') ; function rew_remove_edit ($links) { $user_role = bbp_get_user_role( $user_id ); if ($user_role == bbp_get_keymaster_role()) unset ($links['edit']) ; if ($user_role == bbp_get_moderator_role()) unset ($links['edit']) ; if ($user_role == bbp_get_participant_role()) unset ($links['edit']) ; if ($user_role == bbp_get_spectator_role()) unset ($links['edit']) ; if ($user_role == bbp_get_blocked_role()) unset ($links['edit']) ; return $links ; }
and amend as needed
spectator and blocked not really needed as neither can post, but included for completeness !!
In reply to: BB Press is Running very slowthanks for the update.
1. Can you confirm that you have run the repair tools in dashboard>tools>forums>repair forums
2. can you confirm that making a wordpress post (ie a post or page) is quick
3. can you try editing a bbpress topic on the front end and let me know if that is erqualy slow on savingIn reply to: Remove “Edit” link in reply header for certain rolesare these wordpress roles, bbpress roles, (say membership) plugin roles, or some customs roles you have written?
In reply to: Breadcrumps not showinggreat – glad you are fixed 🙂
In reply to: Forum Index Looks Wildly Different on Front EndThanks.
I’d suggest as as a test switch to a default theme such as twentytwenty or twentytwentyone (don’t use 2022 or 2023), and see if this fixes.
If so, then you’ll need to raise it with the theme breakdance as it is a paid product
In reply to: Forum Index Looks Wildly Different on Front Endwhat theme are you using?
In reply to: Breadcrumps not showingI just had a quick look at the yoast code, and this is deliberate.
a comment in the yoast code says :
If breadcrumbs are active (which they supposedly are if the users has enabled this settings), * there's no reason to have bbPress breadcrumbs as well.
In reply to: Forum Index Looks Wildly Different on Front EndYou are using the w3 caching plugin.
At a guess, I’d say you need to clear the cache, so the correct version can load.
In reply to: Breadcrumps not showingdid a search and found this as a possible solution
turn off Yoast’s breadcrumbs at:
/wp-admin/admin.php?page=wpseo_titles#top#breadcrumbsIf it works, then please come back and confirm
In reply to: How to add search bar?function bbptoolkit_show_search_form(){ if ( bbp_allow_search()) { ?> <div class="bbp-search-form"> <?php bbp_get_template_part( 'form', 'search' ); ?> </div> <?php } } add_action( 'bbp_template_before_single_forum', 'bbptoolkit_show_search_form' ); add_action( 'bbp_template_before_single_topic', 'bbptoolkit_show_search_form' );
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: How to move a lot of topics from different forumsNot that I know of, sorry.
In reply to: Breadcrumps not showingok, it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: User profile links not working, 404 errorIn reply to: Breadcrumps not showingdid they used to and have stopped or has this never worked?
In reply to: Templateok these are instructions from 12 years ago, and are not applicable for the current version of bbpress.
If you just enable the ‘anyone can register’, then users can register from either the topic/reply forms, or you can use a register page – ie create a page – call it whatever you want and put the shortcode [bbp-register] in it. Then add this page to your menu.
In reply to: TemplateI am not sure where you are seeing
“Before adding the page, it is important to select the bbPress template page for User Register. This can be done by clicking on the drop-down Template menu on the right hand section of the screen and selecting bbPress – User Register.”
Can you say when/wher this appears eg
dashboard>settings>xx>yy
In reply to: About bbpress email notificationsI suspect your issue is related to whatever membership plugin you are using.
In any case legislation in many countries requires you to allow users to ‘unsubscribe’ so they do not receive emails, so a subscription system needs to exist to allow for this.
Not sure I can help further.
In reply to: users autoconfirming?bbpress just uses the WordPress (or whatever custom plugin you are using) registration/login, and your problem is almost certainly site specific, so beyond generic help from here.
In reply to: bbp-style-pack erreur functions.php on line 3338fixed in latest release