vb.org Archive

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

shlomot 10-26-2008 10:00 PM

Forgot Password & Join Us in Navbar
 
1 Attachment(s)
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:

Bounce 10-27-2008 08:13 PM

Brilliant, thanks :up:

Ohiosweetheart 10-28-2008 12:14 AM

Excellent idea!

Janfri 11-13-2008 06:25 PM

Hi shlomot,
I installed your mod and like it. My only suggestion, instead of using the color name "red" I think it would be better to use the color code #FF0000, as the name is not valid xhtml and the code is.
Thank you very much for the great mod and best regards
Janfri

csoroner 01-17-2009 03:55 PM

Very nice additions!
Thanks!

Clicked installed!

Del_Boy 01-21-2009 03:29 PM

Nice and simple to do but very effective!

Thanks

goxy63 02-11-2009 09:42 PM

This should be default

Thanks guys, great addon

Cheers

DobieGillis? 02-12-2009 02:15 PM

who designed the site, Top Synergy Connections? It's awesome.

shlomot 02-13-2009 02:56 AM

Blush... blush... thank you, DobieGillis so much; your kind words mean the world to me. I still have about two years worth of development to finish the current phase :(

P.S. Please click install (and maybe vote) if indeed you have installed this MOD.

Quote:

Originally Posted by DobieGillis? (Post 1741909)
who designed the site, Top Synergy Connections? It's awesome.


DobieGillis? 02-14-2009 10:45 AM

Quote:

Originally Posted by shlomot (Post 1742485)
Blush... blush... thank you, DobieGillis so much; your kind words mean the world to me. I still have about two years worth of development to finish the current phase :(

P.S. Please click install (and maybe vote) if indeed you have installed this MOD.

I'd love to hire you to do mine! Seriously. Worlk of art.

shlomot 02-14-2009 11:09 AM

I would hesitate to offer my services for a sidewide development, but if it is some added functionality that you need - I'd can either quote you on that or just propose a nice clean way to go about it yourself.

P.S. Here's another pure vB site of mine. Just beware - it's a heavy duty adult site.

Quote:

Originally Posted by DobieGillis? (Post 1743720)
I'd love to hire you to do mine! Seriously. Worlk of art.


bbcentral 02-17-2009 05:18 AM

1 Attachment(s)
Why do people never post screenshots anymore? They always post a link to their forum as a demo, which half the time is either offline, or by the time you go to look at it the forum has changed (as in this case).

To preview this I ended up editing the HTML using Firefox Web Developer Toolbar. Here's how it looked:
Attachment 95008

I'm assuming thats how it's meant to look.

shlomot 02-17-2009 07:18 AM

Thank you very much for your comment and attachment. May I post your attachment in the chief post?

Quote:

Originally Posted by bbcentral (Post 1746556)
Why do people never post screenshots anymore? They always post a link to their forum as a demo, which half the time is either offline, or by the time you go to look at it the forum has changed (as in this case).

To preview this I ended up editing the HTML using Firefox Web Developer Toolbar. Here's how it looked:
Attachment 95008

I'm assuming thats how it's meant to look.


Teresa 02-24-2009 08:57 PM

Quote:

Originally Posted by bbcentral (Post 1746556)
Why do people never post screenshots anymore? They always post a link to their forum as a demo, which half the time is either offline, or by the time you go to look at it the forum has changed (as in this case).

To preview this I ended up editing the HTML using Firefox Web Developer Toolbar. Here's how it looked:
Attachment 95008

I'm assuming thats how it's meant to look.

Which begs the question, why doesn't it look that way on the demo site anymore? Why was it removed?

shlomot 02-25-2009 01:02 AM

Quote:

Originally Posted by Teresa (Post 1753677)
Which begs the question, why doesn't it look that way on the demo site anymore? Why was it removed?

Thanks for pointing it out. I have reset the navbar template after uninstalling a MOD and forgot all about this script. Embarrassing, isn't it. Now it's back in place. Thanks again.

dianna 04-30-2009 04:57 PM

awesome thanks!

odln018 05-02-2009 07:21 PM

Very nice, thank you

BigDog56 05-03-2009 06:10 AM

Very nice, thank you! Clicks "Installed"

DefenceTalk 05-05-2009 05:45 AM

Good idea, great mod. Thank you!

Mustang Sally 05-08-2009 04:24 PM

Cicked installed. Thank you!

SirHappy 06-20-2009 03:19 PM

installed. thx and nice idea!

shlomot 06-20-2009 06:21 PM

OOps... you forgot to click "Installed". Thanks for the complement:)

Quote:

Originally Posted by SirHappy (Post 1833369)
installed. thx and nice idea!


LI_Pets 06-24-2009 10:17 AM

nice, it would be great if it was interfaced with vBa

basilrath 06-25-2009 10:25 PM

actually very simple but very thoughtful

s-p0k 06-26-2009 08:12 PM

TY "Installed"

webgroup 07-05-2009 06:29 PM

thanks for the hack!

adamskiii 08-02-2009 02:51 AM

thank you

shlomot 08-02-2009 05:23 AM

You are most welcome. Just please click INSTALL, and possibly rate the modification.:)
Quote:

Originally Posted by SanaLTutsaK (Post 1859264)
Thanks


pauldack 08-03-2009 10:06 AM

Nice mod, installed it on all my site, cheers.

gameplanets 05-27-2010 04:57 PM

Great hack!

How can I add default Vbulletin hover to links "forgot password" and "Join us!"?

shlomot 05-28-2010 02:31 PM

Thanks for the complement.

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

Quote:

Originally Posted by gameplanets (Post 2044197)
Great hack!

How can I add default Vbulletin hover to links "forgot password" and "Join us!"?


FIM 09-27-2010 03:56 AM

Thanks

Eplexx 11-12-2010 04:37 PM

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

http://is.gd/gYzuR

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>


amin 01-06-2011 03:10 AM

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.

imedic 10-25-2011 01:46 PM

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 --> 


shlomot 10-25-2011 01:54 PM

Thanks a lot, imedic for both practical techniques.


All times are GMT. The time now is 04:54 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.01543 seconds
  • Memory Usage 1,830KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete