Forum Replies Created
-
In reply to: ping plug in for worpress
Spam, or is there a real question here?
If so, can you explain what exactly what help you need related to bbPress.
In reply to: By activating plugin, other sites give a 404 page“I needed to add the form, topic and forum manually [bbp-topic-index] [bbp-topic-form][bbp-forum-index] and have not found a manual solution for the login ([bbp-topic-login] didn’t work..))”
See the documentation for set up details including login in sidebar
and
for setting up menu and modal loginsAs for your 404 error, I presume that the urls are correct, for instance
http://www.hightearecepten.nl/recipe/vijgencompote/
works with bbpress deactivated, but not when it is activated?
I’d check first whether there is a plugin conflict, and then a theme conflict viz ;
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
If it is Themeforest, I’d raise it with them, as it is a paid theme, and with over 1 million bbpress downloads they should have seen it, or know what to do. I have seen some comments that some themeforest themes do not support bbPress, but don’t know about this one.
Ok, so
1. Can you tell me what wordpress theme you’re using or post the url.
2. If I said “copy, rename and edit this xx.php file” would you be terrified ?In reply to: Creating a new forum“It is working now, though I don’t know why.”
It’s a computer – if we understood them we’d need brains the size of planets !
Glad you’re fixed !
In reply to: Forum Questionok, so create the forum as ‘private’ – you see a visibility setting on the forum page when you create it.
Then drop this code into your (child)themes functions file.
//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' => false, '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' => false, 'edit_topics' => false, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => false, 'edit_replies' => false, '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' => false, ); break; default : return $role; } }
The set any tutors up with the tutor role in dashboard>users> user and at the bottom of the set up you’ll see forum role.
If any of that’s not clear or beyond your knowledge, do come back, and I’ll help further
In reply to: Member not getting email notifications.If some are getting and one is not, I’d strongly suspect that it is going into the junk mail of the recipient.
They should be able to add your sites email address to their safe email addresses and the try again !
In reply to: Forums, Topics, Replies – Migration Help!try a forum repair
Dashboard>tools>forums>repair forums and run one at a time
All the entries are in the posts table, they are custom posts, so you can’t break then out individually.
In reply to: how can i show latest thredGreat, glad you’re fixed, and I learnt some more about how bbpress works along the way, so was a good challenge !
In reply to: TwitchTV Integrationhmmm… not sure you’re going to achieve this without some major coding and probably wordpress rather than bbpress related for sign in part.
maybe try
You can post a ‘project’ on there and someone will offer to do it for you
In reply to: Member not getting email notifications.Just one user, or all?
I’d check the email address in users is absolutely correct.
In reply to: Search and users turn blank pagessuggest you start with the usual…
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
In reply to: Buddypress child themeSo you’re fixed, yes ?
In reply to: Forum Questionok, I’ll do some code tomorrow and come back !
In reply to: No toolbar availablecan you open up your site again, and I’ll have a look with firebug to see if I can spot an issue
In reply to: Displaying a custom field in profile pageGreat glad you’re fixed !
“When you send out a link to a topic on the forum, you get “No Results Found” ” – sorry I’m being thick – how are you sending out a link – is this in a newsletter or otherwise?
In reply to: Any suggestions for redirects after mingle import?‘is there a simple way…’
to do what? do you want the new url to look like the old one?
In reply to: Forum QuestionYou could do this.
Presuming you only want tutors to see the forum (not the general public), basically you would set the forum as private, this restricts visibility to logged on users with higher than spectator privaledge to see them.
You would then create a new bbpress role, which has visibility but no access. I think that would be fairly easy – I know how to go about it but have never tested
If you want to go down this route and test, come back and I’ll make a quick function to set this up for you.
You would have full rights – keymaster
Then your clients would have keymaster or moderator role – lets them create forums and new topics (and indeed replies for supplementaries to topics)
You clients’ tutors would have say “tutor” role, which is the spectator role with visibility to private forums added in.
Public would see no forums, topics or repliesIn reply to: Creating a new forumare you still in maintenance mode? The toolbar might come back in live?
In reply to: Sticky Posts not showing in correct orderSort of think that’s how it is designed to work, the idea being that you eye is drawn to the latest unstuck post, and then immediately above it is the latest stuck post, so it works
sticky – early to late.
unsticky – late to early.Suspect there’s a bit of code you can do to change the order.
The function bbp_get_stickiessits in
\bbpress\includes\topics\functions.php
In reply to: Creating a new forumI don’t directly have any experience of maintenance plugins.
However creating a test/backup site, whilst requiring some further learning, is of great benefit, and discussed in the documentation here
In reply to: how can i show latest thredSorry, I failed to add the other bit of code you need !!
The last paragraph should have read :
…and then on your page template add this function where you want it.
<?php if(is_front_page() ) { display_latest_topic () ; } ?>
I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.
If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !
If any of that isn’t clear, do come back, but let me know what theme you’re using as well
In reply to: how can i show latest thredok, so drop the following into your functions file
// Display just latest topic function display_latest_topic() { $topics_query = array( 'post_type' => bbp_get_topic_post_type(), 'post_parent' => $settings['parent_forum'], 'posts_per_page' => '1', 'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ), 'ignore_sticky_posts' => true, 'no_found_rows' => true, 'order' => 'DESC' ); $lt_query = new WP_Query( $topics_query ); while ( $lt_query->have_posts() ) { $lt_query->the_post(); $topic_id = bbp_get_topic_id( $lt_query->post->ID ); ?> <h2> Latest topic </h2> <h3> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink"><?php bbp_topic_title($topic_id); ?></a></h3> <div id="bbpress-forums"> <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> <div class="bbp-meta"> <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id($topic_id); ?></a> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id(); ?> --> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php bbp_reply_author_link( array( 'post_id' => $topic_id, 'sep' => '<br />', 'show_role' => true ) ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <?php bbp_reply_content(); ?> </div><!-- .bbp-reply-content --> </div><!-- .reply --> </div><!--div bbpress-forums---> <?php } }
and then on your page template add this function where you want it. I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.
If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !
In reply to: Forum IssueGreat, glad you’re fixed !
In reply to: Freshness Date FormatNow available as a plugin on