Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ban or Password reminder in user profile Details »»
Ban or Password reminder in user profile
Version: 1.00, by Alexey? Alexey? is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 08-31-2009 Last Update: Never Installs: 19
Template Edits
Translations  
No support by the author.

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:
&nbsp;&nbsp;
</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>
    &nbsp;&nbsp;
   </td>
   <td class="thead" align="center">
    <a href="$modcpdir/banning.php?do=editreason&userid=$userinfo[userid]">Banning Reason</a>
    &nbsp;&nbsp;
   </td> 
  <else /><!-- if user isn't banned-->
   <td class="thead" align="center">
    <a href="$modcpdir/banning.php?do=banuser&u=$userinfo[userid]">Ban</a>
    &nbsp;&nbsp;
   </td> 
  </if>
  <td class="thead" align="center">
   <a href="$modcpdir/user.php?do=editsig&u=$userinfo[userid]">Edit Signature</a>
   &nbsp;&nbsp;
  </td>
<if condition="$show['admincplink']">
<td class="thead" align="center">
<a href="$admincpdir/user.php?do=editaccess&u=$userinfo[userid]">Edit Forum Premmisions</a>
&nbsp;&nbsp;
</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

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

Comments
  #12  
Old 09-09-2009, 06:32 PM
t6mnt t6mnt is offline
 
Join Date: Sep 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, thanks
Reply With Quote
  #13  
Old 09-10-2009, 05:51 AM
cleverone's Avatar
cleverone cleverone is offline
 
Join Date: Feb 2009
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will check out when u update.. thanks
Reply With Quote
  #14  
Old 09-27-2009, 07:23 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Modification has been updated
Reply With Quote
  #15  
Old 09-30-2009, 08:27 AM
dandanch dandanch is offline
 
Join Date: Nov 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to find the "password reminder"button can please add a screenshot, thanks very nice mod.
Reply With Quote
  #16  
Old 09-30-2009, 02:29 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry but it didn't work so i deleted it from the modification and instead of that i put some other options like edit ban reason , remove ban .

Hope it won't bother you so much.
Reply With Quote
  #17  
Old 09-30-2009, 04:47 PM
dandanch dandanch is offline
 
Join Date: Nov 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope it won't, i still like your mod.. very nice work
Reply With Quote
  #18  
Old 09-30-2009, 07:21 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
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:28 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.04896 seconds
  • Memory Usage 2,287KB
  • 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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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