The Arcive of vBulletin Modifications Site. |
|
Ban or Password reminder in user profile Details »»
|
|||||||||||||||||||||||||
Hey all,
i created a simple "code" that with it you can Ban user or reminde him his password from his proffile. Here is what you need to do. Go to Admincp >Style manager > then go to MEMBERINFO Template After that search "$navbar" then place this below "$navbar" Code:
<if condition="$show['modcplink']">
<br />
<font face="Arial">
<div width="100%">
<strong>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr>
<td class="tcat" align="center">
Manage User:
</td>
<!-- if user isn't banned-->
<if condition="$userinfo[usergroupid]=='8'"><!-- if user is banned -->
<td class="thead" align="center">
<a href="$modcpdir/banning.php?do=liftban&u=$userinfo[userid]">Remove Ban</a>
</td>
<td class="thead" align="center">
<a href="$modcpdir/banning.php?do=editreason&userid=$userinfo[userid]">Banning Reason</a>
</td>
<else /><!-- if user isn't banned-->
<td class="thead" align="center">
<a href="$modcpdir/banning.php?do=banuser&u=$userinfo[userid]">Ban</a>
</td>
</if>
<td class="thead" align="center">
<a href="$modcpdir/user.php?do=editsig&u=$userinfo[userid]">Edit Signature</a>
</td>
<if condition="$show['admincplink']">
<td class="thead" align="center">
<a href="$admincpdir/user.php?do=editaccess&u=$userinfo[userid]">Edit Forum Premmisions</a>
</td>
</if>
</tr></table>
</strong>
</div>
</font>
<br />
</if>
After you done. click save. go to some user profile and see what its done. Click install if you dont mind and like this "hack" by the way sorry for my bad English. Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
in use.
thanks. |
|
#3
|
|||
|
|||
|
Nice one, thanks
|
|
#4
|
|||
|
|||
|
Maybi soon i will add more finctions to this modification
|
|
#5
|
|||
|
|||
|
i really like your mods i hope u will release more
i have about 10 mods installed and 3 are of u |
|
#6
|
|||
|
|||
|
huh, Tnx dude.
|
|
#7
|
|||
|
|||
|
gonna tag this one. would like to see a screen shot first. can you add a screen shot please of what the user sees?
|
|
#8
|
|||
|
|||
|
users can't see it.
only super mod + |
|
#9
|
|||
|
|||
|
When I click the "Password Reminder" link I get a screen with the following message:
"Click the button below to send a password reminder to " [SEND] Note it's missing their name or user ID or whatever should be there. If I click send it gives me the following error: "You have not entered an email address that we recognize. Please try again or contact the administrator." What do I need to fix? |
|
#10
|
|||
|
|||
|
I noticed this bug too right now.
i will try do fix it and then update this script |
![]() |
|
|