Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
[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
  #642  
Old 04-09-2009, 02:08 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 OcR Envy View Post
Sorry should have been more specific. The avatar image is still the normal one not the one that includes the eggs etc.. The post you referred me to seems to be about the placement of the link image. I tried anyways no change.
This is done in the postbit_display_complete hook by replacing the variable $post['avatarurl'].

PHP 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(
'$post[onlinestatus] .= " ' fetch_template('eggav_add_control') . '";');
    
$post['avatarurl'] = 'eggavatar.php?do=showeggs&u=' $post['userid'] . '&pid=' $post['postid'] . '&old=' $post['avatarurl'] . '&t=' TIMENOW;

Same section of code as the button.
Reply With Quote
  #643  
Old 04-09-2009, 04:47 PM
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just like to add a suggestion for a future release. The ability to have this fun mod be able to be turned on/off in a particular forum(s) section. Like say where you setup the individual forum properties you could add a radio option for on/off functionality.

This way we could have the egging ability in let's say "The Silly Forum" and some of the more "stiff" members who may not appreciate the mod wouldn't be visiting that section of your board anyway. Thus having a pacifying effect with them. Think aboot it, eh?
Reply With Quote
  #644  
Old 04-09-2009, 05:34 PM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everytime I update this, I have issues with my avatars not viewing. I uninstall it and reinstall it and have to go back through the many usergroups that I have and edit all of the settings.

Right now, my avatars are not viewing at all. I dont know why. I love this hack and so do my members. I am just frustrated after every update.

When you update, all you do is overwrite the new files through ftp right ?? Then import the new one correct ??
Reply With Quote
  #645  
Old 04-09-2009, 05:53 PM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just removed all the files that were uploaded as well as uninstalled the hack. I re-installed the files and uploaded the product. I went to the usergroups and edited all of the settings. I have also rebuilt all the custom avatars.

I still can not view my avatars. Any help is greatly appreciated.
Reply With Quote
  #646  
Old 04-09-2009, 07:13 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 Bulldog Stang View Post
I just removed all the files that were uploaded as well as uninstalled the hack. I re-installed the files and uploaded the product. I went to the usergroups and edited all of the settings. I have also rebuilt all the custom avatars.

I still can not view my avatars. Any help is greatly appreciated.
There is never a reason to uninstall the mod unless I specifically say you need to for some reason. Just overwrite. Then your permissions aren't lost.

As for the avatars going away, I've figured that out and will have a fix up in a few minutes. Thank you goxy63 for the use of your test board to reproduce the issue.
Reply With Quote
  #647  
Old 04-09-2009, 07:26 PM
gigglegirl gigglegirl is offline
 
Join Date: Feb 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine says "could not find phrase egg avatar invalid path" how do i fix this?
Reply With Quote
  #648  
Old 04-09-2009, 07:31 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix uploaded. No need to reimport, just overwrite files.
Reply With Quote
  #649  
Old 04-09-2009, 07:32 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 gigglegirl View Post
mine says "could not find phrase egg avatar invalid path" how do i fix this?
Change your path in the admincp eggavatar options for where eggs are stored to a valid path.
Reply With Quote
  #650  
Old 04-09-2009, 07:34 PM
gigglegirl gigglegirl is offline
 
Join Date: Feb 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil View Post
Fix uploaded. No need to reimport, just overwrite files.
All the files? Mine still says Could not find phrase 'eggavatar_invalid_path'.
Reply With Quote
  #651  
Old 04-09-2009, 07:34 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

off topic hambil, where did you get your "add-ons" hack that you have installed in your admincp?

this one's brilliant, is there options for only using in certain forums?
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 05:54 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.05170 seconds
  • Memory Usage 2,329KB
  • 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_php
  • (4)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