![]() |
Creating vb pages on 3.6.5
I am looking for the best tutorial on how to create custom vb pages for 3.5.6
Many Thanks |
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164&highlight=create+another+vb ulletin+page" target="_blank">https://vborg.vbsupport.ru/showt...vbulletin+page</a>
|
Thankyou. I have now created a page but i want to add some php
I want the page to only show if the member is logged in. If they are not logged in then it will say You are not a member and interviews are for members only please log in or REGISTER for free. I have this code Code:
$stylevar[htmldoctype] |
You wouldn't add that to the template, you would add that to the php file you create for your new page
But what you are talking about, you should add PHP Code:
|
Hi thanks for the reply I added your cade and when I logged out I could still see the info as if I was logged in.
|
Did you add the code to the php file or the template? If you added it to the template, you can't do that as the templates don't recognize php
|
I added it to the php file
|
Can you post the contents of your file here?
|
Code:
<?php |
Ok, try this
PHP Code:
|
All times are GMT. The time now is 03:21 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:
|