Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[tk] Egg Avatar Details »»
[tk] Egg Avatar
Version: 2.3.4, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.1 Rating:
Released: 03-13-2009 Last Update: 04-13-2009 Installs: 199
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.



A Support Project using the vBulletin Project Tool has been created to support this mod. Please make use of it if you can. Timely support will still be given in this thread, however, use of the project tool is appreciated because:
  1. I paid for it
  2. It makes searching for problems already asked by other users, and possibly solved, much easier than this long thread.
  3. It helps organize and manage issues for me, which will become even more useful as I release more mods.

Description:
Ever want to throw something at someone when you read a post? Now you can! Eggs, kisses, bullets, and more.

Video Demonstration Link

Special Notes:
  • Due to some complicated issues involving the coding for animated gifs, largely black eggs (like the bullethole) do not display properly. All that is required, if you make or find your own eggs, is that large black areas be converted to a dark grey or dark blue. I've already done this with the newest bullethole.gif, and as you can see it's not a big issue but I wanted to make everyone aware of it.
  • If you wish to uninstall please upgrade to the lastest version first, as older versions may not uninstall cleanly.

Upcoming 2.5 new features
  • Automatic (optional) integration with [tk] Post Notes (post note of "Username: Threw a <thing> at you." or "Username: Gave you a <thing>" etc.
  • Long promised post stats (how many times a post has been egged, etc.)

Features:
  • Fully Phrased.
  • Fully AJAX.
  • Can be configured to work with any credits system, or not use credits (default).
  • Comes configured for vbCredits (just turn on 'Enable Credits' in the admincp options).
  • Integrated with vB Optimise.
  • Manage your own egg images (enable/disable/delete/add).
  • Optionally have eggings effect user reputation.
  • Optional 'Who Egged Me' display in UserCP.
  • 'Eggs' can be cleaned away.
  • Entire avatars can be wiped clean.
  • Usergroup support for viewing, using, cleaning own and cleaning others.
  • Very configurable.
  • Handles animated avatars (animation stops when egged, starts again when cleaned).
  • Fully supports both GD and ImageMagick. Animated avatars do not stop in ImageMagick.
  • Optional Statistics in What's Going On.

Install:
Download the [tk] EggAvatar_2.3.4.zip file.
Unzip and upload all files in the upload directory to your forum root.
Import the product file in your admincp.
Make sure to set usergroup permissions - all are turned off by default.

Install vbAdvanced Module:
Import and configure the eggblock.xml module via vbAdvanced in your admincp.

Upgrade:
Download the [tk] EggAvatar_2.3.4.zip file.
Unzip and upload all files in the upload directory to your forum root.
Import the product file in your admincp - make sure Allow Overwrite is set to 'yes'.

Version History:
1.0 Original Version
1.1 Support for animated avatars
1.1.1 Fixed a couple minor bugs
1.2.0 Fixed a couple bugs and added file system support for avatar storage.
1.2.1 Fixed bug where function not compiled into standard php 4 was being called.
1.2.2 Fixed bug that cause out of place cost info on popup. Fixed so images no longer lose color when thrown.
1.2.3 Fixed some phrasing. Fixed (?) the bug causes database errors for some users.
2.0 Egg Manager (enable, disable, upload your own eggs). Egg tracking (who egged me). Optional reputation change on egging. Numerous small bug fixes, including PNG support.
2.0.1 Fixed bug with editing existing eggs in admincp.
2.0.2 Fixed bug with EI scrolling menu.
2.0.3 Added some missing phrases.
2.0.4 Fixed IE display problem. Put code in admincp image upload to only allow gifs and to resize if needed (max 50x50).
2.1.0 Full support for animated avatars. Eggs uploaded to the eggs directory but not in the database now show in the Egg Image Manager and can be added. Added Who's Online support. Fixed possible bug with missing dateline from url.
2.1.1 Fixed problem where PHP 5 function was being called.
2.2.0 Fixed problem with cleaned avatars missing dateline (really this time). Dropped back to partial animated gif support (animation stops when egged, starts when cleaned). Added checks and error messages to help with invalid path settings. Fixed bug that caused images not to display in popup. Fixed popup to display properly in all browsers no matter how many eggs are added.
2.2.1 Added additional error checking to the image manager. Fixed the upload button in the image manager.
2.2.2 Fixed uninstall issue. Fixed a couple words that weren't phrased.
2.3 Fixed permissions issues. Fixed a couple more words that weren't phrased. Added support for ImageMagick. Added support for vB Optimise. Added statistics on forum home. Changed the fade time so the eggs won't fade if the user hasn't logged in to see them yet.
2.3.1 Fixed bug in vB Optimise integration.
2.3.2 Fixed bug if paths to avatars has a leading '/'.
2.3.3 Another attempt at fixing the pop 'eggs out of the box' issue. Probably my last for a while. Good luck, cross fingers.
2.3.4 Fixes a "can't view if can't egg" permissions problem that has been plaguing some users. Adds a vbAdvanced Module.

Beta Testing Team! Thanks!
acegames

Do not be afraid to click the install button, or whatever

Donations (THANKS!):
?10.00 GBP by acegames
$10.00 USD by rule0
$10.00 USD by drupy
$10.00 USD by aztecboi2003
$10.00 USD by TandyServices
$10.00 USD by hIBEES

Show Your Support

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

Comments
  #262  
Old 03-25-2009, 09:18 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil View Post
Upload files and import xml (with overwrite). It shouldn't harm any existing settings.

Sorted thanks :up:
Reply With Quote
  #263  
Old 03-25-2009, 09:36 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey!

VERY NICE UPDATE!

I'm definitely installing this as soon as I can customize a way to select where I can have the scroll-out menu/throw_green.gif

Any pointers on this? I want to use a little egg and put that anywhere I want in the postbit (not just specific hook-locations).

How would I go about that?

Thank you very much!
Reply With Quote
  #264  
Old 03-25-2009, 09:49 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure. Paste this code over the existing code in the [tk] Egg Avatar: Add Postbit Control plugin:
Code:
global $vbulletin;
if ($vbulletin->options['eggavatar_active'] AND (($vbulletin->userinfo['permissions']['eggavatarpermissions'] & $vbulletin->bf_ugp_eggavatarpermissions['eggavatarcanuseeggs']) OR ($vbulletin->userinfo['permissions']['eggavatarpermissions'] & $vbulletin->bf_ugp_eggavatarpermissions['eggavatarcancleanown'])))
{
    eval('$eggavatar_button .= " ' . fetch_template('eggav_add_control') . '";');
    $post['avatarurl'] = 'eggavatar.php?do=showeggs&u=' . $post['userid'] . '&pid=' . $post['postid'] . '&old=' . $post['avatarurl'] . '&t=' . TIMENOW;
}
Then just place the $eggavatar_button variable wherever you want the button to appear in the postbit. I can't really support this though, so if you mess up your board please don't blame me
Reply With Quote
  #265  
Old 03-25-2009, 10:08 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL!

Thank you SO much, I'll test this tonight and turn it loose on the masses!
Reply With Quote
  #266  
Old 03-25-2009, 10:38 PM
SliceofLife SliceofLife is offline
 
Join Date: Jul 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update! Is there going to be a release where it can be switched off for individual users?
Reply With Quote
  #267  
Old 03-25-2009, 10:48 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this seems like a very well coded and implemented system for something thats completely pointless... to me anyways sorry if i sounded rude there, i speak as i find
Reply With Quote
  #268  
Old 03-25-2009, 10:55 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it.
Reply With Quote
  #269  
Old 03-25-2009, 10:59 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by b6gm6n View Post
this seems like a very well coded and implemented system for something thats completely pointless... to me anyways sorry if i sounded rude there, i speak as i find
Why speak at all? Just ignore it if you don't want it.
Reply With Quote
  #270  
Old 03-25-2009, 11:04 PM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working great so far,members are using it a lot already
installed
Reply With Quote
  #271  
Old 03-25-2009, 11:06 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien View Post
Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it.
The phrases definitely exist in the xml file - try a re-import with overwrite...
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 04:21 PM.


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.05294 seconds
  • Memory Usage 2,328KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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