vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Using the Login Fuction on External Pages (https://vborg.vbsupport.ru/showthread.php?t=192434)

Bradley_Wint 10-01-2008 08:57 PM

Using the Login Fuction on External Pages
 
Hi guys,
Well I've been running a Wordpress blog integrated with the vBulletin for a while now, and I implemented a new comment system, but there is one issue with giving the users the option to login. Basically a regular blog would have an example link such as "You are not logged in, click here to login" and that link would take you to the login page, have you enter your info, and then redirect you to your previous location.

Now I want this option with my blog, but I want it so when users click the login link, they go to the regular vBulletin login page, and then have then redirected back to the page they were browsing. Any ideas? :confused:

The reason it has to be done this way is because vB manages the entire user database rather than Wordpress..

Dismounted 10-02-2008 05:12 AM

You will need to store the referrer when on the login form - then alter $vbulletin->url to that URL.

Have you tried putting the box directly on the blog instead of using a link?

Bradley_Wint 10-02-2008 01:55 PM

Quote:

Originally Posted by Dismounted (Post 1635362)
You will need to store the referrer when on the login form - then alter $vbulletin->url to that URL.

Have you tried putting the box directly on the blog instead of using a link?

Hmm ok, the referrer URL should not be a problem, will test it out today.

The login box sounds like a good idea though, I'll try that as well and see how it goes. Thanks for the help...will report back with progress.


All times are GMT. The time now is 01:32 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.01022 seconds
  • Memory Usage 1,712KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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