The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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> Or even point me in the right direction. Thanks |
#2
|
||||
|
||||
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?
|
#3
|
||||
|
||||
You aren't specifying an action for the form - currently, the information when submitted is going nowhere.
|
#4
|
||||
|
||||
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. |
#5
|
||||
|
||||
Any other thoughts..?
Or can i help explain it better. |
#6
|
||||
|
||||
If you want to login to vbulletin, why don't you just copy the login form from the navbar like I suggested?
|
#7
|
||||
|
||||
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 |
#8
|
||||
|
||||
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:
|
#9
|
|||
|
|||
Simply add the url you are originating from to the following setting, and it should work.
AdminCP -> vBulletin Options -> General Settings -> Post Referrer Whitelist |
#10
|
||||
|
||||
That might work to do something, but it definitely wont work for this.. lol
I appreciate the effort though. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|