enkoes (@enkoes)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 87 total)
  • @enkoes

    Participant

    Thanks 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.

    @enkoes

    Participant

    Perhaps 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.

    @enkoes

    Participant

    Hi, 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.

    @enkoes

    Participant

    Appreciate that! 🙂

    @enkoes

    Participant

    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.

    @enkoes

    Participant

    Yes, Robin. The codes run without any error. Appreciated your effort in helping me to solve the issue.

    @enkoes

    Participant

    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']) ;

    @enkoes

    Participant

    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.

    @enkoes

    Participant

    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.

    @enkoes

    Participant

    They are all bbpress roles.

    @enkoes

    Participant

    Oh 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 label

    @enkoes

    Participant

    It works.
    Thanks for helping me despite your tight schedule!

    In reply to: Close topic label

    @enkoes

    Participant

    Two forums:

    “Medical and Health Takaful”

    and

    “Endowment/Saving Plan”

    In reply to: Close topic label

    @enkoes

    Participant

    Hi, these two topics are closed:
    https://paste.pics/NKT55

    In reply to: Close topic label

    @enkoes

    Participant

    With [Closed] label one. 🙂

    In reply to: Close topic label

    @enkoes

    Participant

    Here is my site link.

    In reply to: Close topic label

    @enkoes

    Participant

    Thanks Robin.

    The CSS seems not working. The highlight is still visible for closed topic.

    In reply to: Close topic label

    @enkoes

    Participant

    I’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 label

    @enkoes

    Participant

    Hi, 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/N5WS0

    Also, 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/N8U5T

    Regards.

    In reply to: Close topic label

    @enkoes

    Participant

    Yes. 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/N8U5T

    Regards

    In reply to: Close topic label

    @enkoes

    Participant

    You’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 label

    @enkoes

    Participant

    Hi, 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/N5WS0

    Regards.

    In reply to: Close topic label

    @enkoes

    Participant

    Hi, 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);?

    In reply to: Close topic label

    @enkoes

    Participant

    I notice that [Closed] label appears beside forum name as well:

    See screenshot:
    https://paste.pics/N3JIW

    We need to get rid of it also.

    Regards.

    In reply to: Close topic label

    @enkoes

    Participant

    Thank you so much, Robin!

    Two more things to make it perfect:
    1) to disable the default font highlight & grey-out effect;
    2) to change font colour [Closed] to red to make it stands out the rest.

    Regards.

Viewing 25 replies - 26 through 50 (of 87 total)