Announcement

Collapse
No announcement yet.

Moderator tools

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Moderator tools

    Can certain things in this drop down be hidden with CSS and attached to a certain moderator group?

    #2
    I guess this is not possible then

    Comment


      #3
      It seems to be possible hiding each of them separately using CSS but I still have to check. But I was thinking that some of them can be controlled by usergroup permissions? For example, I think there's a permission for Can Delete Post. If you disable it, then I think the corresponding moderation menu item will not be displayed.
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        Thanks Glenn
        I tried all the different combinations of user permissions. They either show to many or not the right ones that I need. If I can pick and choose which ones show would be fantastic. The software should really have been built with this feature.
        Example!!
        I need the moderator to be able to move entire topics, and edit / soft delete. I don't want them to be able to move individual posts around, merge threads etc... Plus there is the invert, sticky and other unneeded things

        A CSS for each item under the cog and the note pad is what i'm looking for

        Comment


          #5
          I finally had a chance to look into the HTML and CSS used for the Inline Moderation submenus. Please see below:

          Administrative Submenu (with Cog or Gear icon) CSS Classes:
          • Move Topic: moderation-move
          • Open Topic: moderation-open
          • Close Topic: moderation-close
          • Approve Topic: moderation-approve
          • Unapprove Topic: moderation-unapprove
          • Copy Topic: moderation-copy
          • Edit Topic: moderation-edit
          • Delete Topic: moderation-delete
          • Undelete Topic: moderation-undelete
          • Stick Topic: moderation-stick
          • Unstick Topic: moderation-unstick
          • Remove Redirects: moderation-remove-redirects
          • Feature Topic: moderation-feature
          • Unfeature Topic: moderation-unfeature

          Moderation Submenu (with Notepad icon) CSS Classes:
          • Move Posts: moderation-move
          • Merge Posts: moderation-merge
          • Copy Posts: moderation-copy
          • Delete Posts: moderation-delete
          • Undelete Posts: moderation-undelete
          • Approve Posts: moderation-approve
          • Unapprove Posts: moderation-unapprove
          • View Selected Posts: moderation-view
          • Select All: moderation-select-all
          • Select None: moderation-select-none
          • Invert Selection: moderation-select-invert
          • Select Unapproved Posts: moderation-select-unapproved
          • Select Deleted Posts: moderation-select-deleted
          • Select Posts with Attachments: moderation-select-attachments

          The format for the CSS selector would be:

          Code:
          /* Hide Administrative Submenu (with Cog or Gear icon) items by Usergroup */
          #vb-page-body[data-usergroupid="[COLOR=#FF0000][I]userGroupIdNumberHere[/I][/COLOR]"] .administrative-submenu [B].[/B][COLOR=#FF0000][I]submenuItemCSSClassHere [/I][/COLOR]{
              display: none;
          }
          
          /* Hide Moderation Submenu (with Notepad icon) items by Usergroup */
          #vb-page-body[data-usergroupid="[COLOR=#FF0000][I]userGroupIdNumberHere[/I][/COLOR]"] .moderation-submenu [B].[/B][COLOR=#FF0000][I]submenuItemCSSClassHere[/I][/COLOR] {
              display:none;
          }
          For example, if you want to hide Move Topic and Delete Topic in the Administrative submenu for Moderators usergroup:

          Code:
          /* Hide Administrative Submenu (with Cog or Gear icon) items by Usergroup */
          #vb-page-body[data-usergroupid="7"] .administrative-submenu .moderation-move,
          #vb-page-body[data-usergroupid="7"] .administrative-submenu .moderation-delete {
              display:none;
          }
          If you want to hide Move Posts and Delete Posts in the Moderation submenu for Moderators usergroup:

          Code:
          /* Hide Moderation Submenu (with Notepad icon) items by Usergroup */
          #vb-page-body[data-usergroupid="7"] .moderation-submenu .moderation-move,
          #vb-page-body[data-usergroupid="7"] .moderation-submenu .moderation-delete {
              display:none;
          }
          If you want to hide items for multiple usergroups, just the follow the format and add it to an existing code and separate it with comma as shown in the example above.

          Let me know if there's something I didn't explain clearly. Or if the code doesn't work. I didn't test the code and just wrote it by hand.
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


            #6
            Thanks Glenn.. I'll try this out later

            Comment


              #7
              Glenn
              I started doing a few and so far they worked except ""moderation-unstick""
              Any ideas on that one?

              Comment


                #8
                Add !important

                Code:
                [I]yourCssSelectorHere[/I] {
                    display:none [COLOR=#FF0000]!important[/COLOR];
                }
                Helpful? Donate. Thanks!
                Buy me a coffeePayPal QR Code
                Fast VPS Host for vBulletin:
                A2 Hosting & IONOS

                Comment


                  #9
                  Send me a bill for this It's exactly what I needed.

                  Thanks


                  Glenn don't forget about the Ajax for cloud auto update

                  Comment


                  • Mitch
                    Mitch commented
                    Editing a comment
                    figured it out

                  • glennrocksvb
                    glennrocksvb commented
                    Editing a comment
                    Just click on the coffee picture ☕ on my signature. Thanks!

                  • glennrocksvb
                    glennrocksvb commented
                    Editing a comment
                    Thanks for the coffee! ☕

                  #10
                  disregard again , i'm good

                  Comment


                    #11
                    Glad you figured it out.
                    Helpful? Donate. Thanks!
                    Buy me a coffeePayPal QR Code
                    Fast VPS Host for vBulletin:
                    A2 Hosting & IONOS

                    Comment

                    Users Viewing This Page

                    Collapse

                    There is 1 user viewing this forum topic.

                    • Guest Guest

                    Latest Posts

                    Collapse

                    Working...
                    X
                    Searching...Please wait.
                    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                    Please push the back button and reload the previous window.'
                    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                    Please push the back button and reload the previous window.'
                    An internal error has occurred and the module cannot be displayed.
                    There are no results that meet this criteria.
                    Search Result for "|||"