![]() |
accessible only to logged in users
I have a page and I'm trying to do 2 things to it.
I used the hook feature and created a page http://lvasp.com/forum/requestform.php which used the vbulletin template system. How do I make it so that only logged in users can access the page (so that if there not logged in they get a standard vbulletin error) Also, how do I (autofill) the form so that LVASP Username would be filled in with their username (which, if logged in would be in the Welcome, "x" near the top). Thanks.... |
Please post the code up.
|
Code:
<if condition="$show['member']"> Code:
$userinfo[username] |
Quote:
Code:
<if condition="$bbuserinfo[userid] == 0"> PHP Code:
|
Quote:
Code:
<if condition="$show['guest']"> |
Quote:
|
wow, loads of responses, thanks...
|
All times are GMT. The time now is 01:10 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:
|