Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Unique Avatars Details »»
Unique Avatars
Version: 1.1, by mfyvie mfyvie is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.7 Rating:
Released: 06-01-2007 Last Update: 01-20-2008 Installs: 81
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

*** Staff note: The author of this modification has passed away in a diving accident. We wish his family all strength in dealing with this traggic issue. ***

Have you ever been frustrated by the fact that many of your users choose the same avatars from your pre-defined avatars?

Now you can prevent users from selecting avatars that others are already using.



Features
  • No template or file edits, just a single .xml file to install
  • Phrase-based - update language strings as you like
  • Can either omit the used avatars from the display, or show them as unavailable
  • Can optionally display a count of how many times each avatar is used
  • All options configurable via the admin control panel
  • Install routine adds an additional index to ensure database performance not impacted on larger boards
The inspiration from this mod came from a similar one for vBulletin 3.0 by VBDev. Even though there is almost no code in common between these mods I've sought and obtained his permission to release this.



Installation (30 seconds)
  • Download the attached .xml file
  • Go into your admin control panel -> Plugins & Products -> Manage Products -> Add/Import Product.
  • Press the browse button to locate the .xml file you just downloaded click OK.
  • Ensure that "Allow Overwrite" is set to "Yes" and press "Import"
  • Note: requires MySQL version 4.1 or higher.
Configuration
VBulletin Options -> Unique Avatar

Version History
1.0 - Initial release (02.06.2007)
1.1 - 1 minor bugfix (20.01.2008)

See screenshots for further details.

Show Your Support

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

Comments
  #52  
Old 07-15-2007, 01:25 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by radarhunter View Post
it`s showing me this any idea how to solve this problem. Other than upgrading my SQL version.......
I specifically made it display that message to STOP people with less than 4.1 using this mod. Why? Because it simply won't work - it uses commands which are only present in 4.1. That warning message is there to stop people from installing it then coming to complain when it won't work.
Reply With Quote
  #53  
Old 01-19-2008, 10:25 AM
SNATCH3R SNATCH3R is offline
 
Join Date: Aug 2007
Location: Dubai
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this gr8 hack.....
Reply With Quote
  #54  
Old 01-20-2008, 04:38 PM
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DITTO!!!

And thank you SO much for taking the time to help me with my techy issues. I've waited for this had for so long!

I'm now I'm on my way to Paypal to show my appreciation :up:
Reply With Quote
  #55  
Old 01-21-2008, 07:49 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsk8 View Post
DITTO!!!

And thank you SO much for taking the time to help me with my techy issues. I've waited for this had for so long!

I'm now I'm on my way to Paypal to show my appreciation :up:
gsk8 seems to have removed her original message outlining the bug she found, but I just wanted to let everyone know that I addressed that bug and incremented the version to 1.1 this morning. The only change is that one of the plugins has moved hook locations.

The original bug report (now not visible, presumed deleted) was that when a user had selected a pre-defined avatar it didn't appear as their current avatar when the edit avatar page of the usercp was displayed.

If you are running 1.0 and are not bothered by this (it seems nobody else noticed) then there's no immediate or urgent need to upgrade.
Reply With Quote
  #56  
Old 01-21-2008, 01:01 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question here. I like the hacks idea, in forcing users to choose different avatars, so that it's easy to visually recognize people. But have we ever tested the theory of what happens if all avatars in the default system are selected?

Do new users have no choice then of a preset system avatar, or does the system cycle and now allow no more than 2 users to have the same avatar, once all of them have been chosen?

(( I mean, I just completed our websites avatars, and I'm not doing anymore...ever. lolz, so I will not keep readding to support this hack if that is required in this scenario ))

lemme know, thanks,

LoA
Reply With Quote
  #57  
Old 01-21-2008, 01:51 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOA - Each time an avatar is used then it will be greyed out, therefore impossible to select. The user would then have to go to the next page or avatars, or select another category.

Of course, there's nothing stopping them uploading their own.

On my own system the first page of avatars is completely allocated - users obviously tend to choose one from the first page they see.
Reply With Quote
  #58  
Old 01-21-2008, 04:38 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hear what you're saying and I really like your system. Unfortunately I can't use it. See, I hear what you're saying. When all the avatars are used up, there is none to choose from. But still, I actually don't allow custom upload until a post amount, and therefore after they are all used, new users will have to wait to fill the post amount prior to having any avatar at all.
Reply With Quote
  #59  
Old 01-21-2008, 04:53 PM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by legionofangels View Post
I hear what you're saying and I really like your system. Unfortunately I can't use it. See, I hear what you're saying. When all the avatars are used up, there is none to choose from. But still, I actually don't allow custom upload until a post amount, and therefore after they are all used, new users will have to wait to fill the post amount prior to having any avatar at all.
In that case your requirements are absolutely opposite to what this mod does. If you want your avatars to never run out, then you cannot demand of your users that they all be unique.

You could also just give them a larger library to choose from...
Reply With Quote
  #60  
Old 01-21-2008, 05:51 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
In that case your requirements are absolutely opposite to what this mod does. If you want your avatars to never run out, then you cannot demand of your users that they all be unique.

You could also just give them a larger library to choose from...
I don't know if I'd say they're opposite, but they are incompatible is a better term.

If a function of the hack allowed avatars to be used again, after ALL had been used once that would solve the problem and allow for enough diversity that they would never run out. Meaning that All used once, then it cycles again, once Avatar 1 has been chosen twice, it again is removed from the list until all the other avatars you have are used a second time, etc., etc.

I mean the value of the hack is there, no doubt about it. However admins will have to make a trade off here. They either have to keep adding more avatars to help create a neverending supply, OR they have to always allow custom avatars from the get go without post requirement.

I made 777 custom avatars for my board, that is a ton and could last for years with this hack. However, since I use a post count point before custom av's allowed, it would eventually run out of avatars. After 777 even if I didn't have the post count rule, it "could" eventually still run out or I'd have to delete inactive users to keep avatars available. In short, I like your mod, but I don't want to make anymore avatars after months of doing it. lol
Reply With Quote
  #61  
Old 05-07-2008, 01:22 AM
athlon64bit athlon64bit is offline
 
Join Date: Mar 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should be released and posted for vb3.7 users to find and use. It is a top mod!
Reply With Quote
Reply


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 12:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05464 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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_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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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