vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Moderators Functions - Quick Mod Tools (https://vborg.vbsupport.ru/showthread.php?t=193374)

orryun 10-10-2008 10:00 PM

Quick Mod Tools
 
Quick Mod Tools
-----------------
Created by OrRyuN.

This mod works with vBulletin 3.7 or higher
My first mod :)

Description
Adds quick links to useful places (such as ban user, edit signature etc.) to moderators.

The links apear in the MEMBERINFO template, above the username, and in the pop-up menu in posbit & postbit_legacy.

Basic Links (for moderators usually)
Included in MEMBRINFO: Ban user | Lift Ban | Ban Reason | Edit Signature
included in postbit: Ban user | Lift Ban | Edit User Profile

Advanced Links (for administrators usually)
Included in MEMBRINFO: Ban user | Lift Ban | Ban Reason | Edit Signature | Edit Permissions | Remind Password | Delete All Posts
included in postbit: Ban user | Lift Ban | Edit User Profile

Settings:
Mod enabled/disabled
UPDATE 1.1: enable/disable each tool
Usergroups allowed to use Basic Links
Usergroups allowed to use Advanced Links

-----------------------

Update v1.1 / 16th Oct 08:
Settings: added enable/disable for each tool

-----------------------

Update v1.1.1 / 16th Oct 08:
Bug: Password Reminder bug was fixed

-----------------------
Update v1.1.2 / 19th Oct 08:
Supports custom modcp and admincp locations

-----------------------
I hope you'd like it :)

MarkoP 10-11-2008 07:57 PM

I'll be watching this one for sure! Nice..

FindYourHost 10-11-2008 07:58 PM

Nice tool!

digicom 10-11-2008 09:00 PM

Installed Apprciated

metrika 10-11-2008 09:05 PM

Can a moderator ban an administrator?

orryun 10-11-2008 09:07 PM

Quote:

Originally Posted by metrika (Post 1642937)
Can a moderator ban an administrator?

No.
This mod uses link to the MODCP/ACP.

djbaxter 10-11-2008 09:38 PM

Delete all posts is a bit dangerous. How do I disable that option?

n95gps 10-11-2008 11:42 PM

yes delete all post is really somthing you should conceder changing

now by the way if i have my modecp root and name changed will this work and how do i go by changing it

thanx

orryun 10-12-2008 03:40 AM

Quote:

Originally Posted by djbaxter (Post 1642956)
Delete all posts is a bit dangerous. How do I disable that option?

Quote:

Originally Posted by n95gps (Post 1642992)
yes delete all post is really somthing you should conceder changing

now by the way if i have my modecp root and name changed will this work and how do i go by changing it


thanx

You can easily modify the memberinfo_modtools template, by:
find & delete:
PHP Code:

<td class="thead" align="center">
    <
a href="$admincpdir/thread.php?do=pruneuser&u=$userinfo[userid]&f=9999999">$vbphrase[modtools_deleteall]</a>
    &
nbsp;&nbsp;
   </
td

And I can't find this dangerous as all the admins who got access to prune users can do it, even without my mod. If you don't want admins access to this, you must set their admin permissions.

djbaxter 10-12-2008 04:07 AM

Tried that. It doesn't seem to work -p at least the link is still there in advanced in the UserCP.

Edit: Sorry. Yes it does. Need to edit the XML product file. I was trying to do it via the template modifications manager. :o

Thanks! May I suggest you remove this feature in the next release or at least make it optional?


All times are GMT. The time now is 11:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01194 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete