vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   vBulletin Login on External page (https://vborg.vbsupport.ru/showthread.php?t=296546)

Linue_DarkStar 03-26-2013 09:10 PM

vBulletin Login on External page
 
So after digging through this site, I've found coding that allows you to log into vBulletin from an external page. But once you go back to that external page, it'll show the login windows again, even though you're already logged into vBulletin.

I'd love to see if there's any way to get it so once you log in, you can go back to that external page, and it say "Welcome Linue_DarkStar" and have a Logout button.

This is have I have currently...

PHP Code:

<form action="forums/login.php?do=login" method="post" class="alignright" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
        <
script type="text/javascript" src="vbpath/clientscript/vbulletin_md5.js?v=373"></script>
 <
input type="hidden" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />
 <
label>User Name: <input name="vb_login_username" type="text" id="login" tabindex="101" class="textbox" accesskey="u" size="10"/></label>
 <
label>Password: <input name="vb_login_password" type="password" id="password" tabindex="102" class="textbox" size="10"/></label>
 <
input name="submit" type="submit" id="submit" tabindex="1" value="Log in" />
     <
br <tr><td colspan="2">Remember Me? <input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" /></td></tr>
 <
input type="hidden" name="do" value="login" />
 <
input type="hidden" name="url" value="http://www.gso-space.com/index.php" />
 <
input type="hidden" name="vb_login_md5password" />
 <
input type="hidden" name="vb_login_md5password_utf" />
 <
input type="hidden" name="s" value="" />
           </
form


I'd greatly appreciate the help.

Lynne 03-26-2013 09:23 PM

Did you try using this article to do this?

[HOW TO - vB4] Create your own vBulletin page

Linue_DarkStar 03-26-2013 10:17 PM

I don't want to make my own vBulletin page, I would like to allow Users to login into the vBulletin forums at my company's homepage (http://www.gso-space.com/).

Lynne 03-26-2013 10:45 PM

Well, you need to include the global.php file (or at least the includes/init.php file) in your other page if you want this to work. You need to make sure a session is created for the user in the session table.

Linue_DarkStar 04-16-2013 05:31 PM

How would I go about that?

Lynne 04-16-2013 09:29 PM

I already posted a link on making a page that does that.


All times are GMT. The time now is 07:33 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.01081 seconds
  • Memory Usage 1,736KB
  • 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_php_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