Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Replace Help with Forgotten Password Details »»
Replace Help with Forgotten Password
Version: 2.00, by thetgc thetgc is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 02-12-2010 Last Update: 10-11-2010 Installs: 217
Template Edits
Re-useable Code  
No support by the author.

This will replace the 'Help' button next to your login boxes with a 'Forgotten Password?' button, making it easier for your members to reset their password.

To do this, all you have to do, is edit your 'header' template.

Go to: Admincp > Styles & Templates > Style manager > Edit templates > Show Thread templates > header

In the header template, Find:

Code:
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li>
Replace with:

Code:
<li><a href="login.php?do=lostpw{vb:raw session.sessionurl_q}">{vb:rawphrase forgotten_your_password}</a></li>
Voila! That easy!

It will go from:



To this:



The only difference to the image above when using the vb phrase is that it says 'Forgotten Your Password?' rather than ' Forgotten Password?' which would make more sense really :P
Although its totally your choic depending on how much space you want to use. Is so just remove the following line and replace with what you want between the arrows:

Code:
{vb:rawphrase forgotten_your_password}
If you wish to keep your 'Help' button just add this code above or beneath to suit your needs.

To get the little user icon and padlock images for your login area, use this mod.

Download Now

File Type: txt Forgotten Password.txt (384 Bytes, 164 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
acmalin927, davidg

Comments
  #22  
Old 10-11-2010, 10:37 AM
nkumaran nkumaran is offline
 
Join Date: Jul 2009
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Reply With Quote
  #23  
Old 10-11-2010, 10:29 PM
thetgc thetgc is offline
 
Join Date: Apr 2009
Location: Middlesbrough
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Keep on eye on the vbulletin updates though as some updates won't merge the templates so you may need to re-apply the code.
Reply With Quote
  #24  
Old 10-11-2010, 10:55 PM
thetgc thetgc is offline
 
Join Date: Apr 2009
Location: Middlesbrough
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sKippah View Post
Well u also could change the phrase. Better for Multilanguage boards
Sorry for the late reply, been away for a long time.

I have changed the mod to suit this It would make more sense to have it this way.
Reply With Quote
  #25  
Old 10-11-2010, 10:56 PM
thetgc thetgc is offline
 
Join Date: Apr 2009
Location: Middlesbrough
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bankfodder View Post
This is very useful but I agree, why get rid of the help option?
Just add this mod immediately above the line of code to be replaced - so that it is there as well, and you have both lost password AND help.
Depends on how much space of the header you are willing to give up without it looking too cramped
Reply With Quote
  #26  
Old 10-26-2010, 06:50 PM
sebaxtian sebaxtian is offline
 
Join Date: Nov 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!! Thank!! installed 4.0.8..
Reply With Quote
  #27  
Old 10-27-2010, 12:35 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It didn't worked for me, it started showing the whole {raw forgotten etc etc etc } in the button, I ended up taking it out and replaced with the old Help but now the button shrunk and the word Help cannot be seen.

Help!.
Reply With Quote
  #28  
Old 11-13-2010, 12:39 AM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, This Mod is very helpul for my site
Reply With Quote
  #29  
Old 11-16-2010, 05:14 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Handy little edit thanks!
Reply With Quote
  #30  
Old 11-17-2010, 07:17 PM
thetgc thetgc is offline
 
Join Date: Apr 2009
Location: Middlesbrough
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by barcena View Post
It didn't worked for me, it started showing the whole {raw forgotten etc etc etc } in the button, I ended up taking it out and replaced with the old Help but now the button shrunk and the word Help cannot be seen.

Help!.
Then you are not doing this properly, or you are using a comletely custom style on your forums.
I have tested this mod in a range of different enviroments and has worked every time.
Reply With Quote
  #31  
Old 11-20-2010, 07:13 PM
lodos0677 lodos0677 is offline
 
Join Date: Jun 2010
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

İnstalled.thanks.
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 05:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04545 seconds
  • Memory Usage 2,328KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete