Forum Replies Created
-
In reply to: bbpress custom user role ?
Great, do come back if you have any further queries !
In reply to: bbpress custom user role ?ok,
so create a file called bbpress-functons.php as above and in to this put
<?php //code to add tutor role function add_tutor_role( $bbp_roles ) { /* Add a role called tutor */ $bbp_roles['bbp_tutor'] = array( 'name' => 'Tutor', 'capabilities' => custom_capabilities( 'bbp_tutor' ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_tutor_role', 1 ); function tutor_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_tutor' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'tutor_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'tutor' role */ case 'bbp_tutor': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => true, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => true, ); break; default : return $role; } }
This sets up a role called ‘tutor’ – just change this name everywhere to the one you want, and then edit the capabilities.
the default capabilities for each role are :
https://codex.bbpress.org/bbpress-user-roles-and-capabilities/
you’ll probably want to make delete topics and delete replies true
In reply to: bbpress custom user role ?do you know how to add some code to your functions file – if I gave you the code?
In reply to: Sidebar formattingoh and sorry – see
for how to add this -several options.
In reply to: Sidebar formatting.bbp-remember-me {
white-space: nowrap;
}seems to work – try it and come back if not
In reply to: where meeting, scores posts?In reply to: Suffusion bbpress pack issuesgreat, so you’re fixed ?
In reply to: New users/'Participants' unable to create topicsmaybe a theme or plugin conflict
try
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, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Sibe Bar Missing with Striking MultiFlex ThemeHave you tried
In essence you need a .php from your theme that has a sidebar, and rename this bbpress.php within the root of your theme.
In reply to: Suffusion bbpress pack issuesbit tied up at the moment, but have you referred it to suffusion, they should be able to give you removal instructions.
In reply to: Very simple question — changing font sizedo you mean dashboard>appearance>edit css ?
If so, then this is a feature of your particular theme and not common.
If you mean elsewhere, come back.
In reply to: Compose messageglad to hear !
In reply to: Suffusion bbpress pack issueshmmm… presume you’re not running any caching plugins?
In reply to: Participants can't see the Q, only the A…?I suspect that your plugin is trying to restrict who can see what.
The function that replies uses to do this, if not correctly filtered, only shows the replies not the original topic.
In essence the plugin needs to do a sub wp-query within the replies function to include both topicss and replies.
I can’t help further as I don’t know what functions the plugin uses.
In reply to: Participants can't see the Q, only the A…?ok I would suspect that it’s related to this plugin, you could prove this by deactivating the plugin on your test site (or live site briefly if you don’t have a test site)
As this is a paid plugin, you should then contact them for support.
come back and let us know what they say.
In reply to: Participants can't see the Q, only the A…?‘I am using bbpress forum for Members Only’
do you mean
Add bbPress Members Only Forums to Your WordPress Membership Site
or another plugin?
In reply to: Theme problem‘did you actually do the functions 1 & 2? means ???’ sorry I meant had you done the checks, but on a re-read yes you have !
In reply to: Custom form submissions for specific forumspresume you mean the topic form?
If so, then
wp-content/plugins/bbpress/templates/default/bbpress
and look for the templates that deal with forms, starting with form-topic.php
Basically in the root of your theme/child-theme, create a directory called bbpress ie
wp-content/themes/your-theme-name/bbpress
and copy across any templates you wish to alter. bbPress will then use them instead.
you’ll also find some js scripts in the default folders.
In reply to: Compose messagethis looks like more of a buddypress issue, as bbPress doesn’t have messages, or do you have a plugin, in which case it’s that 🙂
In reply to: Theme problemsorry, but did you actually do the functions 1 & 2?
Since reinstalling (which would add those files back if missing) has not fixed, we have to presume that those files are there (have you looked?), and that something is preventing access, hense try the pugins and themes.
If you have trued, but with no success, come back
In reply to: Theme problemok, lets work out where the problem lies.
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, switch to a default theme such as twentytwelve, and see if this fixes.
then come back
In reply to: Suffusion bbpress pack issuesadditionally or alternately you might see a bbpress.php file in there ie
/home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic/bbpress.php
If so, again copy this to your pc, and then delete it on the server.
In reply to: Suffusion bbpress pack issuesOk, so suffusion has added some specific files in your theme, which bbPress is now using NOT changed your forum entries.
So I think all you need to do is go into
to /home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic and you should see a bbpress folder
ie
/home4/kingdox1/public_html/demigodlegion/wp-content/themes/arcade-basic/bbpresscopy these files to your pc as a backup, and then just delete this folder. bbPress will revert to using the default ones, and you should be working.
In reply to: Forum email notices to participantsFor individual users, they can subscribe to individual posts or to individual forums.
For admin, I use bbpress notify plugin, although you can use this for everyone as well, but lots of email messages can annoy some users, so I only use for moderators and above.
In reply to: make a bbpress/BuddyPres forum privateThe problem here is that you want automatic registration, but a private forum, ie only people who are authorised can automatically join. Yes?
On-going, I presume that you’ll only have a few course participants joining at any time time, so a manual process would be quite easy. I do all mine manually, and it takes me less than one minute to add a user to my forum.
I can only suggest you look at some membership plugins to see if these can help.