vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   VBulletin Login on NON VB Page (https://vborg.vbsupport.ru/showthread.php?t=201394)

eXg. Ruiner 01-11-2009 06:31 AM

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>


Balu29 01-11-2009 10:30 AM

thanks :)

dannykilla 01-11-2009 01:39 PM

This is in the incorrect place, for assistance in coding you may want to post here

https://vborg.vbsupport.ru/forumdisplay.php?f=112

Taragon 01-11-2009 01:53 PM

<a href="http://www.vbulletin.com/forum/showpost.php?p=1035837&postcount=17" target="_blank">http://www.vbulletin.com/forum/showp...7&postcount=17</a>

eXg. Ruiner 01-11-2009 06:21 PM

Quote:

Originally Posted by Taragon (Post 1708568)

I could kiss you Taragon :p

Thanks guys and sorry for posting in wrong forum

Taragon 01-11-2009 06:55 PM

No thanks :D
Feel free to snog Chroder though


All times are GMT. The time now is 07:36 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.00988 seconds
  • Memory Usage 1,731KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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