Forum Replies Created
-
In reply to: Use bbPress not as forum software?
I’ll answer this just to let you know that someone has read it.
This would require I think a ton of work to make it work, and I have no idea on how it would affect preformance
In reply to: Assign moderator to be forum ownerdepending on how you have set up your forums
https://wordpress.org/plugins/bbp-private-groups/
might help – see settings>help
don’t know what else to suggest, bbpress is tested to work with the default themes, suggest you contact your host provider.
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 twentytwelve, and see if this fixes.
Then come back
In reply to: How to style the sidebarahh, sorry hadn’t spotted that you were using genesis, which I should have. Yes the extend is a must!
In reply to: Forum Page ID'sand firebug
In reply to: Forum Page ID'spresuming you’ll be using css to do this, just inspect the pages using developer tools and you’ll see the created class.
for instance your general banter forum has a class of
‘forum bbpress single single-forum postid-28’
Developer tools
https://developer.chrome.com/devtools
https://msdn.microsoft.com/en-gb/library/ie/gg589507(v=vs.85)
In reply to: wordpress and bbpress registration confusionno, just one login !
In reply to: Create a forum of type linkI’m not quite sure what you are asking.
Can you put a link to your forums, and say what you want where
thanks
In reply to: One automatic private Forum per UserI would start with
https://wordpress.org/plugins/bbp-private-groups/
this will give you private forums per group, so you can have a user allocated to a group, and a forum allocated to a group. so you would just have a different group for each user, and just one forum allocated to that group.
Then on registration, you would need to
create a forum
create a private group – probably using the $user_id, so that it is unique
Allocate the private group to the forum
Allocate the private group to the useryou’d use an add_action to user_register to do the above, the example below comes from
https://codex.wordpress.org/Customizing_the_Registration_Form, but you can in effect get wordpress to do anything when the user hits the submit key
//3. Finally, save our extra registration user meta. add_action( 'user_register', 'myplugin_user_register' ); function myplugin_user_register( $user_id ) { if ( ! empty( $_POST['first_name'] ) ) { update_user_meta( $user_id, 'first_name', trim( $_POST['first_name'] ) ); } }
so you would need to look at putting code into that function :
create forum – what’s updated in the database when you create a forum – start with bbpress\includes\forums\functions.php and look at what function bbp_new_forum does, you’ll probably need to write a version for the above function.create a private group (for that one see the private groups plugin includes/settings.php and look at the group settings – and for info $rpg_groups = get_option ( ‘rpg_groups’) 😉
allocate private group to forum – (for that one see the private groups plugin includes/meta-box.php and look at $meta = get_post_meta( $post->ID, ‘_private_group’, false );
allocate the user to the group – see includes/user-view_post.php it’s looked up using $check=get_user_meta( $user_id, ‘private_group’,true);Since I’ve now written so much, I am expecting in the spirit of community software, you to share the solution when you get it going, and post the result back here !
I found plugins that are able to do this for posts, pages, and custom post types,
bbpress uses 3 custom post types of forum, topic and reply so your plugin should work for bbpress
if you get it working, please come back and share which plugin and what you had to do.
In reply to: Significant trouble with a stubborn sidebara lot of people use
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
I haven’t tried it myself, but come back either way and let us know
In reply to: Post submission hooksgreat – thanks for posting back – edited and removed the wrong version code above – some people never read all the way through !
Thanks again
In reply to: How to style the sidebarok install widget logic
https://wordpress.org/plugins/widget-logic/
this adds a box to each widget in a sidebar
so work out which sidebar is showing in your bbpress pages and for each widget in that sidebar into that box put
is_bbpress() if you want it to appear in forum pages
!is_bbpres() is you don’t want it to appear in forum pages (but do want it on other pages where that sidebar appears
and leave blank if you want tit to appear on both forum and other pagesIn reply to: Post submission hooksquick google gets this article
https://wp-dreams.com/articles/2013/06/adding-custom-fields-bbpress-topic-form/
In reply to: One automatic private Forum per Userhmm…. there’s no limit to the number of ways people want to use the forums !!
Would take a bit of coding, and suspect you’d need to pay to get this developed.
I don’t have time I’m afraid
In reply to: How to style the sidebarIn reply to: Basic Forumsyes this should be the default.
go to
dashboard>forums>anonymous posting and make sure it is not ticked !
In reply to: Post submission hooksyes look in the form templates which you’ll find in the plugin
bbpress/templates/default/bbpressin particular
bbpress/templates/default/bbpress/form-topic.php
and
bbpress/templates/default/bbpress/form-reply.phpeither
a)( You’ll find several hooks in there which you can add_action to , or
b) you can copy these templates to your theme and modify happily by
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
then find
wp-content/plugins/bbpress/templates/default/bbpress/xx.phpwhere xx.php is say form-topic.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/xx.php
where xx.php is say form-topic.phpbbPress will now use this template instead of the original
In reply to: Login barHey great – just had a look and it look good !
Thanks for posting the answer back, it will help others
In reply to: Rating and Sorting plugin.great -besy way to learn, I knew nothing of bbpress two years ago !
Come back if you get stuck, and if I can help with quick pointers I will.
In the spirit of community, it would also be great if you shard the solution if you get there, this is occasionally asked for, and I’ll add it to the codex.
key bit is on the topics widget for most recent replies, which you would copy and use
// Order by most recent replies
case ‘freshness’ :
$topics_query = array(
‘post_type’ => bbp_get_topic_post_type(),
‘post_parent’ => $settings[‘parent_forum’],
‘posts_per_page’ => (int) $settings[‘max_shown’],
‘post_status’ => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
‘ignore_sticky_posts’ => true,
‘no_found_rows’ => true,
‘meta_key’ => ‘_bbp_last_active_time’,
‘orderby’ => ‘meta_value’,
‘order’ => ‘DESC’,
);
break;that’s where the meta key bit is, so if your plugin stores as ‘_rating’, then that’s what would go in the meta_key line.
In reply to: Login barDon’t be sorry ! If that’s not where you want it.
I don’t know of any plugin that does this – sorry 🙂
once you’ve done that run the repair tool, they’ll have had a different forum number on the old site
dashboard>tools>forums>repair forums
In reply to: Login barIn reply to: Rating and Sorting plugin.Most replied to is already in the topics widget (as most popular), so it would be nicking that query code.
It would not be tons of code to do a rating, as long as the rating system stores the score in post_meta, then a simple query with that meta would do it.
Just that I haven’t got time to code it at the moment.
suggest you
a) look at bbpress rating plugins
b) check that they store scores in post_meta
c) either code yourself (see bbpress/includes/common/widgets) for the widget code,
d) or pay someone to do it http://jobs.wordpress.net/