vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to connect log in from another page.? (https://vborg.vbsupport.ru/showthread.php?t=216603)

Gamelobby 06-20-2009 01:03 AM

How to connect log in from another page.?
 
Im trying to tie in the vB login with my webtemplate.

Here is the form/code that is currently in the html for that part.
Code:

<div id="login">
<form name="login" method="post" action="">
<input name="username" type="text" class="login_field" tabindex="1" value="USERNAME" />

<input name="Password" type="password" class="login_field" tabindex="2" value="password" />
                               
<input name="login" type="submit" class="button login" tabindex="3" value="" />
<input name="help" type="button" class="button help" tabindex="4" value="" />
<input name="register" type="button" class="button register" tabindex="5" value="" />
</form>
                </div>

Anyone have anything that can help me..?
Or even point me in the right direction.

Thanks

Lynne 06-20-2009 01:14 AM

Is that the same form from the navbar template? That form has all the necessary items. And are you including global.php in your php page?

Dismounted 06-20-2009 03:56 AM

You aren't specifying an action for the form - currently, the information when submitted is going nowhere.

Gamelobby 06-20-2009 05:34 AM

No that is the blank HTML that came with the web template that i got. I am wondering what i need to do/edit to make it work, so we can use it to login to the vB forums from the web template page.?

See here for the login form on the top left. - http://www.clantemplates.com/templat...uty4_equality/

FYI. This is not a page built into or from vB.

Gamelobby 06-21-2009 05:49 AM

Any other thoughts..?

Or can i help explain it better.

Lynne 06-21-2009 03:00 PM

If you want to login to vbulletin, why don't you just copy the login form from the navbar like I suggested?

Gamelobby 06-24-2009 04:54 AM

Sorry, i thought you didn't understand what i meant.
My issue is that i dont think it has ALL the correct information to link this front page to my vB.?

I guess i will have to play with it more, but i believe i tried copying the same info & it didn't work, but maybe im missing something. That is why i made this post was to see what i might be missing. :)

--------------- Added [DATE]1245908927[/DATE] at [TIME]1245908927[/TIME] ---------------

Is there a page or thread somewhere that explains this kind of stuff.?
I mean i know there are sites out there that you login from the front page (outside of vB) that logs you into the forums automatically.?

My last resort is to just remove the log in from the main page, but it is just that, a last resort.

Thanks

Gamelobby 06-25-2009 05:03 AM

This is what i got when i did that..

Once you enter your username & password then hit login:
It goes to a almost blank white page that says this error
Quote:

The requested method POST is not allowed for the URL /CDS/index.html.

jchamber2010 06-25-2009 09:19 PM

Simply add the url you are originating from to the following setting, and it should work.
AdminCP -> vBulletin Options -> General Settings -> Post Referrer Whitelist

Gamelobby 06-26-2009 04:05 AM

That might work to do something, but it definitely wont work for this.. lol

I appreciate the effort though.
Thanks


All times are GMT. The time now is 01:03 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.00970 seconds
  • Memory Usage 1,733KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete