Forum Replies Created
-
In reply to: user review plugin?In reply to: Child theme questions
yes, as long as you use filters, that will be fine
In reply to: Forum Transfer1. dashboard>settings>forums>anonymous and swicth off
2. https://www.elegantthemes.com/blog/wordpress/best-wordpress-migration-plugins?utm_source=Blog&utm_medium=Pillar%20Posts&utm_campaign=Google%20Search&retargeting=off&gclid=Cj0KCQjw98ujBhCgARIsAD7QeAhDyLaGb_xjw5dhc0n1BCPoySFLX4rYxRn7p733JeE1BWfkkKUCPt4aAosiEALw_wcB
3. ??
4. https://www.elegantthemes.com/blog/wordpress/best-wordpress-migration-plugins?utm_source=Blog&utm_medium=Pillar%20Posts&utm_campaign=Google%20Search&retargeting=off&gclid=Cj0KCQjw98ujBhCgARIsAD7QeAhDyLaGb_xjw5dhc0n1BCPoySFLX4rYxRn7p733JeE1BWfkkKUCPt4aAosiEALw_wcBIn reply to: Child theme questionswhat classes do you want to rename?
In reply to: Child theme questionsbbpress will use the plugin templates, you do not need to copy these to your child theme.
not sure what you want to do with breadcrumbs, is this styling or changing behavior?
In reply to: Website integrationyes
In reply to: Remove “Edit” link in reply header for certain rolesno problem
In reply to: Remove “Edit” link in reply header for certain rolesif ($user_role == 'bbp_prime_moderator') unset ($links['edit']) ;
for custom roles, you just name the role itself.,
In reply to: Remove “Edit” link in reply header for certain rolesok, so what is the role on this line
$bbp_roles['bbp_tutor'] = array(
and what is the code you have added in the code above?
In reply to: Links from profile note workinggreat – 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