vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vb log in script (https://vborg.vbsupport.ru/showthread.php?t=179145)

berry05 05-13-2008 11:05 PM

vb log in script
 
hii!
i have a homepage that i want to put a log-in feature in it...but i dont know how to code one....its so people can log into vb but log in from my homepage as well....

any help?

Dismounted 05-14-2008 06:00 AM

Just copy over the login box from the template.

bwcbob 05-15-2008 12:58 PM

It is pretty easy, just look at the login code, run a query based on user input (after protecting it) and verify input + salt and check if that is the pass

berry05 05-15-2008 05:51 PM

ok i'll try lol

Opserty 05-15-2008 07:35 PM

Just emulate the HTML output from the login form, as long as it your HTML form points to the vBulletin login script it should log the user into vBulletin.

TMR Bac 05-15-2008 07:59 PM

Let's say you want to keep the person logged in as they travel to other areas of the website outside of vbulletin. I used to be able to do this by simply checking $bbuserinfo for a userid which told if if the person was logged in and who they were. When I upgraded to the latest version, this ceased to work. Stumped...

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

Forgot the key ingredient to making that work...

I required the global file on every page of the site: require('global.php');

berry05 05-16-2008 11:47 AM

can somoen give me the code to add ?

please!

Lynne 05-16-2008 02:59 PM

search "login" "all forums" "titles only" and you get a ton of hits. This mod may help you out with the code: https://vborg.vbsupport.ru/showthread.php?t=173693

TMR Bac 05-16-2008 04:30 PM

Thanks. I think I've got it working flawlessly now.


All times are GMT. The time now is 07:39 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.01840 seconds
  • Memory Usage 1,719KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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