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
  #2  
Old 03-24-2008, 11:03 PM
gusfune's Avatar
gusfune gusfune is offline
 
Join Date: Jan 2007
Location: Bras?lia, Brazil
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To-do list (what to expect in future releases):
Currently the login box when you log will redirect you to your main boards page, if you go back to where the login page, you'll see the login box again. I plan soon to upgrade the code and show a logged in stat.

Can you put a register button?
You can do it yourself by just adding the following line on the code wherever you want the register line to be:
Code:
<a href="pathtoyourforums/register.php">Not a member? Register now</a>
Reply With Quote
  #3  
Old 03-24-2008, 11:49 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting.
My site is primarily cold fusion, with a vB forum.
Can i use this in a CF page?
Reply With Quote
  #4  
Old 03-25-2008, 02:21 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 dilbert View Post
Interesting.
My site is primarily cold fusion, with a vB forum.
Can i use this in a CF page?
I don't have experience with cold fusion, but being this code only HTML tags, I don't think you'll have problems implemnenting it on your page.
Reply With Quote
  #5  
Old 03-25-2008, 03:59 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quite a bit different to the other mod like this, in that it doesnt need to connect to your site, it just posts the values. It's a bit easier to use in that sense, and as described this will work on a html page, doesnt have to be php.

Nice one. Works good.
Reply With Quote
  #6  
Old 03-28-2008, 08:54 PM
jeddah_eyes jeddah_eyes is offline
 
Join Date: Aug 2005
Location: ksa
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i faced a problem with it

after logging in the code return me to another addres end with /path

for example

www.dm3ty.net/path

this addrese appears after logging in

note i change the path in the page as http://www.dm3ty.net/vb
Reply With Quote
  #7  
Old 03-29-2008, 04:03 PM
TF-TM TF-TM is offline
 
Join Date: Mar 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Very Thanks
Reply With Quote
  #8  
Old 03-29-2008, 04:18 PM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow! thank you soo much!
Reply With Quote
  #9  
Old 03-30-2008, 03:43 PM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know you're probably working on other things aswell, but do you think you could ad the ability to display a persons username? so like - say they log in - once they do - it says their username at the top with thier avatar next to it? That'd be absolutely awesome!
Reply With Quote
  #10  
Old 03-30-2008, 07:08 PM
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 jeddah_eyes View Post
i faced a problem with it

after logging in the code return me to another addres end with /path

for example

www.dm3ty.net/path

this addrese appears after logging in

note i change the path in the page as http://www.dm3ty.net/vb
You probably haven't changed all the needed places to make it work on your webpage, make sure (being the code directly on the .net page, in your case, it is dm3ty.net) the code is (using the 'remember me' checkbox code):

*the places to modify the code are highlighted


Code:
<form action="vb/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <input type="hidden" name="do" value="login" />
        <input type="hidden" name="url" value="/vb" />
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <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>
      <label>Remember me?<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" tabindex="1" /></label>
        <input name="submit" type="submit" id="submit" tabindex="1" value="Login" accesskey="s" class="button" />
</form>
Quote:
Originally Posted by smooth-c View Post
I know you're probably working on other things aswell, but do you think you could ad the ability to display a persons username? so like - say they log in - once they do - it says their username at the top with thier avatar next to it? That'd be absolutely awesome!
This would require php coding, and the objective of this addon is avoid at any costs using php. I could work on a bigger release of this code (with simple php calls), but this isn't something I'm planning to do too 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 10:19 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.04376 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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_code
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete