The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Kewl Code [Newbie]
After looking about the forums to find out how I can
make all my addons not viewable to unreged members I didnt find anything. I know I could have just set the option up for allow unreged members to view borad= no...but I can't do that for other reasons.. so I found this. In any php file that can be viewed by unreged members. [start] Find This--- include('./global.php'); Then Add Under--- if ($bbuserinfo[userid]==0) { show_nopermission(); } eval("\$joiner = \"".gettemplate("nav_joiner")."\";"); [end] This will make it that all unreged members will have to register and cant view any pages.. This is a little newbie but as I am a newbie I thought I would share. |
#2
|
|||
|
|||
irn-bru... yeah good work but i don't believe that you need the eval("\$joiner line in the code regards...
g-force2k2 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|