vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Login problem... (https://vborg.vbsupport.ru/showthread.php?t=70333)

javo 10-08-2004 05:38 PM

Login problem...
 
I put code on the front of my site where a user can login. Problem is when you login in it opens up the page that says "Thank you for logging in user. Click here if your browser does not automatically forward you" when it refreshes, it doesnt go to the forums, it goes back to the front page of the site.

any idea? If you type in a wrong password it goes to login.php like it should and gives you the invalid username or password page.

I'm close I know I am..

This is the code I have..

Code:



<!-- login form -->

<form action="/forum/login.php" method="post">

<script type="text/javascript" src="/forum/clientscript/vbulletin_md5.js"></script>

<table cellpadding="0" cellspacing="3" border="0" width="194">

<tr>

<td class="smallfont" align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">User Name</font></td>

<td align="center" width="74">

<p align="center">

<input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="" onfocus="if (this.value == 'User Name') this.value = '';" /></td>

</tr>

<tr>

<td class="smallfont" align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Password</td>

<td align="center" width="74">

<p align="center">

<input type="password" class="button" name="vb_login_password" size="11" accesskey="p" tabindex="2" /></td>

</tr>

</table>

<p>

<input type="image" src="fpage/index_24.jpg" tabindex="4" title="" style="float: right" width="52" height="27" ></p>

<input type="hidden" name="s" value="" />

<input type="hidden" name="do" value="login" />

<input type="hidden" name="forceredirect" value="1" />

<input type="hidden" name="vb_login_md5password" />

</form>

<!-- / login form -->



any ideas?

peterska2 10-09-2004 01:57 AM

That would be right then.

If they are logging it it always returns you to where you where when you logged in.

javo 10-11-2004 04:02 AM

crap.. I want it to take them to the forums.. How can I do that?

javo 10-12-2004 02:02 PM

Nobody knows?

I'm sure someone has the right code.


All times are GMT. The time now is 05:09 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.00972 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)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