![]() |
How can I block unregistered users onto a standard php/html file?
I don't even know if this is possible at all, but here it goes:
Say I use vBPortals + vBulletin. Say I have a php file which calls an Html file via the include command. Say I want only registered vB members to access the HTML file... How could I make this happen? Tu! |
There are different ways.. One way is:
1- Install WebTemplates 2- Click "Create new Webtemplates" in Admin CP 3- Copy paste your HTML file's source code into the webtemplate and give it a name. 4- In the begining of the webtemplate put PHP Code:
|
[high]* Areku nominates Logician for the European VB Awards ;)[/high]
|
Btw, a new request...
Add an extra option on your hack, like a [view] link that would open the template on a _blank page. This way you have a WYSIWYG-like interface ;) This would go besides [edit] and [remove] options in admin panel... How can I achieve that? tu! |
Quote:
|
WOuld it be soo hard to add just a new href to the process? ;)
|
All times are GMT. The time now is 08:55 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:
|