The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Making a usergroup invisible only to non-registered users/search engine spiders
Hi!
For too many reasons to list, I need to make my recently registered members usergroup visible to all other usergroups but invisible to non-registered users and search engine spiders. I've posted a request for help in vB official support site and Jake Bunce gave me a hand but advised me to post here too because apparently I need to hack the code. Jake told me to enclose the entire contents of the template Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Postbit Templates -> postbit or postbit_legacy, inside of this template conditional: Code:
<if condition="!is_member_of($post, X) OR $bbuserinfo[userid]"> CONTENTS OF TEMPLATE </if> This works great but trying to do the same in the "printable thread" pages and "Threads in Forum" view doesn't do anything. Jake's explanation is "The group information for the thread poster is not available in the threadbit template, so that condition will not work. To get it to work would mean adding custom code to the forumdisplay.php file." So here I am =) If anyone can give me any pointers, I would appreciate it! Thanks =) Ricardo |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|