Can certain things in this drop down be hidden with CSS and attached to a certain moderator group?
Announcement
Collapse
No announcement yet.
Moderator tools
Collapse
X
-
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!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
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
- Top
- Translate
- Bottom
Comment
-
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; }
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; }
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; }
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!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
Add !important
Code:[I]yourCssSelectorHere[/I] { display:none [COLOR=#FF0000]!important[/COLOR]; }
Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
Comment
-
Glad you figured it out.Helpful? Donate. Thanks!
Fast VPS Host for vBulletin:
A2 Hosting & IONOS
- Top
- Translate
- Bottom
- Likes 1
Comment
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
by rdanI have multiple vBulletin 3 and 4 Licenses available for sale...
vBulletin 3.x
For the vBulletin 3.x Forum Licenses, some are standalone...Yesterday, 08:30 PM -
by MitchOn the unread, is there a way to have this option listed?
https://www.vintagefordforum.com/unread...Yesterday, 04:24 PM
Comment