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

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
  #52  
Old 02-14-2013, 02:00 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Grimes View Post
Same thing happens for me. Forgotten_Your_Password and Forgot_Your_Password work fine, but if I try shorter phrases such as Lost_Password or Recover_Password etc, they don't appear at all, just a small box like what ar15dcm has pictured. The only difference is that I am replacing the help button. Any suggestions?
Perhaps...
Once it's added:
vBAdmin --> Language & Phrases --> Search in Phrases --> Forgotten Your Password?

Translation then Save.
Reply With Quote
  #53  
Old 02-14-2013, 03:20 AM
Grimes Grimes is offline
 
Join Date: Jun 2012
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WorldCraft View Post
lost_password or recover_password are not valid phrases if that's what you were trying to use. You can either create a custom phrase with the text you want, or don't use a phrase at all and put the text directly into the template (though it is better practice to use a phrase).
Thank you so much. So, I just add the phrase I want to use in the phrase manager (lost_password?), and then I can use it in the header edit?
Reply With Quote
  #54  
Old 02-14-2013, 01:38 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I find it easier to just edit the header template.
This will hide the Help and Add the Forgotten Your Password?

Code:
<vb:comment><li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li></vb:comment><li><a href="login.php?do=lostpw{vb:raw session.sessionurl_q}">{vb:rawphrase forgotten_your_password}</a></li>
Then change the language by:
vBAdmin --> Language & Phrases --> Search in Phrases --> Search for Text--> Forgotten Your Password

Enter your Words/Text in the Translation then Save
Reply With Quote
  #55  
Old 02-14-2013, 07:26 PM
Grimes Grimes is offline
 
Join Date: Jun 2012
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Running View Post
I find it easier to just edit the header template.
This will hide the Help and Add the Forgotten Your Password?

Code:
<vb:comment><li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li></vb:comment><li><a href="login.php?do=lostpw{vb:raw session.sessionurl_q}">{vb:rawphrase forgotten_your_password}</a></li>
Then change the language by:
vBAdmin --> Language & Phrases --> Search in Phrases --> Search for Text--> Forgotten Your Password

Enter your Words/Text in the Translation then Save
Thanks! That did the trick!:up:
Reply With Quote
Благодарность от:
Mr_Running
  #56  
Old 02-15-2013, 07:42 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Grimes View Post
Thank you so much. So, I just add the phrase I want to use in the phrase manager (lost_password?), and then I can use it in the header edit?
You can title the phrase however you want. Just when you call it in the template you use this syntax: {vb:rawphrase phrase_name}
Reply With Quote
  #57  
Old 02-18-2013, 01:37 PM
neya's Avatar
neya neya is offline
 
Join Date: Jan 2013
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much, installed.
Reply With Quote
  #58  
Old 08-09-2013, 11:33 PM
TravisWPaquin's Avatar
TravisWPaquin TravisWPaquin is offline
 
Join Date: Aug 2012
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is it when I try to change the phrase it does not work? Anyone? It can't be hard to change so I'm unsure what I am doing wrong.
Reply With Quote
  #59  
Old 04-08-2023, 10:49 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work on 4.2.6 php 7.2
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 08:34 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.04374 seconds
  • Memory Usage 2,320KB
  • 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
  • (5)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (3)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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