![]() |
custom page
Hi
I have made a simple custom page and i want to make it accessible for members only I have tried following code but it does not work can you show me what i have done wrong . $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> if ($vbulletin->userinfo['member'] < 2 OR $vbulletin->userinfo['member'] > 7) { $vbulletin->url = 'index.php?' . $vbulletin->session->vars['sessionurl']; eval(print_standard_redirect('redirect_exitwithast ernwarning')); } <head> $headinclude <title>$vboptions[bbtitle]</title> </head> <body> $header <!-- Custom Code Start Here --> some code here <!-- / Custom Code Ends here --> </body> </html> Many thanks Eddie |
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>
|
Hi
it seems very complex i just want to have the page seen by members only i do not want navbar or footer just logo . I was told the code i had would work but i may have got part of it wrong. Thanks Eddie |
Have you tried this? Edit user group to suit your needs.
HTML Code:
$stylevar[htmldoctype] |
You cannot put php into your template.
(This is php: PHP Code:
|
Thanks everyone that helped but have now solved the problem
Eddie |
All times are GMT. The time now is 02:06 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:
|