vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   End-User Options - Forgot Password & Join Us in Navbar (https://vborg.vbsupport.ru/showthread.php?t=178064)

shlomot 05-03-2008 10:00 PM

Forgot Password & Join Us in Navbar
 
No changes are needed for 3.8.x
Go here for the 3.8.x MOD

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:

Blackheart_72 05-04-2008 11:19 AM

Thanks.:)

shlomot 05-04-2008 11:59 AM

You're welcome.

P.S. You may like to fix the URL in your signature line. Nice forum though:)

Quote:

Originally Posted by Veccy 150 (Post 1507977)
Thanks.:)


Blackheart_72 05-04-2008 01:07 PM

Quote:

Originally Posted by shlomot (Post 1508014)
You're welcome.

P.S. You may like to fix the URL in your signature line. Nice forum though:)

Cheers, always forget to put the " at the end.:o

obmob 05-05-2008 02:54 PM

Cool... I was thinking about this some days ago, thanks! :p

whitetigergrowl 05-05-2008 04:18 PM

Simple yet effective. Thanks!

gbechtel 05-12-2008 02:34 PM

Great idea. just made a little addition to mine

Added <a style="font-size:8pt; color: red;" href="register.php">Sign Up!</a>

Code:

<!-- Forgot Password Line Starts -->
                <tr>
                  <td colspan="2">
                  <a style="font-size:8pt; color: red;" href="login.php?do=lostpw">Forgot Password?</a> | <a style="font-size:8pt; color: red;" href="register.php">Sign Up!</a>
                  <td>
                </tr>
<!-- Forgot Password Line Ends -->

Demo: http://www.masscops.com/forums/index.php

shlomot 05-13-2008 03:26 AM

What a great idea. Would you like me to add it to the MOD, with full creadit to you of course?

I'll definitely embed it in my template.

Quote:

Originally Posted by gbechtel (Post 1517259)
Great idea. just made a little addition to mine

Added <a style="font-size:8pt; color: red;" href="register.php">Sign Up!</a>

Code:

<!-- Forgot Password Line Starts -->
                <tr>
                  <td colspan="2">
                  <a style="font-size:8pt; color: red;" href="login.php?do=lostpw">Forgot Password?</a> | <a style="font-size:8pt; color: red;" href="register.php">Sign Up!</a>
                  <td>
                </tr>
<!-- Forgot Password Line Ends -->

Demo: http://www.masscops.com/forums/index.php


Boofo 05-13-2008 07:50 AM

How about a text file with the instructions? ;)

Hornstar 05-19-2008 07:48 AM

Thanks, ive been meaning to do this again for a while.


All times are GMT. The time now is 12:29 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.01175 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete