vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Login on my header (https://vborg.vbsupport.ru/showthread.php?t=129559)

nickchrisless 10-20-2006 07:15 PM

Login on my header
 
I'm just putting together my website and was wondering if there were a way to remove the login section of the forum and have it be on my site's header instead above my menu.

Here's a screenshot to help illustrate.

http://img109.imageshack.us/img109/3779/login6qb.jpg

I've gotten it to work by plugging in the login info from the navbar template...

however I can't get it to recognize the forum settings...

My test page is: www.sportstalknet.net/header.html

Can anyone look at my code and let me know if you know why it's not picking up on the forum settings?

Code:

<!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
               
                <div class="logintext"><label for="navbar_username">User Name:</label>
                        <input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
                        <br><label for="navbar_password">Password:</label>
                        <input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
                        <br>Remember Me?<input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />
                        <input type="image" class="button"  src="images/login.gif" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
                </div>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->


nickchrisless 10-21-2006 07:23 PM

bump

Ah, I figured it out... thanks anyhow. Please delete

goals2gether 10-24-2006 11:38 AM

please let me know how you did it!

nickchrisless 10-25-2006 01:39 PM

The only thing I changed was the form action url... instead of just the "login.php?do=login", I put the full url in there. Easy fix.

So now I have "http://www.sportstalknet.net/forums/login.php?do=login"

In other words, just make sure you're a bit more specific.

Markith 10-25-2006 05:09 PM

Thanks Nick,,,I have been wondering this also...will give it a try soon


All times are GMT. The time now is 07:43 AM.

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.00923 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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