vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Simple vB User login and access control on non vB pages (https://vborg.vbsupport.ru/showthread.php?t=228089)

fake83 07-28-2010 01:06 PM

testing now on updated vb4

fake83 07-28-2010 01:48 PM

does not work: it requires to login everytime I don't know why. I tried with the other solution too but nothing

frog73 09-27-2010 09:35 PM

Hi,
Thank you for this great hack :)
Has anyone integrated the "facebook connect" button on this hack ? I tried to used the SDK but i don't know how to get variables from vbulletin, which ones are usefull for this button ?
Thank you very much for your help :)

Centrix 11-17-2010 12:08 PM

Quote:

Originally Posted by pertanyaan (Post 2034997)
OK, found solution here, its working

Logout doesnt work though, it cant create a logouthash

Varsh 03-19-2011 03:04 PM

Script is working like a peach for me, had to require the global file on every page and the login script and it all worked as it should. Thanks. :)

txsbmw 04-22-2011 05:34 PM

After upgrading VB to 4.1.2 this no longer works. Anyone else having an issue?

theloller 04-23-2011 08:09 PM

Quote:

Originally Posted by txsbmw (Post 2187497)
After upgrading VB to 4.1.2 this no longer works. Anyone else having an issue?

a lot of people i guess.
i need help too ....

the script didn't know if i'm logged or not showing always the login form.

is this changed in the 4.1.x ?

Code:

$vbulletin->userinfo['userid']!=0

MadsK 05-28-2011 08:26 AM

If i login through my forum, and then return to my frontpage, where my loginbox is located it will show me as logged in. However I cannot get it to log me in from the frontpage through the login script. I think it might be a cookie problem or something similar.

rzy2 10-01-2011 01:14 PM

First thanks for this mod too.

I have integrated it into a yii framework based web app and it works fine but i still get those warnings. I have tried usinge the absolute path and some oder things but nothing worked.

Do u have some other suggestions to get rid of this warnings?


Quote:

Originally Posted by Centrix (Post 2059282)
Thanks for this mod! I love it. I can make pages on my main site that requires users to be logged in, and even better: the coding is really easy to understand, no 3490859345 lines of coding that confuses the hell outa me.

Works perfectly on my site ^^



I got the same thing first too, but you need to put the full path to your forum, not just /forums/.

So /home/username/public_html/forums/ for an example. It will work


nanhe 02-23-2012 06:10 AM

I Actually want if i login in my site then i loged in vbulltin but in this case we are using vbulletin login form ...

txsbmw 03-14-2012 01:38 PM

Using vb 4.1.10 and the you visited last info no longer shows nor does the Private Messages Info. Anyone have any idea what needs to be changed to get it to show?

forcerm 03-23-2012 10:07 PM

How can i get this to work on a subdomain.

my forum is www.mydomain.com/forum

my test site is test.mydomain.com

my main website is www.mydomain.com

If i go to www.mydomain.com then this script works, if i go to test.mydomain.com then it says i am not logged in even though i am.

What do i need to change to make it work on subdomains?

zero477 03-29-2012 07:27 PM

It is not working for me .... vBulletin 4.1

doubleclick 06-15-2012 10:36 AM

Does anyone know how to add "remember me" and/or the connect with facebook button?

lollodev 10-17-2012 02:24 PM

not working for VBulletin 4.2. Does anyone have a solution for this?

sina1808 11-17-2012 07:33 AM

hi
my site runing on the server1 , and my forum installed on server2
can using this mod ?
plz help me

tsptom 12-06-2012 05:57 PM

Quote:

Originally Posted by lollodev (Post 2373750)
not working for VBulletin 4.2. Does anyone have a solution for this?

I was very happy to see this mod, but have not heard anyone say they have successfully installed it on vb 4.2 yet. The thread looks DOA so I assume this is not a good sign.

Anyone? tnx.

gocreate 12-08-2012 04:43 PM

Is there any chance to vb 4.2 support of this mod?

lollodev 02-06-2013 01:41 PM

Quote:

Originally Posted by tsptom (Post 2388944)
I was very happy to see this mod, but have not heard anyone say they have successfully installed it on vb 4.2 yet. The thread looks DOA so I assume this is not a good sign.

Anyone? tnx.

I found a way to have it working with VB 4.2.0.
It is very important to read the "trouble shooting" section at the beginning of this post!

In my case it worked by adding the following lines at the beginning of the script (login_inc.php):

$curdir = getcwd ();
chdir('/path/to/my/forum');
require_once('/path/to/my/forum/global.php');
chdir ($curdir);

lollodev 02-07-2013 02:55 PM

is there a way to add the FB connect to this script?

iMpuLzBe 06-14-2013 09:21 AM

For everyone struggling with the script on vBulletin 4.x, I got a solution.

Just add the following code right after the opening of the php tag:

PHP Code:

global $vbulletin;
$curdir getcwd();
chdir('/PATH/TO/FORUM');
require_once(
'/PATH/TO/FORUM/global.php');
chdir($curdir); 



All times are GMT. The time now is 02:00 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.02503 seconds
  • Memory Usage 1,761KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete