Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hide Infraction Link For Moderators If They Are Not Moderating The Forum Details »
Hide Infraction Link For Moderators If They Are Not Moderating The Forum
Mod Version: 1.00, by orban (Member) orban is offline
Developer Last Online: Oct 2012 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.6.0 Rating: (0 vote - 0 average) Installs: 13
Released: 15 Aug 2006 Last Update: Never Downloads: 13
Not Supported  

Create a new plugin:

Product: vBulletin
Hook Location: postbit_display_complete
Title: Hide Infraction Link For Moderators If They Are Not Moderating The Forum
Execution Order: 5
Plugin PHP Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is Active: Yes

That's it.


You might want to adjust the 7 if your moderator usergroup id isn't 7.

Note that this only hides the link and doesn't prevent them manually going to the URL.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 15 Aug 2006, 23:00
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
*y2krazy clicks install.
Reply With Quote
  #3  
Old 15 Aug 2006, 23:01
orban orban is offline
 
Join Date: Jan 2005
Really weird this isn't build it, makes absolutely no sense to be honest.
Reply With Quote
  #4  
Old 16 Aug 2006, 07:19
BCC's Avatar
BCC BCC is offline
 
Join Date: Dec 2005
/me Clicks Install

Thanks, Cant this Be Built? and Uploaded as an .xml File?
Reply With Quote
  #5  
Old 16 Aug 2006, 07:24
orban orban is offline
 
Join Date: Jan 2005
Added an .xml file. I thought because it's so small there's no need for one, but oh well.
Reply With Quote
  #6  
Old 16 Aug 2006, 16:47
cynix2 cynix2 is offline
 
Join Date: Apr 2005
Real name: Greg
hey i made this
http://www.vbulletin.org/forum/showthread.php?t=124125
cuz i was trying for the same thing you are
hope you dont mind that i borrowed your plugin, if you'd like i'll list you as a co-writer/supporter
Reply With Quote
  #7  
Old 16 Aug 2006, 16:51
orban orban is offline
 
Join Date: Jan 2005
Sure, I don't mind.

Great spot, didn't look quite in it, because I trust my mods, but they were just annoyed by the button in every post (so I removed that one).
Reply With Quote
  #8  
Old 16 Aug 2006, 18:25
cynix2 cynix2 is offline
 
Join Date: Apr 2005
Real name: Greg
my mods are a little power hungry
Reply With Quote
  #9  
Old 16 Aug 2006, 19:16
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Why do you have the usergroup test in there ?
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #10  
Old 17 Aug 2006, 06:00
Acido Acido is offline
 
Join Date: Apr 2003
This is not working if the user have Moderator as additional usergroup. Please, can you help me with code for "is member of" or something like?
I can't get the correct sentence.

Thanx!
Reply With Quote
  #11  
Old 17 Aug 2006, 09:27
orban orban is offline
 
Join Date: Jan 2005
You can probably leave it out, now that I think about it.

Just go with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #12  
Old 17 Aug 2006, 09:41
Acido Acido is offline
 
Join Date: Apr 2003
Originally Posted by orban
You can probably leave it out, now that I think about it.

Just go with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
That work's perfect to my needs.
Big thanx!
Reply With Quote
  #13  
Old 17 Aug 2006, 20:39
cynix2 cynix2 is offline
 
Join Date: Apr 2005
Real name: Greg
yeah i left it out for the product i released, it should also check additional usergroups
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:54.

Layout Options | Width: Wide Color: