Forum Replies Created
-
In reply to: Forums index does not work
no problem, glad to have helped
In reply to: Post Previewcan you give me a source for the plugin?
In reply to: Forums index does not workyou can take out one of the forums by
dashobaord>settings>forums>Forum Root Slug>Forum Prefix and untick
In reply to: Create new topic in indexthanks, that was exactly the help I needed to get to the right code 🙂
I’ve just released version 3.7.0 which has a filter you can use to change that link.
If you update and then you add this code to your child theme‘s functions file
add_filter ('bsp_new_topic_button', 'rew_change_button' ) ; add_filter ('bsp_create_new_topica', 'rew_change_button' ) ; function rew_change_button () { $href = 'https://mysite/leden/forum/ledenforum/#bsptopic' ; return $href ; }
then it won’t be affected.
Please come back and confirm that it works for you.
In reply to: Create new topic in indexas it’s very near xmas and I’m pretty tied up, can you show the altered function that you created, which will save me time in finding it.
thanks
In reply to: Just installed bbPressgreat looking site !!
In reply to: Code Tagno problem, glad you are fixed !
In reply to: Forums index does not workI think it is your theme, but of you are only having one forum, then you could create a page called anything and put
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
you can find the ID of your forum by looking at the number in the url when esiting it ie in
dashboard>forums>all forums>edit forum
and use this page as your forum page.
It may work, it may not 🙂
In reply to: Forums index does not workok, think I have just had a thought
so you have one forum called ‘forum’ – yes ?
In reply to: Add pin icon for top five forumsorry, I can see no easy way to do this.
In essence the code above just calls some standard bbpress functions, and these won’t recognise that they have been called by the code, so adding content to then is not possible as far as I can see.
To do this would need some bespoke code
In reply to: Forums index does not workcan only think that you have a 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: No emails are being sentI presume you are subscribed to the forums and topics that you are expecting them from – sorry, but 4 years on here and you always ask the obvious 🙂
If you have done ALL of the above, the I would set up https://en-gb.wordpress.org/plugins/bbpress-notify-nospam/ and see if that is sending, which would help reduce the issue further
then come back
In reply to: Clicking reply links doesn’t workno problem, glad I could help 🙂
In reply to: Feature requestsno problem, glad I could help 🙂
In reply to: Change Authenticationbbpress simply uses wordpress login, so if you get wordpress to understand that it is logged in , then bbpress will also.
Maybe one for a wordpress support forum
In reply to: Forum with nested categoriesbbpress only displays 2 levels, so when you click the 2nd level, you will get to see the lower down forums.
It is possible to code for lower levels, if you are happy with coding you’d be looking at
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
and some coding around bbp_list_forums()
to get a further loopAs for breadcrumb – yes by default you should have one , but themes can turn these off
In reply to: bbPress pulling (seemingly) random php from themehmm… agree – any chance of taking a look
contact me via my website if needed
In reply to: Clicking reply links doesn’t workif you look at the black banner at the top with the menu, you can see text scroll behind it. bbpress thinks it is displaying the start of the reply at the top of the screen, but actually it is behind the banner
In reply to: unsubscribe a user from everything given a useridJust had a quick look in between other tasks, and totally untested, but this should work if it has no bugs
function dsk_remove_all_subscriptions ($user_id) { global $wpdb; //first remove forum subscriptions $forum=bbp_get_forum_post_type() ; $forum_ids=$wpdb->get_col("select ID from $wpdb->posts where post_type = '$forum'") ; foreach ($forum_ids as $forum_id) { bbp_remove_user_forum_subscription( $user_id, $forum_id ) ; } //then remove topic subscriptions $topic=bbp_get_topic_post_type() ; $topic_ids=$wpdb->get_col("select ID from $wpdb->posts where post_type = '$topic'") ; foreach ($topic_ids as $topic_id) { bbp_remove_user_topic_subscription( $user_id, $topic_id ); } }
If you get it working, then please confirm or post back the final code.
If you need further help do come back and I’ll see if I can help further
In reply to: unsubscribe a user from everything given a useridyes it seems this question has been asked before and I can’t see that anyone has written such a function.
It is quite do-able, and I’ll see how easy it is to achieve
In reply to: Visual Editor not showingvery strange…not sure I’m going to be much use – I think you into lots of try this/try that testing
Hope you figure it out, and if you do, please post the solution here – that will help others who google it as a question later !
In reply to: Forums index does not workthe forums link seems to be
/forums/forum/forum which is a bit weird.
so can you confirm that you have a page called ‘forums’ with a permalink of ‘forums’ and the shortcode
[bbp-forum-index] in it?In reply to: Feature requestsfrom a read through all looks ok except
add_filter( 'bbp_get_teeny_mce_buttons', 'rew_remove_image_button_in_bbpress' );
should read
add_filter( 'bbp_get_teeny_mce_buttons', 'wppa_remove_image_button_in_bbpress' );
In reply to: Feature requestsFrom a read through looks ok to me, but just change
add_filter( ‘bbp_get_teeny_mce_buttons’, ‘rew_remove_image_button_in_bbpress’) ;
to
add_filter( ‘bbp_get_teeny_mce_buttons’, ‘wppa_remove_image_button_in_bbpress’) ;
to run your amended function
In reply to: bbPress pulling (seemingly) random php from themewhich method in part 3 are you doing?