Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Mod Tools Details »»
Quick Mod Tools
Version: 1.1.2, by orryun orryun is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.7.x Rating:
Released: 10-10-2008 Last Update: 10-18-2008 Installs: 175
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-14-2008, 11:42 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to a user profile in adminCP -> Quick user links -> select 'Email activation codes'
The member will receive an email with its account activation codes.
Reply With Quote
  #23  
Old 10-14-2008, 11:48 PM
faxreport faxreport is offline
 
Join Date: Jun 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice shortcut , saves time, installed and rated

thankx
Reply With Quote
  #24  
Old 10-14-2008, 11:49 PM
orryun orryun is offline
 
Join Date: Aug 2007
Location: Israel
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Go to a user profile in adminCP -> Quick user links -> select 'Email activation codes'
The member will receive an email with its account activation codes.
Maybe it's another mod. In the clean vb 3.7-3.8 there is NOT "Email activation codes".

https://members.vbulletin.com/docs/h...rs_quick_links
Reply With Quote
  #25  
Old 10-15-2008, 12:14 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Much better.

One note of wierdness: I updated using the overwrite option and ended up with two Tools bars in the UserCP. The Products section in my AdminCP listed Quick Mod Tools 1.1 and also Quick Mod Tools 2.0. No idea where that came from. I uninstalled BOTH listed versions and then reinstalled and it worked correctly.

I'm really curious to know how I did that time jump to a version that doesn't yet exist.
Reply With Quote
  #26  
Old 10-15-2008, 12:22 AM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the following code below, you are assuming that everyone's mod control panel is found in the directory modcp. But I changed mine for security purposes. I manually made the changes in your code but it may be an issue for others that have done the same. I highlighted in red the directory I had to change to make this work.

BTW, I also changed the directory of my admincp!
Code:
  ]]></template>
		<template name="postbit_modtools" templatetype="template" date="0" username="OrRyuN" version="1.1"><![CDATA[
		
			<if condition="$show[modtools_basic] OR $show[modtools_adv]">
				<if condition="$show[modtools_ban]">
				<if condition="$post[usergroupid]=='8'"><!-- if user is banned -->
					<tr><td class="vbmenu_option">
					<a href="modcp/banning.php?do=liftban&u=$post[userid]">$vbphrase[modtools_liftban]</a>
				<else /><!-- user is not banned -->
					<tr><td class="vbmenu_option">
					<a href="modcp/banning.php?$session[sessionurl]do=banuser&amp;u=$post[userid]">$vbphrase[modtools_ban]</a></td></tr></if></if>
					<if condition="$show[modtools_editsig]"><tr><td class="vbmenu_option"><a href="modcp/user.php?do=editsig&u=$post[userid]">$vbphrase[modtools_censorsig]</a></td></tr></if>
					<if condition="$show[modtools_edit2]"><tr><td class="vbmenu_option"><a href="moderator.php?do=useroptions&u=$post[userid]">$vbphrase[modtools_edit2]</a></td></tr></if>
			</if>
Reply With Quote
  #27  
Old 10-15-2008, 12:23 AM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
Thanks! Much better.

One note of wierdness: I updated using the overwrite option and ended up with two Tools bars in the UserCP. The Products section in my AdminCP listed Quick Mod Tools 1.1 and also Quick Mod Tools 2.0. No idea where that came from. I uninstalled BOTH listed versions and then reinstalled and it worked correctly.

I'm really curious to know how I did that time jump to a version that doesn't yet exist.
Same thing happened to me but I figured the 2.0 was the old one and uninstalled it since the new release was 1.1!

(sorry for the double post!)
Reply With Quote
  #28  
Old 10-15-2008, 12:33 AM
Mr. Bone88 Mr. Bone88 is offline
 
Join Date: Aug 2005
Location: California
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone,

I believe the 2.0 xml file is what gives you the Quick Mod Tools option in the VB options. If you just install the 1.1 xml file the option is removed from the VB options. So, you might want to have both files installed. Hope this helps.

Take care,
-Mr. Bone88
Reply With Quote
  #29  
Old 10-15-2008, 12:33 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carrlos View Post
In the following code below, you are assuming that everyone's mod control panel is found in the directory modcp. But I changed mine for security purposes. I manually made the changes in your code but it may be an issue for others that have done the same. I highlighted in red the directory I had to change to make this work.

BTW, I also changed the directory of my admincp!
Code:
  ]]></template>
		<template name="postbit_modtools" templatetype="template" date="0" username="OrRyuN" version="1.1"><![CDATA[
		
			<if condition="$show[modtools_basic] OR $show[modtools_adv]">
				<if condition="$show[modtools_ban]">
				<if condition="$post[usergroupid]=='8'"><!-- if user is banned -->
					<tr><td class="vbmenu_option">
					<a href="modcp/banning.php?do=liftban&u=$post[userid]">$vbphrase[modtools_liftban]</a>
				<else /><!-- user is not banned -->
					<tr><td class="vbmenu_option">
					<a href="modcp/banning.php?$session[sessionurl]do=banuser&amp;u=$post[userid]">$vbphrase[modtools_ban]</a></td></tr></if></if>
					<if condition="$show[modtools_editsig]"><tr><td class="vbmenu_option"><a href="modcp/user.php?do=editsig&u=$post[userid]">$vbphrase[modtools_censorsig]</a></td></tr></if>
					<if condition="$show[modtools_edit2]"><tr><td class="vbmenu_option"><a href="moderator.php?do=useroptions&u=$post[userid]">$vbphrase[modtools_edit2]</a></td></tr></if>
			</if>
To be fair, you really can't expect add-on coders to code for non-standard installations.
Reply With Quote
  #30  
Old 10-15-2008, 12:36 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr. Bone88 View Post
Hi everyone,

I believe the 2.0 xml file is what gives you the Quick Mod Tools option in the VB options. If you just install the 1.1 xml file the option is removed from the VB options. So, you might want to have both files installed. Hope this helps.

Take care,
-Mr. Bone88


There IS no version 2.0 though. Just 1.0 and now 1.1.
Reply With Quote
  #31  
Old 10-15-2008, 12:37 AM
Mr. Bone88 Mr. Bone88 is offline
 
Join Date: Aug 2005
Location: California
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post


There IS no version 2.0 though. Just 1.0 and now 1.1.
Install both and one will show up as 1.1 & 2.0

Take care,
-Mr. Bone88
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06212 seconds
  • Memory Usage 2,319KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete