Forum Replies Created
-
In reply to: Moderator can only open topic
Simple codes do the tricks. Thanks for your kind support!
In reply to: Moderator can only open topicThanks for replying me on yr holiday. 🙂
I applied yr given code with minor correction of syntax error:
unset($r['close']) ;
The code however return generic critical error message in the webpage. Anything wrong?
Regards
In reply to: Moderators for the same forumThanks for the code! I tested and it basically works well.
@ph59 if you found not working, try change
('12345,34567,78945')
to
('12345','34567','78945')
Regards.
In reply to: Moderators for the same forumPerhaps we can see from another perspective, by hiding admin link “spam”/”unapprove”, forum admin in fact trusts moderators that they will be nice to all participants because their posts will not be moderated by other moderators.
In reply to: Moderators for the same forumHi, I’m actually sharing the same thoughts with u.
I’m thinking that is it possible to hide the admin link “spam” (or “unapproved”) for every topic/reply posted by moderator and keymaster? This will certainly prevent other moderators from moderating each other.
Regards.
In reply to: Trace who spammed/unapproved a topic/reply?Appreciate that! 🙂
In reply to: Trace who spammed/unapproved a topic/reply?So you mean there is nothing we can do so far?
I’m just thinking that spamming (or, unapproving) a topic/reply will immediately “throw” the marked topic/reply to the backend. It will potentially disrupt the whole forum if one moderator has misused these features to the extreme.
Yes, Robin. The codes run without any error. Appreciated your effort in helping me to solve the issue.
There it is:
$bbp_roles['bbp_prime_moderator'] = array(
I’ve tried the two options below but both return errors:
if ($user_role == bbp_get_bbp_prime_moderator_role()) unset ($links['edit']) ;
if ($user_role == bbp_get_prime_moderator_role()) unset ($links['edit']) ;
Yes. It works beautifully! 🙂
I just found out something when I thought the issue is solved. The code works well with native bbpress role, but not work with new role created. I have a new role “prime_moderator” created using your plugin, but the code return error when I apply this new role to the codes. Any suggestions?
Regards.
Hi Robin, thanks for your prompt reply.
The code does not work. Perhaps something missing?
I only take this
if ($user_role == bbp_get_moderator_role()) unset ($links['edit']) ;
When moderator log in, he still can see the “edit” link.Regards.
They are all bbpress roles.
In reply to: Pagination not showing correctlyOh ok. Thanks.
Now I shifted back to
[bbp-topic-index]
and limit the number of displayed topics in WordPress dashboard setting>forum. And it finally displays page number.In reply to: Close topic labelIt works.
Thanks for helping me despite your tight schedule!In reply to: Close topic labelTwo forums:
“Medical and Health Takaful”
and
“Endowment/Saving Plan”
In reply to: Close topic labelHi, these two topics are closed:
https://paste.pics/NKT55In reply to: Close topic labelWith [Closed] label one. 🙂
In reply to: Close topic labelHere is my site link.
In reply to: Close topic labelThanks Robin.
The CSS seems not working. The highlight is still visible for closed topic.
In reply to: Close topic labelI’m looking for a transparent background (Topic/Reply Display item 4) since I have already set two different colours for odd & even forum listing background (Forum Index Styling > Forum Content > Background Color).
If I use single colour in Topic/Reply Display item 4, this colour will be visible in either odd/even forum background settings.
In reply to: Close topic labelHi, I recently saw this topic and it helps me solve one problem.
I can finally use this CSS to disable the grey-out effect when the topic is closed:
#bbpress-forums .status-closed, #bbpress-forums .status-closed a { color: #000 !important; }
From this previous topic also, CSS can do equally well to add [Closed] label beside the closed topic title in topic list page:
#bbpress-forums .status-closed > li.bbp-topic-title > a.bbp-topic-permalink:after { content: "[Closed]"; text-shadow: 1px 1px 0 #ffffff; color: #ff0000; margin-right: 5px; }
I wonder if we can use CSS (instead of PHP codes) to add another [Closed] label beside the topic title in single topic page. Any solution?
See https://paste.pics/N5WS0Also, I’m still searching for ways to disable the defaulted pink font highlight when the topic is closed. Hope somebody can help.
See https://paste.pics/N8U5TRegards.
In reply to: Close topic labelYes. It’s done beautifully. Thanks!
One last closed topic customization job: to DISABLE the default font highlight & grey-out effect if the topic is closed. Hope this is not as tricky as it may appear.
See screenshot:
https://paste.pics/N8U5TRegards
In reply to: Close topic labelYou’re right. This code does not work in my theme. Well, think we just put this part on hold first.
Next, I want to change font label [Closed] to RED colour. Can we do that?
Regards.
In reply to: Close topic labelHi, thanks a lot! … feel amazed to see how coding can do the changes to our forum layout.
This code just works fine in topic listing page.
For topic page, it would be perfect if user can still see the [Closed] label beside the topic title.
See https://paste.pics/N5WS0Regards.
In reply to: Close topic labelHi, do u mean we replace
add_filter ('the_title' , 'rew_add_close_to_topics') ;
with
add_action ('bbp_theme_before_topic_title' , 'rew_add_close_to_topics', 15);
?