Search Results for 'code'
-
Search Results
-
Hello,
I have a wordpress installation with both bbpress and BuddyPress installed. I’m trying to create a user from code and automatically setting the forum role to participant. I tried using the bp_core_signup_user but it has not effect. This is the part of the code where im creating the user:
// 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, [] ); bbp_set_user_role( $user_id, "bbp_participant" );Attached is the user profile after creation from code:
Hello!
Now I have topic titles:
<title>Topic Title - Domain.com</title>How can I customize topic titles to:
<title>Topic Title - Forum Title - Domain.com</title>Hiya. I’m wondering where in the code the choice of template to use is made, when a forum is created.
I want bbPress to choose to use the Topic Discussion page template for its Forum page — the page that is created with the discussion itself for a topic — when it creates a new Forum….how do I get it to use that template instead?
I do not need a page that lists all topics for a forum; this is being built to be a one-topic forum; having a list of topics when there will only ever be one topic is just more clicking for my users to have to do, to get to the actual discussion.
I only want the discussion of the topic itself to populate, not a list of topics which is what the forum template does now.
Thoughts?
Topic: bbPress Moderation
I need help with this plugin bbPress Moderation By Ian Stanley https://wordpress.org/plugins/bbpressmoderation/
i use this to hold topics for moderation from my participants before publishing them, because not all topic i will want to publish. but the thing with this plugin is that it hold but topics and reply for moderation and has no option to separate them.
Is there any way like code that i can use to prevent topics from being moderated, only post should be held for moderation and the reply should not be held.Please is there any plugin or code i can use to set minimum reply length on my forum, i want reply’s to not be less than 60 character. so when any body reply’s with 60 character it tells to person to type not less than 60 character words.
Please i need this urgently.
thanks.