![]() |
get usergroupid value
I use this code in external vbulletin page :
PHP Code:
but for another users that usergroup is 20 : display 1 ( unregistered) user is logged in forum are there another way for get usergroupid? |
Code:
require_once('./global.php'); |
Quote:
I create a file test.php and insert that codes so , my usergroup is 6 and when i run this page show 6 but for other users for example moderators and registered group display 1 1 is for unregistered group this file can not detect other peoples just work for me |
If it's displaying 1 then it's probably seeing them as not logged in. I see that you're using chdir(), so I guess this is a script that's outside the forum directory? You might need to change your setting for "Path to Save Cookies" to '/'.
|
Quote:
other folder that i want to use forum cookie is : site.com/admin cookie path setting is on : / domain cookie setting is on : (space) What value i need to set to work cookies on site.com/admin ? |
All times are GMT. The time now is 08: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|