Forum Replies Created
-
In reply to: Page security
if you want to restrict to just registered users, then simply set the forum to private
dashboard>setting>forums>all forums>edit forum and just set to private on then right hand side.
If you want something more complex, then my private groups plugin gives lots of granularity
In reply to: Import parent and child relationshipsthanks
In reply to: How do I change font color in closed forum topicsthat link shows no topics.
But if you can give me a link with an example, then I can help
In reply to: Display number of subscribers of a forumok, I’ve done a very basic version in my style pack plugin, which would let you use a shortcode in say a widget.
once installed go to
dashboard>settings>bbp style pack>shortcodes and see the last one
In our case, we have only 5 forums and we were thinking it would be nice to show the same information available in the “Forums” section in the backend of WordPress where it displays a column of the number of subscribers for each forum.
Pascals tollkit will show the number of sucsbribers in the backend as a column
I need to do much more to do what you want for the rest.
ok, I played with this for a while, and any solution would be site/theme specific and beyond free help I’m afraid.
In reply to: Import parent and child relationshipsDid you do a bbpress to bbpress importer? I know it was mentioned some time ago.
In reply to: One topic in multiple forums – possible?Possible? – not without a load of bespoke code – I’m afraid
In reply to: No back button to parent forumforums have breadcrumbs to help navigation.
Yours appear to be switch off, possible by your theme?
ok, just posting for anyone searching in future
THIS IS A WORKING VERSION
This code allows a standard gravity form lets it be saved as a gravity forum, but on saving also creates a new topic form for a specific forum
add_action( 'gform_after_submission', 'set_post_content', 10, 2 ); function set_post_content( $entry, $form ) { //set the forum ID that the topic will be saved to $forum_ID = '31086' ; if (!function_exists('bbp_insert_topic')) { require_once '/includes/topics/functions.php'; } //getting post $post_form = get_post($entry['post_id']) ; $title = $post_form->post_title; $content = $post_form->post_content; // The topic data. $topic_data = array( 'post_parent' => $forum_ID, // forum ID of Projects hard coded 'post_status' => bbp_get_public_status_id(), // Subscribed users can see this 'post_content' => $content, 'post_title' => $title, 'comment_status' => 'open', 'menu_order' => 0 ); // The topic meta. $topic_meta = array( 'forum_id' => $forum_ID, 'reply_count' => 0 ); $post_id = bbp_insert_topic($topic_data, $topic_meta); }
In reply to: Topics not found, only sticky topics showIn reply to: Topics not found, only sticky topics show@jkw217 if you can confirm my post above – ie
can you confirm that
“5 random reply posts that arent working:
– all have ‘0’ for post_parent.
– all have a postmeta _bbp_topic_id #I need to know that you
a) have EXACTLY the same problem and
b) have the postmeta as abovethen I can give you some code
what widget are you using to see that list ?
In reply to: Topics not found, only sticky topics showcan you confirm that
5 random reply posts that arent working:
– all have ‘0’ for post_parent.
– all have a postmeta _bbp_topic_id #and I can give you some code
or you could link to the ‘forum’ class as it is just before the title
eg
.forum::before { content: "Read this: "; }
As it’s above the title, then it’s before bbpress kicks in.
you could try
if (is_bbpress) { echo 'hello' ; }
but may not work
Or try to add something to your theme page.php or equivalent before the title
Something like (this won’t work it’s just to start you off!)$array = (2925, 3567,4567) ; if (in_array ($page_id, $array)) { echo 'hello' ; }
where 2925 etc are forum ID’s
In reply to: Moving topic from one forum to anotherdashboard>topics>all topics>edit the topic and amend the forum on the right hand side.
@strike3 -sincere apologies for not getting back to you – your response slipped through the net.
Glad you are fixed, and thanks for posting the link
In reply to: Cannot See Forum Replies.suspect it an update conflict
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: # Postname concepttry this
a.bbp-reply-permalink { display : none !important; }
In reply to: # Postname conceptput this in your custom css area
.bbp-reply-permalink { display : none ; }
In reply to: User Registrationwhen they first log on they are allocated the default role that you set in dashboard>settings>forums.
you can use the bbpress logon widget in a sidebar, use the shortcode [bbp-login] on a page or post, use any wordpress logion plugin or technique, or add a login to your menu using
In reply to: how to add the bbpress side barIn reply to: # Postname concept1. bbpress uses wordpress post database, so these are wordpress post numbers, so no, you cannot have different numbers for bbpress (without completely re-writing bbpress !).
2.
I also wanted to ask if there was a plugin that supported sharing bbpress topics.
None that I know of
In reply to: bbpress not inherit our theme headerI will need to look at your site, so I need a url to the forums on your site
eg
In reply to: bbpress not inherit our theme headerany chance of a link to forums on your site