PDA

View Full Version : Mini Mods - Avatar Rules on Edit Avatar Page


Kirk Y
02-23-2007, 10:00 PM
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: https://vborg.vbsupport.ru/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:
<fieldset class="fieldset">
<legend>$vbphrase[your_current_avatar]</legend>Add above:
<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!

projectego
02-24-2007, 05:59 PM
* projectego clicks install :)

Tralala
02-24-2007, 11:59 PM
Installed! Thanks.

Kirk Y
02-25-2007, 04:19 PM
Thanks for the comments everyone.

SPEED1
02-28-2007, 09:38 AM
Installed. Very nice! Thanks a bunch. :)

BigJimTheLug
03-22-2007, 06:21 AM
thanks. Installed.

akulion
03-23-2007, 12:09 AM
thanks you very much for this wonderful mod :) simple yet extremely useful

DiSpy
04-01-2007, 12:48 AM
I would like a similar one for signatures please? :D
(Installed, btw.)

anwar.abdullakh
11-02-2007, 07:08 PM
I would like a similar one for signatures please? :D
(Installed, btw.)I second that, that would be great!!

anwar.abdullakh
11-21-2007, 04:54 AM
Because there was no reply to this post...
and after asking another coder, who asked 25$ to make it, I thought I should give it a try myself...so here it is.

It's a template edit...
Go to "Modify User Options templates" > "modifysignature"
there find...
<!-- message area -->

and add above...
<!-- / signature rules start -->
<fieldset class="fieldset">
<legend>Signature Rules</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr valign="top">
<td class="smallfont">
<strong>You may keep the standard settings of having no signature image or you can add one yourself. You can either use text based signature or an image based signature. If you choose to upload a signature, it must adhere to our General Site Rules.</strong>
<ul>
<li>NO External links in your sig!</li>
<li>The following formats are allowed: .gif, .jpg and .png!</li>
<li>Image based sig should be resized to 500x100 pixels and a total size of 100KB.</li>
<li>You are Limited to 5 total images (of which 1 sig image and others smilies etc...)!!</li>
<li>Do not use 18+ images</li>
<li>Do not use potentially offensive material involving religion</li>
<li>Do not use animal/human cruelty or ideologically charged images</li>
<li>Staff has wide discretion on what is acceptable</li>
<li>If in doubt, contact a Forum Moderator via PM and ask.</li>
<li>Staff may be exempted from these rules</li>
</ul>

<strong>Staff ultimately have the final say in what is or is not acceptable.</strong>
</tr>
</td>
</table>
</fieldset>
<br />
<!-- signature rules end -->
now you can edit the rules to your own choice.

ps: check the attached image on its look...I hope that it is of some help to you guys.




-anwar

harlita
07-01-2008, 08:07 AM
installed it and the sig hack.

perfect in 3.7.2