Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Simple login page/box/code for external pages Details »»
Simple login page/box/code for external pages
Version: 1.00, by gusfune gusfune is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 03-24-2008 Last Update: Never Installs: 106
Re-useable Code Translations  
No support by the author.

Ever wondered how you could add your own login box or fully customized login page outside your VB forums?
Ever had problems with other solutions that require a lot of files, PHP coding that in the end need a lot of tweaks or can give you a big headache?

Well, the problem is now solved.
100% Reliable
100% Bug Free*
No Uneeded codes running

No PHP knowledge required



*if you use the code properly

By just using the same piece of code used in every Vbulletin pages I've managed to create login pages, boxes in any page I wanted outside my forums. Works 100% and by just following the instructions (2 simple steps) you'll be able to add and customize your login page wherever you want.

There is a screenshot of an example page built with this code that it's fully customized and logins to the forums on another domain. Just an example of what you can do.

The ZIP file contain the code instructions and 2 HTML pages with the code inside.
There are two versions of the code: With or Without "Remember me?" checkbox.

Hope it helps.
If you've found this useful, had problems with other methods of external login, etc, consider donating a small amount, I'd appreciate

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-04-2008, 11:38 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I will try it.
Reply With Quote
  #13  
Old 04-04-2008, 11:46 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, I would like to have the same of smooth-c has requested. This becouse I can use this one in order to login an user on my forum.. but I want to make a login form and then a 'welcome box' in order to redirect my user to the same page, where they can see his welcome message (with avatar, if possible)..
Reply With Quote
  #14  
Old 05-21-2008, 07:10 AM
LT Mote's Avatar
LT Mote LT Mote is offline
 
Join Date: Jul 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be used for an external domain as well? such as subdomain or domain1.com and domain2.com If so could u paste the appropriate code for me


Thanks in advance.
Reply With Quote
  #15  
Old 05-29-2008, 01:11 AM
sdavis2702 sdavis2702 is offline
 
Join Date: Apr 2008
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack... thanks!

I added the highlighted portion so that the site would open up in a new window

<form action="http://MySite'sURL/login.php?do=login" target="_new" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">


Thanks!!!
Reply With Quote
  #16  
Old 05-29-2008, 02:22 AM
wicked80 wicked80 is offline
 
Join Date: Feb 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome...this was exactly what i was looking for since last couple of days for my wordpress homepage. Thanks a zillion !!!
Reply With Quote
  #17  
Old 05-31-2008, 05:18 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now see this is a great mod, But I dont like external scripts for 1 reason, I tell my mmebers never to use one of these that directs to my forum for the fatal cause that someone probably implemented a logging code to get their login, thats one reason why I dont use these and tell my members only to loging directly on the forums. Otherwise this is a good code.
Reply With Quote
  #18  
Old 05-31-2008, 11:47 PM
oz_girl's Avatar
oz_girl oz_girl is offline
 
Join Date: Mar 2008
Location: Australia
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod
Reply With Quote
  #19  
Old 08-14-2008, 03:28 AM
cmedic101 cmedic101 is offline
 
Join Date: Feb 2008
Location: N.E.Pa
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod Good instructions and it works well with 3.7x

thank you


cmedic101
Reply With Quote
  #20  
Old 08-16-2008, 05:36 PM
Thronx Thronx is offline
 
Join Date: Aug 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks indeed!

I see something interesting here. The code has referrences to a php variable and the javascript function mhash() in the onsubmit, which aren't in the html page (or included). Yet it still works. In fact, I removed all references to the function and php variable, and it *still* works! Perhaps the vBulletin login.php page sees missing values and generates them at that point.

This is the html code, amazingly:

<form action="path-to-your-forum/forums/login.php?do=login" method="post">
<input type="hidden" name="do" value="login" />
<input type="hidden" name="url" value="path-back-to-your-original-page" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" />
<label>Username:<input name="vb_login_username" type="text" id="login" tabindex="1" class="bginput" accesskey="u"/></label>
<label>Password<input name="vb_login_password" type="password" id="password" tabindex="1" class="bginput" /></label>
<input name="submit" type="submit" id="submit" tabindex="1" value="Login" accesskey="s" class="button" />
</form>

! Cheers, Jeffrey
Reply With Quote
  #21  
Old 09-11-2008, 01:03 AM
gusfune's Avatar
gusfune gusfune is offline
 
Join Date: Jan 2007
Location: Bras?lia, Brazil
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LT Mote View Post
Can this be used for an external domain as well? such as subdomain or domain1.com and domain2.com If so could u paste the appropriate code for me
Works on any domain, just follow the instructions

Quote:
Originally Posted by Thronx View Post
Many thanks indeed!

I see something interesting here. The code has referrences to a php variable and the javascript function mhash() in the onsubmit, which aren't in the html page (or included). Yet it still works. In fact, I removed all references to the function and php variable, and it *still* works! Perhaps the vBulletin login.php page sees missing values and generates them at that point.
Thanks! I'll be releasing an update soon with improvements on the code, update to the latest Vbulletin version (just going to do a few checks) and releasing a update that will make possible for users to show a "logged in" box in external pages. Coming soon.
Reply With Quote
Reply

Thread Tools

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 06:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04727 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete