The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User Login
I can't believe how hard it is to find what I'd like on Google.
VBulletin 4 - Custom Page Content, showable to members only. Currently, I am using Code:
<vb:if condition="$show['member']"> Also, for someone who knows nothing about coding, is there a way of adding my 2 custom pages to the usergroup permissions section so I can turn access on and off? |
#2
|
||||
|
||||
You would need to do it in the php of the custom file. Something like (not tested!!!):
Code:
if (!$vbulletin->userinfo['userid']) { print_no_permission(); } |
Благодарность от: | ||
MarkFL |
#3
|
|||
|
|||
Thank you
So the user id would be 0 for not logged in? Or copied like that? |
#4
|
||||
|
||||
Copied like that would work. ! in this case means if it's 0.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|