Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 01-11-2009, 10:30 AM
Balu29 Balu29 is offline
 
Join Date: Sep 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #3  
Old 01-11-2009, 01:39 PM
dannykilla's Avatar
dannykilla dannykilla is offline
 
Join Date: Jun 2007
Location: Manchester, UK
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

https://vborg.vbsupport.ru/forumdisplay.php?f=112
Reply With Quote
  #4  
Old 01-11-2009, 01:53 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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>
Reply With Quote
  #5  
Old 01-11-2009, 06:21 PM
eXg. Ruiner eXg. Ruiner is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taragon View Post
I could kiss you Taragon

Thanks guys and sorry for posting in wrong forum
Reply With Quote
  #6  
Old 01-11-2009, 06:55 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No thanks
Feel free to snog Chroder though
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:40 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.11523 seconds
  • Memory Usage 2,210KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete