Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Extra Modoptions into users posts (Ban Link, Edit Avatar, Edit sign,..) Details »
Extra Modoptions into users posts (Ban Link, Edit Avatar, Edit sign,..)
Mod Version: 1.00, by Sofia (Designer) Sofia is offline
Developer Last Online: Aug 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (9 votes - 4.22 average) Installs: 183
Released: 23 May 2009 Last Update: Never Downloads: 23
Not Supported Re-usable Code Translations  

Useful. This mod allows you to ban an user directly from his posts. A link appear in the dropwon menu of the member. When you click "Ban this user", it opens a popup window where you can ban ban user of the post. v2: Now you can edit signature, avatar, profilpic



v2
Special Thanks to SirHappy for this code


In the template postbit and postbit_legacy,


Find:


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



Add below:


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


Modcp Name
: If you've rename your modcp folder in your server, please change a href="modcp/ in this code.

First condition : <if condition="in_array($post[usergroupid], array(2))">
Show link in menu of usergroupid specified.
Don't enter admin and mod ID. If you enter "2", ban link appear in the dropdown menu of Members.


Second condition : <if condition="in_array($bbuserinfo['usergroupid'], array(6,7))">
In this example, only admins and moderators are able to view ban link. Pleaser specify usergroup ID who can vien ban link.

v1
** Remove **

Please click INSTALL if you like this mod.

Enjoy !

Edit by Lynne: 2009-12-12 - The comment line in the code was incorrect - it showed --!> at the end of the comment line and was supposed to be -->. I corrected that in the code above.

Download Now

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

Addons

Screenshots

Click image for larger version

Name:	1.png
Views:	1230
Size:	59.3 KB
ID:	99534  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Profile Enhancements can't edit avatar until have X posts AliMadkour vBulletin 3.7 Add-ons 3 02 Oct 2008 16:18
Edit Avatar link in UserCP Brad vBulletin 2.x Template Modifications 8 19 Jun 2003 08:30

Comments
  #2  
Old 24 May 2009, 00:26
understyle understyle is offline
 
Join Date: May 2007
Thanks Sofia!
Nice
Reply With Quote
  #3  
Old 24 May 2009, 05:50
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
thank you sofia
Reply With Quote
  #4  
Old 24 May 2009, 09:17
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Modification : Now, when you click "Ban this user", it opens a popup window where you can ban ban user of the post.See screenshot
Reply With Quote
  #5  
Old 24 May 2009, 09:47
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
How similar in code is this in relation to an existing modification located here?
http://www.vbulletin.org/forum/showthread.php?t=133257
Reply With Quote
  #6  
Old 24 May 2009, 09:54
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Originally Posted by Biker_GA View Post
How similar in code is this in relation to an existing modification located here?
http://www.vbulletin.org/forum/showthread.php?t=133257
Yes, similar mod for 3.6
I didn't see this mod. Sorry.
Reply With Quote
  #7  
Old 30 May 2009, 09:37
shinng's Avatar
shinng shinng is offline
 
Join Date: May 2009
works great, installed.
Reply With Quote
  #8  
Old 31 May 2009, 21:25
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
This code only works for one usergroup. How can you add multiple user groups to it?
Reply With Quote
  #9  
Old 31 May 2009, 21:26
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
nevermind....didnt read it enough
Reply With Quote
  #11  
Old 01 Jun 2009, 10:21
nnStaff nnStaff is offline
 
Join Date: May 2009
Nice; I have something similar but rather than "this user" I've used the variable "$post[username]" so that it actually shows their username.
Reply With Quote
  #12  
Old 03 Jun 2009, 00:26
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
Originally Posted by nnStaff View Post
Nice; I have something similar but rather than "this user" I've used the variable "$post[username]" so that it actually shows their username.
Yes, you can add this variable
Reply With Quote
  #13  
Old 03 Jun 2009, 03:42
marshal_ramdev marshal_ramdev is offline
 
Join Date: Mar 2009
Real name: Marshal
nice ne , thanks
Reply With Quote
  #14  
Old 14 Jun 2009, 10:26
Frank Sinatra's Avatar
Frank Sinatra Frank Sinatra is offline
 
Join Date: Nov 2008
thanks sweety, lets try it
Reply With Quote
  #15  
Old 27 Jun 2009, 18:49
SirHappy SirHappy is offline
 
Join Date: Jul 2007
Thanks Sofia,

I have your code for me extended

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

German Translation: Zusätzliche Moderatoroptionen in der Beitragsansicht
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 00:31.

Layout Options | Width: Wide Color: