![]() |
Lock out non-vb pages?
Hello. I was wondering if it was possible to use vbulletin to control viewing permissions on a completely non-vbulletin html page? (just a regular page i made myself in html)
i'm a little familiar with if conditionals. and i think this idea would require it. i might have to make my pages .php which is fine. also wondering that if it is possible, what i need to paste into my pages for it to work. would preffer a method that relies on usergroups cause i'm trying to create multi-tier lvls' of permission for my members. (like rewards based on pst count giving them access to certain pages) also. i think i would like to avoid using vbulletin powered pages. since they require me to create a template for each page. and i need to make a couple hundred of these. PLUS, i would then need to copy them over to each of my parent styles! >.< unless there is some way to make a new template that applies to all styles and make vbpowerd pages like that, that'd be good. thanks in advance. |
PHP Code:
|
awesome. thank you so much.
edit: ok. i'm trying to get this to work. and was wondering if you can tell me what i'm doing wrong here. i kinda need to keep these files seperate from the forum. i don't mind if they HAVE to be inside /forum but i will still need them to be in their own folders. so i tried to change some of the relative patsh to absolute but still have trouble. any ideas? Code:
<?php the page i'm working on is located here http://legionofangels.net/flasharcad...rcadetest1.php |
Change:
PHP Code:
PHP Code:
|
Quote:
ty so much yet again. i'm doing some more testing by asking some of my staff to post and making it only work for admins. :p btw if i wanted more than one group i just put a comma and a space right? 6, 7, 9? if so. great. thanks again so very much. :) |
Correct. Just separating the IDs by a comma will do the trick. :)
OffT: Haha, I remember seeing you over at vB.com :p |
Quote:
i was testing things out again today. and i get this now from my page. Quote:
/ for the path. and "blank" for the domain. line 6 in my editor is the following Code:
<?php Code:
<html> thanks in advance for the help. edit: it went away on it's own. O_o well that makes me happy at least. haha. and i'm hoping it was only me and not the site. so then i can put this aside and finally work on what i gotta do. but if anyone would like to explain what maybe happend, feel free. :p |
You need to put the PHP I gave you at the top of the page, before any HTML is present.
|
All times are GMT. The time now is 11: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|