![]() |
This hack looks like it will work for my site, but before I try it, will it work with version 3.6.8?
|
ok we have a version that will allow someone of a certain primary group to see the page like this:
<?php if ($vbulletin->userinfo['usergroupid'] == '6' ) { echo "This is only visible to people in usergroup 6";} ?> has anyone worked out how to do it with a secondary group? i.e. if they are members of 3 or 4 groups and the page is available to them as a secondary member?? |
Quote:
I have vbexternal, tried this fix but it still just redirects me back to the page after logging in and instead of it showing I am logged in, it shows the log in box. I have also checked my cookie settings as well. Running 3.6.8 Anyone know how to get it to work correctly? |
I'm having problems with this.
I have my forums at domain1.com/forums/ and a site at site1.com I've followed all the instructions and everything and its not working correctly. If I clear my cookies, I login and it redirects me to site1.com and shows me as logged in however in the address bar there is ?s= then the long session ID string. If I navigate to another page, this goes and I'm logged out. Any idea whats going on here? I'm pulling my hair out over this! :( The connection to the vB files is working, the redirect is working, but it is not setting the cookies correctly. I've tried the cookie domain as blank, .site1.com, .domain1.com and its just not working. It keeps me logged in on the forums, just not the site. I've got root access so can modify any settings if needed (however I don't think its server-side related). Thanks for your time & hard work. |
Does anyone know if this hack will work with iframes? Specifically, it I have the login box and login detection code within an iframe (say login.php), and this iframe is part of index.html, if I enter my username/password in the login box, it seems to recognize that I've logged in, but it won't redirect me back to the main page, which is index.html. It seems to redirect back to my iframe page, login.php, which is not the behavior I want. Does anyone know how to make it redirect to the main page, index.html, which includes my login.php in an iframe? This is my first time using this hack.
|
I get this errors:
Code:
Notice: Undefined index: HTTPS in c:\programmi\easyphp1-8\www\webcity\includes\class_core.php on line 1591 Code:
<?php |
Hi, been using this for a while its great, wondering if its possible to allow additional user group members to access a certain page? Not only primary.
|
Quote:
The same Problems by me since I have upgrade to MySQL 5 Have you fixed it? |
No man, I'm still waiting for a reply. :p
|
Quote:
chdir('webcity'); require_once('webcity/global.php'); should be something in the format of: chdir('/home/webc/public_html/webcity'); require_once('/home/webc/public_html/webcity/global.php'); Code:
Notice: Undefined index: HTTPS in c:\programmi\easyphp1-8\www\webcity\includes\class_core.php on line 1591 |
All times are GMT. The time now is 09: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:
|