The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
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:
|
#3
|
|||
|
|||
[high]* Areku nominates Logician for the European VB Awards [/high]
|
#4
|
|||
|
|||
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! |
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
WOuld it be soo hard to add just a new href to the process?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|