Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Avatar Rules on Edit Avatar Page Details »»
Avatar Rules on Edit Avatar Page
Version: 1.00, by Kirk Y Kirk Y is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 02-23-2007 Last Update: 02-23-2007 Installs: 50
Uses Plugins Template Edits
 
No support by the author.

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:
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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-24-2007, 05:59 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* projectego clicks install [/high]
Reply With Quote
  #3  
Old 02-24-2007, 11:59 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Thanks.
Reply With Quote
  #4  
Old 02-25-2007, 04:19 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the comments everyone.
Reply With Quote
  #5  
Old 02-28-2007, 09:38 AM
SPEED1 SPEED1 is offline
 
Join Date: Jan 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Very nice! Thanks a bunch.
Reply With Quote
  #6  
Old 03-22-2007, 06:21 AM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks. Installed.
Reply With Quote
  #7  
Old 03-23-2007, 12:09 AM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks you very much for this wonderful mod simple yet extremely useful
Reply With Quote
  #8  
Old 04-01-2007, 12:48 AM
DiSpy's Avatar
DiSpy DiSpy is offline
 
Join Date: Feb 2007
Location: South Florida!!
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like a similar one for signatures please?
(Installed, btw.)
Reply With Quote
  #9  
Old 11-02-2007, 07:08 PM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiSpy View Post
I would like a similar one for signatures please?
(Installed, btw.)
I second that, that would be great!!
Reply With Quote
  #10  
Old 11-21-2007, 04:54 AM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Code:
<!-- message area -->
and add above...
Code:
<!-- / 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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04595 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete