Back to vBulletin 3.6 Add-ons

Avatar Rules on Edit Avatar Page
Mod Version: 1.00, by Kirk Y

This modification is in the archives.
vB Version: 3.6.4 Rating: (6 votes - 4.67 average) Installs: 50
Released: 24 Feb 2007 Last Update: 24 Feb 2007 Downloads: 159
Not Supported Uses Plugins Template Edits  

Avatar Rules

What does it do?
This modification adds a table on the Edit Avatar page, where you can enter any rules or warnings you'd like to display to your users as they're selecting or uploading an avatar.

You can see it here on vB.org: http://www.vbulletin.org/forum/profile.php?do=editavatar
I noticed it yesterday and thought it was a good thing to have on my board - so I figured, why not give it to you all as well.

Installation
1. Download the attached XML File and Import it through your Product Manager.
2. To use, go to vBulletin Options -> User Picture Settings.

Troubleshooting
In order to keep the modification simple and avoid any template edits, this modification is setup to make the necessary edits itself - without any user action. However, as some people may have highly customized Templates, this may not work. If after installing this modification and entering rules, you notice that they're not being displayed on the Edit Avatar page - you may need to make the template edits manually. If this is the case for you, please follow the instructions below:
You only need to do this if you're having trouble with your Rules not being displayed!
Find in your modifyavatar template:
Code:
<fieldset class="fieldset">
                <legend>$vbphrase[your_current_avatar]</legend>
Add above:
Code:
<if condition="$vboptions[abavatarrules]">
<fieldset class="fieldset">
                <legend>Avatar Rules</legend>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr valign="top">
                    <td class="smallfont">
<div>$vboptions[abavatarrules]</div>
                    </td>
                </tr>
                </table>
            </fieldset>
</if>
You may also disable the Plugins installed, if you choose - as they're no longer needed after manually editing the template.

If you use this Modification - please click Install!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product-ab_avatarrules.xml (2.3 KB, 183 downloads)


vblts.ru supports vBulletin®, 2022-2024