![]() |
Adding Templates
Ok, I have added a new template and here is the code below. I am trying to make the custom template for a new page of the forum but I don't want it visible to everyone, how do I make it where only members of the forum can access the page even from the direct link and show an error message of them having to log in to see the page? Please help :confused:
Code:
$stylevar[htmldoctype] |
Code:
<if condition="$show['member']"> PHP Code:
|
Where would I put that code to get it to work properly?
|
The first piece of code would go in your template (Change the bits in uppercase as appropriate). Or you can use the second piece of code in the PHP code for your page.
|
Neither seemed to work :( I must be doing something wrong.
|
Please post the template you have now.
|
I'm working with The proweb by vBSkinworks and the onlydev one as well.
|
Please post the template you are using for your page - not the name of your style...
|
All times are GMT. The time now is 05:14 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:
|