View Single Post
  #1  
Old 01-11-2009, 06:31 AM
eXg. Ruiner eXg. Ruiner is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default VBulletin Login on NON VB Page

This has probably been asked many times, but I've done my homework for hours at hand and nothing worked for me. There's some mistake somewhere that I just can't figure out, so I figured it would be best to post here.

I'm trying to install a VBulletin Login on my Main Webpage - www.exg-team.com/index.php

Alright here's the catch. It's logs me in but when it comes to the redirecting page ( ) it redirects me back to - www.exg-team.com/index.php. I'd like for it send me to the forums as logged in.

Forum - http://www.exg-team.com/forums/

Here's the coding I have at the moment, please let me know what errors is preventing the redirection to my Forums. I'm new to this coding on VB so keep it simple but I'd appreciate it a lot! Thanks


Code:
<form action="forums/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">

<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=368"></script>

     <table align="center" cellpadding="0" cellspacing="3" border="0" style="padding-left: 0px;">
       <tr>
	<td align="center" class="smallfont"><label for="navbar_username" style="color: ffffff">User Name:</label>
      </td> 
       </tr>

       <tr>
      <td align="center"><input type="text" class="bginput" style="border: 1px solid rgb(102, 102, 102); background-color: rgb(51, 51, 51); color: rgb(204, 204, 204); width: 100px; height: 13px; color: #85f70a; font-size: 10px;" name="vb_login_username" id="navbar_username" size="12" accesskey="u" tabindex="101" value="" onfocus="if (this.value == '') this.value = '';" />
      </td>
       </tr>

 <br>	

       <tr>
      <td align="center" class="smallfont">
     <label for="navbar_password" style="color: 85F70A;" "font-size: 8px" "font-face: Verdana">Password:</label>
      </td>
       </tr>

       <tr>
      <td align="center">

<input type="password" class="bginput" style="border: 1px solid rgb(102, 102, 102); background-color: rgb(51, 51, 51); color: rgb(204, 204, 204); width: 100px; height: 13px; color: #85f70a; font-size: 10px; font-face: verdana;" name="vb_login_password" id="navbar_password" size="12" tabindex="101" />

      </td>

	<td class="smallfont" colspan="2" nowrap="nowrap"></td>

	 </tr>
     </table>

		<input type="hidden" name="s" value="" />
		<input type="hidden" name="securitytoken" value="" />
		<input type="hidden" name="do" value="login" />		
		<input type="hidden" name="vb_login_md5password" />
		<input type="hidden" name="vb_login_md5password_utf" />
	      <input type="hidden" name="forceredirect" value="http://www.exg-team.com/forums"/>
	

 <br>

<input type="submit" class="button" value="Log in" style="border: 1px solid rgb(102, 102, 102); background-color: rgb(51, 51, 51); color: rgb(204, 204, 204); font-size: 11px;" tabindex="101" title="" accesskey="s" />

 <br>

<label for="cb_cookieuser_navbar" style="color: ffffff;">
<input type="radio" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?

     </label>

</form>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01228 seconds
  • Memory Usage 1,783KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete