Forum Replies Created
-
In reply to: bbpress update broke my websiteIn reply to: bbpress update broke my website
There hasn’t been an update to bbpress for over 6 months – so not sure what you were updating.
you will need to either get your host provider to roll back you site, or get ftp access and change the name of the offending plugin
great – glad you are fixed !
In reply to: automatic groupsby a ‘group’ do you mean a forum?
In reply to: Deactivating bbPress for testinggreat – glad you are fixed
In reply to: Deactivating bbPress for testingyes data and settings will be saved.
In reply to: Topic Count Showing Incorrectly?great – glad you are fixed
In reply to: Topic Count Showing Incorrectly?it’s usually a spam or hidden topic – have a look in the backend
if you can find it, delete it, otherwise try
dashboard>tools>forums>repair fourms and repair the counts
In reply to: Learndash and Bbpress plugin issueand there is an integration plugin
In reply to: 404 on forums and groupsnone errored when I tried them
In reply to: Learndash and Bbpress plugin issueAs far as I know the two work together
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: Setting User Forum Role By Codeno problem, glad you are fixed !
sorry missed that part
if the code above works then
bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => false ) ); $reply_author_id = get_post_field( ‘post_author’, bbp_get_reply_id() ); $user = new WP_User( $reply_author_id ); if ( !empty( $user->roles ) && is_array( $user->roles ) ) { foreach ( $user->roles as $role ) { if ($role=='student') $output = 'client' ; if ($role=='elephant') $output = 'tiger' ; echo “<div class=’role_custom_bhush’>”.ucfirst($output).”</div>”; break; } }just alter and add as many of these lines as you need
if ($role=='elephant') $output = 'tiger' ;In reply to: Setting User Forum Role By CodeI’ve just done some testing
this code :
function test_set_user () { $user_id = 1223 ; bbp_set_user_role( $user_id, 'bbp_participant' ); } add_action ('init' , 'test_set_user' ) ;changes user 1223 on site load, so the code is fine.
I think it is a timing issue – ie when you are doing this. It may well be that even if this fires, a ‘create user’ firing after will overwrite this – eg this may set for pending, but then be overwritten by the final user creation.
Of course if it is always going to be participant, then bbpress allocates the user to the default role (as set in settings>forums>default role) if no bbpress role is set on first login, so you could just set up the user, and bbpress will take care of giving them a role when they first log in!
In reply to: Admin Login redirects me to site front-endIn reply to: Migrate wp posts to bbPress forumsyou’d probably need to hire someone to do this
In reply to: Setting User Forum Role By CodeI’d suggest that the issue is that the bp_core_signup_user is not returning a valid $user_id
you could prove that by writing a console output to see what is being supplied, eg
// create the user from the bp_core method, to make sure it passes the activation mode first $user_id = bp_core_signup_user( $post->username, $post->password, $post->email, [] ); echo "<script>console.log('" . $user_id . "');</script>" ; bbp_set_user_role( $user_id, "bbp_participant" );and then looking in the console in your browser tools
maybe better to ask the question in ten buddypress support as to why the correct user_id is not being returned
In reply to: Custom fields and controls in editorit is doable but would require bespoke coding
if you want to hire someone, then Milan or I might be able to help
you can change names using my plugin
once activated go to
dashboard>settings>bbp style pack>Forum Roles
In reply to: insert/ edit image (links) not workingdoes it change if you deactivate the bbp style pack plugin ?
In reply to: How to Hire a bbPress Expert for Quick Consults?I do bespoke work on bbpress, but Milan is also excellent, and as he got in first start with him.
In reply to: How to delete replies from frontendnone that I know of for multiple replies
In reply to: How to remove wordpress barlots of plugin to remove admin bar
https://wordpress.org/plugins/tags/admin-bar/
and to design forum
In reply to: Change the Search ButtonIn reply to: Not send email notifications at all userscould be loads of reasons, including throttling by your host provider, intermediate emails systems etc.