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
Forgot Password & Join Us in Navbar Details »»
Forgot Password & Join Us in Navbar
Version: 1.1, by shlomot shlomot is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: End-User Options - Version: 3.8.x Rating:
Released: 10-26-2008 Last Update: 10-26-2008 Installs: 135
Template Edits
Re-useable Code Translations  
No support by the author.

So far there are 124 marked installations of this mod in v3.7.x

No modification is required if you have installed this mod in 3.7.x and upgrading now to 3.8.x

Even in this little community, we are getting around three request each week from members to send them their forgotten password.

Without questioning too much why hasn't the second-to-none vBulletin provide so far the extra "Forgot Password?" link in NavBar, here's a simple template edit to provide better accessibility to the Forgot Password page:

In this new version 1.1, we've also added a Join Us link on the same line thanks to gbechtel's great suggestion.


Instructions for fresh install:

Search for the following script in navbar template:
Code:
      <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
    </tr>

and enter below the following code:
Code:
    <!-- Forgot Password Line Starts -->
    <tr>
      <td colspan="2">
        <a style="font-size:8pt; color: red;" href="login.php?do=lostpw">Forgot Password?</a>
      </td>
      <td style="text-align: right;">
        <a style="font-size:8pt; color: red;" href="register.php">Join Us!</a>
      </td>
    </tr>
    <!-- Forgot Password Line Ends -->

You can replace the color expression "color: red;" to any other color that you like. Here's a nice html color table.

You may also like to set another font size in the expression "font-size:8pt;" to: font-size:9pt;, font-size:10pt; etc.

Instructions for upgrade from previous version:

Search for the following script in navbar template:
Code:
<!-- Forgot Password Line Starts -->

and replace everything from the start tag to the end with:
Code:
                <!-- Forgot Password Line Starts -->
                <tr>
                  <td colspan="2">
                    <a style="font-size:8pt; color: red;" href="login.php?do=lostpw">Forgot Password?</a>
                  </td>
                  <td style="text-align: right;">
                    <a style="font-size:8pt; color: red;" href="register.php">Join Us!</a>
                  </td>
                </tr>
                <!-- Forgot Password Line Ends -->

That's all there is to it folks

Please do not forget to rate, mark installed, or even nominate (not for this elementary mode but for filling in on an importent issue)

Demo: Top Synergy Connections

Forgot Password in Other Languages:

Download Now

File Type: txt Forgot Password v1.1 readme.txt (2.6 KB, 191 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 05-28-2010, 02:31 PM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the complement.

By "hover", I guess you mean mouse over. please be more specific and detailed.

Quote:
Originally Posted by gameplanets View Post
Great hack!

How can I add default Vbulletin hover to links "forgot password" and "Join us!"?
Reply With Quote
  #33  
Old 09-27-2010, 03:56 AM
FIM FIM is offline
 
Join Date: Aug 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #34  
Old 11-12-2010, 04:37 PM
Eplexx Eplexx is offline
 
Join Date: Nov 2010
Location: Toronto
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After changing around some code this mod works for the genises theme now:



Code:
<table><!-- Forgot Password Line Starts -->
                <tr>
                  <td colspan="2">
                    <a style="font-size:8pt; color: red;" href="login.php?do=lostpw">Forgot Password?</a>
                  </td>
                  <td style="text-align: right;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <a style="font-size:8pt; color: red;" href="register.php">Join Us!</a>
                  </td>
                </tr>
                <!-- Forgot Password Line Ends --></table>
Reply With Quote
  #35  
Old 01-06-2011, 03:10 AM
amin's Avatar
amin amin is offline
 
Join Date: Dec 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I translated the script for Arabic users.

PHP Code:
  <!-- Forgot Password Line Starts -->
    <
tr>
      <
td colspan="2">
        <
a style="font-size:8pt; color: red;" href="login.php?do=lostpw"> &#1607;ل نسيت كلمة المرور؟</a>
      
</td>
      <
td style="text-align: right;">
        <
a style="font-size:8pt; color: red;" href="register.php">&#1573;نضم معنا!</a>
      
</td>
    </
tr>
    <!-- 
Forgot Password Line Ends --> 
thank you Shlomot for this Mod.
Reply With Quote
  #36  
Old 10-25-2011, 01:46 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have added rel no follow for SEO purposes to all links and also I have used the phrases built in VB so no need to translate a thing. Hope it helps:

PHP Code:
<!-- Forgot Password Line Starts -->
    <
tr>
      <
td colspan="2">
        <
a style="font-size:8pt; color: red;" href="./forum/login.php?do=lostpw" rel="nofollow">$vbphrase[forgotten_your_password]</a>
      </
td>
      <
td style="text-align: right;">
        <
a style="font-size:8pt; color: red;" href="./forum/register.php" rel="nofollow"$vbphrase[register]</a>
      </
td>
    </
tr>
    <!-- 
Forgot Password Line Ends --> 
Reply With Quote
  #37  
Old 10-25-2011, 01:54 PM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot, imedic for both practical techniques.
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:43 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.04344 seconds
  • Memory Usage 2,312KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (1)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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_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