Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

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
  #2  
Old 09-01-2009, 10:51 AM
enemy@fps enemy@fps is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in use.
thanks.
Reply With Quote
  #3  
Old 09-01-2009, 12:11 PM
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Location: UK
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, thanks
Reply With Quote
  #4  
Old 09-01-2009, 04:22 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybi soon i will add more finctions to this modification
Reply With Quote
  #5  
Old 09-05-2009, 09:00 PM
enemy@fps enemy@fps is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i really like your mods i hope u will release more

i have about 10 mods installed and 3 are of u
Reply With Quote
  #6  
Old 09-06-2009, 11:04 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

huh, Tnx dude.
Reply With Quote
  #7  
Old 09-06-2009, 12:42 PM
multiplex multiplex is offline
 
Join Date: Jun 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gonna tag this one. would like to see a screen shot first. can you add a screen shot please of what the user sees?
Reply With Quote
  #8  
Old 09-06-2009, 03:55 PM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

users can't see it.
only super mod +
Reply With Quote
  #9  
Old 09-08-2009, 11:33 AM
ForrestBlack ForrestBlack is offline
 
Join Date: Mar 2004
Location: Hollywood
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 09-09-2009, 03:48 AM
Alexey? Alexey? is offline
 
Join Date: Oct 2008
Location: ISRAEL
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed this bug too right now.
i will try do fix it and then update this script
Reply With Quote
Reply

Thread Tools

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 04:22 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.04839 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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