Forum Replies Created
-
sorry, this is into web design and beyond help in a support forum
In reply to: Notify user when a reply goes into moderationgood, I may improve it later!
In reply to: Notify user when a reply goes into moderationok, let’s try upping the priority as that plugin updates the url, so change
add_filter ('bbp_new_reply_redirect_to' , 'rew_pending_check', 10 , 3) ;to
add_filter ('bbp_new_reply_redirect_to' , 'rew_pending_check', 30 , 3) ;🙂
In reply to: Notify user when a reply goes into moderationah, I think you have a moderation plugin as you moderate all repiles – yes?
In reply to: Notify user when a reply goes into moderationthanks
In reply to: Notify user when a reply goes into moderation@clivesmith just tried an anonymous post using
//add message if reply help in moderation add_filter ('bbp_new_reply_redirect_to' , 'rew_pending_check', 10 , 3) ; function rew_pending_check ($reply_url, $redirect_to, $reply_id) { $status = get_post_status ($reply_id) ; if ($status == 'pending' ) { $reply_url = '/moderation/' ; } return $reply_url ; }and it does redirect to the moderation page – can you recheck yours please ?
In reply to: When I reply to topic I am taken to first topic pagethink it is already covered in this
In reply to: Notify user when a reply goes into moderationgreat – thanks – I’ll look at anonymous posting and see if I can help
In reply to: Turn off @mentionsbest I can find is the last post from this thread
https://buddypress.org/support/topic/updated-solution-to-removing-mentions/
In reply to: When I reply to topic I am taken to first topic pageas I say I think it is a long standing bug.
In reply to: Forum Moderators Not Workgreat – glad you are fixed
ok, we are not a website design site.
Each forum is a page, and a page has a url, which is how to link to it.
You just need to learn how to create links, and send users to the url that is the forum page you want thme to go to
plenty of places to learn how to do that if you google
eg
In reply to: forum title in topics pagePut this in your child theme’s function file – or use
add_action ('bbp_template_before_replies_loop' ,'rew_show_forum' ) ; function rew_show_forum () { $forum_id = bbp_get_topic_forum_id() ; $title = bbp_get_forum_title($forum_id) ; echo '<div class="rew-in-forum">In forum : '.$title.'</div>' ; }you’re welcome
In reply to: Notify user when a reply goes into moderationso are you saying my code does nothing for anonymous users ? It seems to work for logged in users.
am doing further testing later, but your feedback would be useful
In reply to: Notify user when a reply goes into moderationinteresting that your one adds ‘/?moderation_pending=7364’ to the end – would give a neat way to give a link back to the topic.
or this for full name
add_shortcode ('kiki-greet' , 'kiki_greet' ) ; function kiki_greet() { $user = wp_get_current_user() ; echo $user->first_name.' '.$user->last_name ; }ah, sorry forgot that I had done that for you !
add_shortcode ('kiki-greet' , 'kiki_greet' ) ; function kiki_greet() { $user = wp_get_current_user() ; echo $user->display_name ; }and
[kiki-greet]In reply to: Notify user when a reply goes into moderationthanks, and yes I spotted the { this morning !
I did no testing before posting it – I’m planning on looking later, so I’ll see what it does on my site
In reply to: Notify user when a reply goes into moderationauthors are working on stuff – they chat on slack most days – they were discussing topic counts yesterday. But they have day jobs, and writing and testing fixes when your plugin is affecting 300,000 users takes a lot of time and careful thought.
I do this totally voluntarily, so strain is entirely self inflicted 🙂 But thanks that you are thinking of me, cheers me up !
It would be good to get some feedback on the code, but I’m chugging on looking at it as a side project whilst I wait clients coming back on paid projects.
ok, so not sure how this page is created, can you tell me how you did
Our 2 users have created 4 topics with 7 replies.
that will tell me how best to help you
In reply to: Forum Moderators Not Workparticipants can create topics in all public and private forums.
Moderators have the ability to perform actins such as closing topics, deleting topics etc.
If you want some users to ony be able to create topics in ceraton forums, then you will need
In reply to: Notify user when a reply goes into moderationjust had a thought
create a WordPress page with a permalink of ‘/moderation’ and in that put some text say
‘your post is being held pending moderation’
tehn put this in your child theme’s function file – or use
//add message if reply held in moderation add_filter ('bbp_new_reply_redirect_to' , 'rew_pending_check', 10 , 3) ; function rew_pending_check ($reply_url, $redirect_to, $reply_id) $status = get_post_status ($reply_id) ; if ($status == 'pending' ) { $reply_url = '/moderation/' ; } return $reply_url ; }not perfect by any means, but better than the nothing they now get
If you could test for me, I’ll see if I can improve how it works
In reply to: Notify user when a reply goes into moderation@clivesmith – had a think about guest posters – we can’t show the post, as by definition they are not logged in, so unless you show all moderation replies to all users (which defeats the purpose of moderation 🙂 ) they won’t see the post.
bbpress doesn’t have the functionality that chuckie shows for topics above.
I’ll try and see if I can work some code as I dig further into this, but no promises 🙂