PDA

View Full Version : Profile Enhancements - Advanced Signature


kaB00M
06-12-2008, 10:00 PM
This modification is designed for use on forums where there is a large number of users or a board that has limited hosting re-sources. With this hack the signature can be limited to selected options so that valuable mySQL space is not used.

This hack uses the in-built profile field script provided by vBulletin with a small bit of code editing.

This hack can also be used for more than just a signature. You could also use this script on web-hosting forums ? Computer forums. If you want to make the input private to only a few people then add this code to the beginning of your code.

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>

With this code only members in the groups 1, 2 and 3 will be able to see the signature. This is good if you want to use this for a hosting forum so only technicians or admin members can see the details. Great if you want the user to input there password and cPanel username.

Gray Matter
06-13-2008, 11:37 PM
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo. :)

veenuisthebest
06-14-2008, 02:23 AM
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo. :)
$vbulletin->userinfo is correct !! it works in template conditionals

Gray Matter
06-14-2008, 08:02 PM
Find me one default vB template that uses $vbulletin->userinfo. ;)

kaB00M
06-14-2008, 11:17 PM
This topic isint about that bit of code. It's about this small modification. The code can be changed but i have tested it and that bit of text works! :up:

BlizzardHQ
06-15-2008, 12:03 AM
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo. :)

Who cares as long as it works.. gees.

SwollenCranium
10-02-2008, 10:35 PM
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo. :)

Nerd
$vbulletin->userinfo is correct !! it works in template conditionals

Nerd
Who cares as long as it works.. gees.

Werd !

abdobasha2004
10-11-2008, 02:11 PM
thanx a lot about the code
about the file it is just a repeller for members
but disabling visitors to see signatures is gr8