Author Topic: Item: EggAvatar  (Read 133353 times)

Offline geezmo

Re: Item: Egg your victims avatar
« Reply #15 on: October 21, 2006, 11:48:34 pm »
How about just using the old, original avatar when you buy the "Clean avatar" item. When an avatar is defaced, the avatar being used is in the /egged folder right, so if you buy the "Clean avatar" item, you just have to pull up the original avatar in the /avatar folder.

Offline animecosmo

Re: Item: Egg your victims avatar
« Reply #16 on: October 22, 2006, 02:41:43 am »
It is deleting all the avatars in my forum, too. Nothing is being saved in the avatars/egged folder when the item is used.

Here is how everything is set up:

Forum / avatars / egged

Sources / shop / item_images/eggedoriginal.gif
Sources / shop / item_images/kissoriginal.gif
Sources / shop / item_images/paintoriginal.gif

Sources / shop / items/EggUser.php

Offline TechnoDragon

Re: Item: Egg your victims avatar
« Reply #17 on: October 22, 2006, 05:55:07 am »
ok, we just came upon an issue...after the first six or so egged avatars, now my error log is filling up and it either deletes their avatar or just doesn't actually egg them anymore!
Don't tell me to get into shape...I have a shape...It is round!


Offline chadk

Re: Item: Egg your victims avatar
« Reply #18 on: October 22, 2006, 06:23:52 am »
ok, I created egged in the avatars directory but when I tried egging someone all it did was remove the person's avatar.

Offline TechnoDragon

Re: Item: Egg your victims avatar
« Reply #19 on: October 22, 2006, 06:27:51 am »
also, i keep getting a ton of undefined index errors

EDIT: I mean Use of undefined constant username - assumed 'username'

there are more...this was just the first...there are several different ones
« Last Edit: October 22, 2006, 06:39:45 am by Technodragon73 »
Don't tell me to get into shape...I have a shape...It is round!


Offline matkins70

Re: Item: Egg your victims avatar
« Reply #20 on: October 22, 2006, 07:43:35 am »
try changing the permission of the egged folder, thats what me and feeble had to do to mine to get it to stop deleting avatar.  Might just be that your server requires a higher level

Offline feeble

Re: Item: Egg your victims avatar
« Reply #21 on: October 22, 2006, 07:52:55 am »
ok, I created egged in the avatars directory but when I tried egging someone all it did was remove the person's avatar.

this may be the same problem that matkins70 had. could you please try cmoding the egged folder to 0777 please. and tell me how that goes, its server hosting issue.

Offline chadk

Re: Item: Egg your victims avatar
« Reply #22 on: October 22, 2006, 08:26:46 am »
Still not working.  I have GD installed, I have the egged folder in the /avatars/ directory and it's 0777.  I receive no errors when installing the item or when using the item and it reports "Successfully egged <username whoever it was>".
But when I look at the user's profile, they no longer have an avatar and the EGGED directory is empty.

Offline feeble

Re: Item: Egg your victims avatar
« Reply #23 on: October 22, 2006, 04:56:47 pm »
updated the release to V2.

changelog is in the first post

Offline chadk

Re: Item: Egg your victims avatar
« Reply #24 on: October 22, 2006, 10:50:41 pm »
Line 59 in version 2:
global $context, $scripturl, $settings, $txt, $de_prefix, $eggSelect, $item_info;
Shouldn't that be $db_prefix?  what's $de_prefix?
Though actually, you don't use any of those globals in that function so you only need:
global $item_info, $eggSelect;


Offline feeble

Re: Item: Egg your victims avatar
« Reply #25 on: October 22, 2006, 10:56:57 pm »
Line 59 in version 2:
global $context, $scripturl, $settings, $txt, $de_prefix, $eggSelect, $item_info;
Shouldn't that be $db_prefix?  what's $de_prefix?
Though actually, you don't use any of those globals in that function so you only need:
global $item_info, $eggSelect;

lol, thanks. it should be, but its not used. ill just update that thanks

oh btw, all working for you now? never heard back from you?

Offline feeble

Re: Item: Egg your victims avatar
« Reply #26 on: October 22, 2006, 11:09:26 pm »
v3 released.

few new features, changelog in the first post

Offline chadk

Re: Item: Egg your victims avatar
« Reply #27 on: October 22, 2006, 11:15:50 pm »
feeble: lol I just downloaded v2, let me get v3 and try it

Offline chadk

Re: Item: Egg your victims avatar
« Reply #28 on: October 22, 2006, 11:28:10 pm »
Yes, that one worked Feeble, but when you're using the item and you change from Egg to Paint or something, it doesn't update the Egg preview image.

Offline feeble

Re: Item: Egg your victims avatar
« Reply #29 on: October 22, 2006, 11:33:56 pm »
Yes, that one worked Feeble, but when you're using the item and you change from Egg to Paint or something, it doesn't update the Egg preview image.

does the image break? or just doesnt change? also does the text in the taunt area update correctly? as it should change as well?

your using ie or firefox?