Installation/Update notes:
1. Copy folders "item_images" and "items" into your Sources/shop directory on your website
2. IMPORTANT: When you go to add this item into your shop. Please make sure that it passes
both tests. If it doesnt, it should give you good enough instructions to fix the problem.
If not please, follow the link at the bottom of this document, post up and I should beable
to help you out.
I have created the directories for you in the zip file. just upload them into your forum directory.
deleted users avatar :(
ah, well i just replaced it. Not sure what happened, i selected the user, and it said i egged them. then when i check out their profile, there is no avatar, but when i went toupload it for them again, i could see their avatar, it just wasnt selected, if you understand what i mean, so i uploaded it again, and now their avatar is back.that is correct, its done like that on purpose, it does not delete the users uploaded image, so that they can easily replace it.
If you want i can add the item again, and do it to someone else.if thats ok, just to confirm, if the image is being saved, and if its looking in the right spot, you created an egged directory in avatars/ ?
BTW, under the GD successful bit, there was a check box that said "allows users to change...", should i have ticked this?only, if you want your victims custom title to change to the taunt. atm default is off, i think i might change it to default is on thou
Thanks a lot feeble!! All sorted, and users being egged as i speak!!no worries man
Deface someone else's picture with numurous items. You can even taunt them by writing a message to appear below their nameits a pretty sweet idea, ill get right on that.
I'd like to try this but this is what I want to see in the package:
1 - Have another shop item like "Delete eggs/kisses in avatar" so you can remove the eggs/kisses anytime. Of course, the member has to pay for the item.
2 - When new avatars are uploaded, the eggs/kisses should be active again. This way, members will need to buy the Item i said above rather than reupload a new avatar if they dont want the eggs in their avatar.same again, just deducting from the stored data
Overall, though, I personally like this item!thanks ;)
ok, I created egged in the avatars directory but when I tried egging someone all it did was remove the person's avatar.
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;
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.
Its stopped working :(
Have done it lots of times, but now its stopped. I press the button to send egg, but it never loads
document.eggP.src = '".$boardurl."/smf/Sources/shop/item_images/' + sel.options[sel.selectedIndex].id;
<br/>Egg Preview: <img name='eggP'src='".$boardurl."/smf/Sources/shop/item_images/{$eggSelect[0][image]}' align='texttop'/>
it also dropped transparency on this avatar:
http://www.aviary.info/index.php?action=profile;u=1934
REALLY cool item :)
However, remove "echo $boarddir;" from your php code =D
Not to be picky (love the newest fixes you have for this item) but I am still getting a lot of use of undefined constant erros everytime the item is used...one full page each time actually...
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagedestroy(): supplied argument is not a valid Image resource
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 277
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagedestroy(): supplied argument is not a valid Image resource
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 276
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagepng(): supplied argument is not a valid Image resource
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 274
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagecopyresampled(): supplied argument is not a valid Image resource
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 272
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagecopyresampled(): supplied argument is not a valid Image resource
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 230
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagecreatetruecolor(): Invalid image dimensions
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 229
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: getimagesize(Fantasy%20&%20Medieval/Rapunzel%202.jpg): failed to open stream: No such file or directory
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 189
member The Great Orator Today at 08:52:36 AM
IP address 71.209.180.174 session feab54a1523882b5e08fa7d3cbba7810
URL http://dragontalk.net/index.php?action=shop;do=inv3;id=1423
2: imagecreatefromjpeg(Fantasy%20&%20Medieval/Rapunzel%202.jpg): failed to open stream: No such file or directory
File: /home/www/dragontalk.net/Sources/shop/items/EggUser.php
Line: 136
hi
is there a picture of what an egged avatar looks like?
I am having a problem with the entering of user names.
it is case sensitive i.e if a members tries to egg tazpot it will create egged_tazpot.png but if a members uses Tazpot it creates a different image called egged_Tazpot.png but wonn't show the first egging just the new one.
Is there a way to make the entering of a user name non-case sensitive? :-\
Wow, feeble you are awesome...one thing I have learned though is that if you ever want to find out any issues with something you make...send it out to the masses
* In the description, you misspelt numerous as numurousah rgr that, ill fix that up.
[li] BMP is not WBMP, so the lines like:
elseif ( strpos($source_file,".bmp") ) { $img_source = imagecreatefromwbmp($source_file); }
elseif ( strpos($source_file,".bmp") ) { $img_source = imagecreatefromwbmp($source_file); }
* Won't work as expected.[/li]A lot of the image code in onUse() seems to be a bit redundant. For example, the three 'imagecreatefrom....' sections can be shortened down so the if statement only gets the locaton of the file, and then the file is loaded after the if statement... You know what I mean, right?
EDIT: I just tried to egg tazpot's avatar, and I got a 'Avatar is an unknown filetype' message.
Oh, and I know you removed it in an earlier version...but is it possible for you to put back in the fact that it would automatically change the text when you changed your item? I know it doesn't work on IE, but many of my members use firefox and it WAS a nice feature to have!
can you confirm for me if its a jpg and whats its filename?He has an offsite avatar: http://taffyshack.co.uk/smf/index.php?action=dlattach;attach=53;type=avatar
actually it is imagecreatefromwbmp, unless im looking at the wrong functionThat function is not what it looks like:
WBMP images are Wireless Bitmaps, not Windows Bitmaps. WBMP is used for bandwidth constrained, black and white, limited devices such as PDAs and Cell Phones.(don't worry, I was confused over this as well) ;)
ah rgr that, i dont think i can fix this, as there is no way to tell what type of filetype it is.Quotecan you confirm for me if its a jpg and whats its filename?He has an offsite avatar: http://taffyshack.co.uk/smf/index.php?action=dlattach;attach=53;type=avatar
Does it matter if it's offsite?
Quote
WBMP images are Wireless Bitmaps, not Windows Bitmaps. WBMP is used for bandwidth constrained, black and white, limited devices such as PDAs and Cell Phones.
(don't worry, I was confused over this as well) Wink
-NEW OPTION: actually alter the victims avatar file if its not external. (default off)
and just been thinking that, i will only save victims avatar if its uploaded only. since, you probably don't want your forum avatars from being edited.
Sounds like some good ideas...what kind of images are you looking for?
And what exactly do you mean byQuote-NEW OPTION: actually alter the victims avatar file if its not external. (default off)
and just been thinking that, i will only save victims avatar if its uploaded only. since, you probably don't want your forum avatars from being edited.
The link is not working for me. What's going on??????????
basically means it will alter the original image, instead of saving a copy in the egged folder. meaning the user will have to physically upload a fresh copy.
It worked, I installed the items and used it when I went to check if it worked and click on a forum then a topic I get this error:
Unknown column 'shop_nameStyle' in 'field list'
File: /home/msvi007/public_html/timeout/Sources/Load.php
Line: 1007
HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Does this item only work on certain file types? I keep getting an error "Avatar is an unknown filetype" when I try using it on users with an avatar that is .gif
ok, I have a couple problems:
I can't seem to be able to use it if the avatar is animated
when i use it on an avatar that is transparent it adds a dark background
Is there anything I can do to fix it?
Does this item only work on certain file types? I keep getting an error "Avatar is an unknown filetype" when I try using it on users with an avatar that is .gif
hmm, it seems the avatar wasnt able to be found. there is a still a bug, if there are to many spaces or &.
can you give me a direct link to the avatar that didnt work?
Here is the link
http://www.msvi007.com/timeout/avatars/SmallDollsAnimated/1c.gif
Also, when i try to use this mod on any avatars in this category it just removes the avatar even though i get the error message about the unknown filetype.
would it be possible to backup the users current avatar before egging it? and have it selectable in the profile like the egged versions? if this is possible would someone be able to point me in the right direction?
would it be possible to backup the users current avatar before egging it? and have it selectable in the profile like the egged versions? if this is possible would someone be able to point me in the right direction?
the link doesnt work for me.. is it just me? repost if u could.. thanx
No one?!... theres if no support for this items system?.... :( bad luck
Hi.. im getting the same error.... just a white screen and
"Egg is an unknown filetype"
What can it be???
Really cool mod, i want to made my owns item and make some interactives avatars, like GaiaOnline
Thanks for reply!... sorry if i offend you... ok, this is my avatar
http://foroqliao.ifastnet.com/foro/attachments/avatar_1.png
and is me XD
Maybe its because i dont have an .htacess file?
how i made one?
... greetings! :D
<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>
OMG!!! you are good!!... :)
... but it still tellme that "Egg is an unknown filetype" thing...
It's ok... :( im really want to make some kind of interactive avatars with this really cool addon....
and... i want to "modify" this "avatar base" and "buy" stuff for him... :D
(http://www.subirimagenes.com/imagenes/previo/thump_584287Base Avatar sin items.png)
The picture of mine was an uploaded avatar... but my "avatar base" its in the avatar place...
(http://foroqliao.ifastnet.com/foro/avatars/hombre_01.gif)
I hope you can helpme ;) thanks
PD: My english sux :P
2: getimagesize(http://girra.110mb.com/forums/Sources/shop/item_images/eggedoriginal.gif) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be found
File: /www/110mb.com/g/i/r/r/a/_/_/_/girra/htdocs/forums/Sources/shop/items/EggUser.php
Line: 216
2: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: URL file-access is disabled in the server configuration
File: /www/110mb.com/g/i/r/r/a/_/_/_/girra/htdocs/forums/Sources/shop/items/EggUser.php
Line: 216
8: Undefined index: eggtaunt
File: /www/110mb.com/g/i/r/r/a/_/_/_/girra/htdocs/forums/Sources/shop/items/EggUser.php
Line: 166
Okay, I have a weird one. I created an egged directory in the avatars directory in my forum. However, when I go to add the item, it says "EGGED DIR NOT FOUND, please create an egged directory @" and shows my OLD host and domain info instead of my current sever settings. My server settings are all set up correctly, but I am thinking maybe since we had the shop in the old directory, somehow the databases or files or something got a bit wierd during the transfer. Where would I go to check, and how would I fix this?
It DOES say "GD SUCCESSFULLY FOUND, ITEM SHOULD WORK"
As I expected, when the item is used, it doesn't create the egged avatar. Instead it has a broken image. I am sure that would be fixed if the right path was able to be put in place.
Hmm, well it did make it pass the check, but now the avatar is showing up as broken. There is no avatar in the egged directory, either. I read somewhere that something has to be a GIF file. Does the avatar have to be a gif file? Does the avatar have to be uploaded, or can it just be linked? Does it have to be a certain size? If one of those is the cause of the problem, that should be any easy fix. I'll just set it so people have to upload an avatar rather than direct linking it, set the size, etc.
Error help please!
When I use the item it says: 'Egg is an unknown filetype'
No errors when installing
SMF1.1.1
Egg version: 19/DEC/06
the avatar can be most things, just try the default avatars that come with smf, if they work, then its working correctly.
also if it cant handle the avatar it will let you know
http://powerspike.ulmb.com/forumsError help please!
When I use the item it says: 'Egg is an unknown filetype'
No errors when installing
SMF1.1.1
Egg version: 19/DEC/06
normally means it is having trouble finding the egg images.
can i get your website address please
the avatar can be most things, just try the default avatars that come with smf, if they work, then its working correctly.
also if it cant handle the avatar it will let you know
It is just not working, and it is not telling me anything. It says all the tests are fine, but when I egg someone, the avatar turns out broken.
Do you have aim?the avatar can be most things, just try the default avatars that come with smf, if they work, then its working correctly.
also if it cant handle the avatar it will let you know
It is just not working, and it is not telling me anything. It says all the tests are fine, but when I egg someone, the avatar turns out broken.
looking at your forums, there is something wrong with how you have set it up. I need admin if thats ok.
Do you have aim?the avatar can be most things, just try the default avatars that come with smf, if they work, then its working correctly.
also if it cant handle the avatar it will let you know
It is just not working, and it is not telling me anything. It says all the tests are fine, but when I egg someone, the avatar turns out broken.
looking at your forums, there is something wrong with how you have set it up. I need admin if thats ok.
AIM me at ALLFATTEPUP69 or MSN me at XFOLLOWTEHREAPERX@HOTMAIL.COM
I'm extremely sorry but my server deleted the egg item
If you have a copy of the file you sent me or can fix it really quickly could you please? :(
I found the problem, my FTP didn't store the egg imageI'm extremely sorry but my server deleted the egg item
If you have a copy of the file you sent me or can fix it really quickly could you please? :(
your problem was fixed in the main package, just download it again
May I suggest, to create the folder somewhere else, such as in the main folder for your forum so it does not show in your profile, when trying to change your avatar? :)
Okay thank you, when it's finished would it be posted here?
whoops sorry, here are the errors I have in the forum error log in relation to the above problem:
2: getimagesize(/home/mysite/public_html/testforum/avatars/egged/egged_Imperial%20Scribe.png) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /home/mysite/public_html/testforum/Sources/shop/items/EggUser.php
Line: 204
2: getimagesize(http://www.mysite.com/testforum/avatars/egged/egged_Imperial Scribe.png) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
File: /home/mysite/public_html/testforum/Sources/shop/items/EggUser.php
Line: 212
is this compatible to any SMF version?
if you encounter :
"Unsuccessful, <name> not found, here have another egg"
and yet, you are 100% sure that the name is existing in the database, the username might not be the original one from his registration.
To fix this problem just change the part where it compares the
memberName = '".$_POST['egguser']."'"
to
realName. = '".$_POST['egguser']."'"
its on Line 171, Col 128 onwards
WHERE memberName = '".$_POST['egguser']."' OR realName = '".$_POST['egguser']."'
Or better yet...change the where clause to this:Code: [Select]WHERE memberName = '".$_POST['egguser']."' OR realName = '".$_POST['egguser']."'
That way it will check for either....
whoops sorry, here are the errors I have in the forum error log in relation to the above problem:
2: getimagesize(/home/mysite/public_html/testforum/avatars/egged/egged_fred%20blogs.png) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /home/mysite/public_html/testforum/Sources/shop/items/EggUser.php
Line: 204
2: getimagesize(http://www.mysite.com/testforum/avatars/egged/egged_fred blogs.png) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
File: /home/mysite/public_html/testforum/Sources/shop/items/EggUser.php
Line: 212
errors basically mean it couldnt find the avatar image
please make sure you have all your settings correct in smf admin area->attachments and avatars
also if possible can you please give me your test site address so i can check a few things
image: image file name. FOR THIS RELEASE THIS HAS TO BE A GIF. IF THIS FAILS,
IT WILL NOT WARN YOU, AND IT WILL SAVE AN UNALTERED VERSION IN THE EGGED FOLDER
Code: [Select]image: image file name. FOR THIS RELEASE THIS HAS TO BE A GIF. IF THIS FAILS,
IT WILL NOT WARN YOU, AND IT WILL SAVE AN UNALTERED VERSION IN THE EGGED FOLDER
In the above error message and also in one I got today it shows the avatar in question
2: getimagesize(http://www.mysite.com/testforum/avatars/egged/egged_Imperial Scribe.png)
This only works with gifs, so that would explain it, right?
Is there any chance of getting this to work with .png and .jpg avatars as I have 100s of them on my server and would hate to have to start changing them all over to .gifs :(
Code: [Select]image: image file name. FOR THIS RELEASE THIS HAS TO BE A GIF. IF THIS FAILS,
IT WILL NOT WARN YOU, AND IT WILL SAVE AN UNALTERED VERSION IN THE EGGED FOLDER
In the above error message and also in one I got today it shows the avatar in question
2: getimagesize(http://www.mysite.com/testforum/avatars/egged/egged_fred blogs.png)
This only works with gifs, so that would explain it, right?
Is there any chance of getting this to work with .png and .jpg avatars as I have 100s of them on my server and would hate to have to start changing them all over to .gifs :(
odd, as it should be working with png file types ill look into that.
for jpg well, since its not officially support by GD, i havent included it sorry,
javascript is annoying but can be worked around, the other problem once you egg someone you cant egg them again, is a little harder to explain to members
thanks feeble, I have uni too so I hear you on that one lol
Wow, very good work Feeble...though let me tell you from experience...you are probably better off leaving the avatars as they are, it is near impossible to change that stuff with out a total rewrite of the whole avatar code in smf...
or storing the egged image in a directory other then avatars?
Quoteor storing the egged image in a directory other then avatars?
That
Does this not work on people's avatars if they are linked from offsite? It doesnt seem to work on avatars if they aren't uploaded to the server (for people who are using the "I have my ownpic" option). When I try to hit someone who's avatar is on the board by that method, I get "Avatar is an unknown filetype". Must their avatar be on my server for it to work?
PM sent........
PM sent........
im going to look into it, but at this point in time it looks like its to do with your host, and not allowing external grabs.
ill look into a way to get around this, but i cant promise anything
I can't seem to get this to work at all. The error I keep getting is that it can't find the "egged" directory. I've gone to the avatars folder and created "egged" "Egged" and "EGGED" and it still says that it can't find the directory.
I'll try that tonight when I get home. But I get that message when I try and add the item.
umm can you open any other folder?
like cats? or actors?
I dont i doubt im the only one who has experienced this but when i egged someones avy, it ate the avatar.
Its no longer there..!!
well this is kinda odd but I just posted this and it disappeared so here I go again. I'm pretty sure I said it better the first time...
Feeble the probem has to do with the egging and browsers other than Firefox.
Members who have been egged can no longer browse or select avatars from the stored avatars on the forum IF they use a browser other than firefox.
Their current avatar disappears, and is replaced by the broken image with 'do nothing' (as per image above) and the avatar directories are not links so they cant browse or select from them
If they go to firefox, they can do everything as normal
Members who have never been egged can continue to browse and select avatars from the server from all browers. But once they get egged, they get the same problem as above.
It doesnt happen in firefox which is why I didnt pick up on it before now - I use firefox. But it is really stopping members from playing with the new egging feature as not many of them use firefox.
I tested it myself with my account, everything fine in firefox - can't change avatar, select avatar etc in IE.
Then I tried it with a member account that had never been egged and everything was fine in all browsers... until they were egged and then they run into the above problem.
I dont i doubt im the only one who has experienced this but when i egged someones avy, it ate the avatar.
Its no longer there..!!
can you please elaborate on this please.
was it an uploaded avatar?
did you have the setting enabled that that it would overwrite the avatar?
please link the image if possible
anything else would be useful as well, like a website address etc.well this is kinda odd but I just posted this and it disappeared so here I go again. I'm pretty sure I said it better the first time...
Feeble the probem has to do with the egging and browsers other than Firefox.
Members who have been egged can no longer browse or select avatars from the stored avatars on the forum IF they use a browser other than firefox.
Their current avatar disappears, and is replaced by the broken image with 'do nothing' (as per image above) and the avatar directories are not links so they cant browse or select from them
If they go to firefox, they can do everything as normal
Members who have never been egged can continue to browse and select avatars from the server from all browers. But once they get egged, they get the same problem as above.
It doesnt happen in firefox which is why I didnt pick up on it before now - I use firefox. But it is really stopping members from playing with the new egging feature as not many of them use firefox.
I tested it myself with my account, everything fine in firefox - can't change avatar, select avatar etc in IE.
Then I tried it with a member account that had never been egged and everything was fine in all browsers... until they were egged and then they run into the above problem.
ill look into it, but it sounds odd.
just checking, when the users of ie get this problem, is their avatar egged? and was it egged successfully?
// If users are allowed to choose avatars stored on the server show selection boxes to choice them from.
if (!empty($context['member']['avatar']['allow_server_stored']))
{
echo '
<tr>
<td width="40%" valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="height: 25ex;"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" id="avatar_choice_server_stored" value="server_stored"', ($context['member']['avatar']['choice'] == 'server_stored' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;">
<b', (isset($context['modify_error']['bad_avatar']) ? ' style="color: red;"' : ''), '><label for="avatar_choice_server_stored">', $txt[229], ':</label></b>
<div style="margin: 2ex;"><img name="avatar" id="avatar" src="', !empty($context['member']['avatar']['allow_external']) && $context['member']['avatar']['choice'] == 'external' ? $context['member']['avatar']['external'] : $modSettings['avatar_url'] . '/blank.gif', '" alt="Do Nothing" /></div>
</td>
</tr></table>
</td>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="width: 20ex;">
<select name="cat" id="cat" size="10" onchange="changeSel(\'\');" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'server_stored\');">';
// This lists all the file catergories.
foreach ($context['avatars'] as $avatar)
echo '
<option value="', $avatar['filename'] . ($avatar['is_dir'] ? '/' : ''), '"', ($avatar['checked'] ? ' selected="selected"' : ''), '>', $avatar['name'], '</option>';
echo '
</select>
</td>
<td>
<select name="file" id="file" size="10" style="display: none;" onchange="showAvatar()" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'server_stored\');" disabled="disabled"><option></option></select>
</td>
</tr></table>
</td>
</tr>';
}
I'll try that tonight when I get home. But I get that message when I try and add the item.
can i please have your website address please
I'll try that tonight when I get home. But I get that message when I try and add the item.
can i please have your website address please
Sorry, I was away from my computer all weekend. http://castlenofear.com
Does it help if I tell you that it's bridged with Joomla?
perplexed
ill get back to you
umm do you think you could also tell me what the "do nothing" address on the image is please
also can i know if this is only happening to ppl who have been egged from an uploaded avatar
Okay...it's working great now....
Just a quick question, how do you egg an avatar multiple times?
Do you just choose it and egg it again?
Hi I installed this item and all was well and seemed to work fine but i have found 1 problem i can egg some users but not others i have found that the users i carnt egg are users which have a gif avater i have chmod all avater folders to 777 but did not solve the problem i get this messgae when trying to egg someone which have a gif image:-
Avatar is an unknown filetype
Regards
Smith-Online
I Have Sent You Debug Log Via PM Feeble(http://www.leaderless.net/egged/egged_1.png)
Regards
Smith-Online
Thanks for your work on this feeble.
I'm getting the following problem with the new version...the old one worked properly.
Egg_Source: /home/****/smf_clean_install/Sources/shop/item_images/eggedoriginal.gif
Egg Details:
Array
(
[bits] => 7
- => 50
[1] => 50
[2] => 1
[3] => width="50" height="50"
[channels] => 3
[mime] => image/gif
)
1
Avatar Source :http://****smf_clean_install/egged/egged_2.png
Image Details:
1
Avatar is an unknown filetype
--------------------------------------------------------------------------------
Quote from: checho_vacan on December 12, 2006, 01:34:27 AM
OMG!!! you are good!!...
... but it still tellme that "Egg is an unknown filetype" thing...
It's ok... im really want to make some kind of interactive avatars with this really cool addon....
and... i want to "modify" this "avatar base" and "buy" stuff for him...
The picture of mine was an uploaded avatar... but my "avatar base" its in the avatar place...
I hope you can helpme thanks
PD: My english sux
Checho...where are you geting that avatar stuff from?
I ask, because I have been working on an SMF compatible mod that will allow members to make avatars very similar to what you posted...
EGGED DIR NOT FOUND, please create an egged directory @ /www//t//eep/_/_/_/_/teep/htdocs/forum/avatars/egged
GD SUCCESSFULLY FOUND, ITEM SHOULD WORKWhat is it?
Admin>Attachments and Avatars>Avatar Settingsthanks for your response to shanhi help request.
Change your Avatar directory there.
GD is a service that must be part of the php installation on your server for the egging system to work...the note you quote says that it has been found to be there and should work.
The idea sounds great but I just can't gwet it to work, get on getting a white screen.
I've put 'egged' in the avatar map, and I got the two green OK's when I added the item.
I am using the joomla bridge however (1.1.7) (smf 1.1.2) (joomla 1.0.12) could this be a problem ?
>> edit <<
The problem is the joomla bridge. I have tried it on my test_board and it worked.
Anybody have a solution to the bridge ?
http://www.powerlifting-forum.nl/index.php?option=com_smf&Itemid=99999999&action=shop;do=inv2;id=21
hi Feeble sorry I havent had a chance to look at this yet.
so what do I have to do, delete the old version of the item and delete the avatar/egged folder and start again with this new version?
thanks for all your good work
Ive egged your Avatar :)
You've been Egg'd by feeble
I assume I can just copy all my other egging image options straight into the new file?shouldnt be a problem at all
It is using the member's account name in the egging messages instead of their display name. Is it ok to change this or will it cause any problems?oh really? lol, umm i can update the item if you would like, or if you are right to, you should be able to make the small change yourself.
// Who the IM will come from
$pmfrom = array(
'id' => $ID_MEMBER,
'name' => $context['user']['name'],
'username' => $context['user']['username']
I have another question.
I wanted to have another item that does the same thing as the egging but with a different set of images. So 'egging 1' would have images 1-5 and 'egging 2' would have images 6-10. I had an idea for another bunch of images but I dont really want them in the same item just so people dont get confused.
What would I have to change in the egging file to make this a new item? Is it enough to just change the name to 'egguserV2B.php' and change the items in it and the taunt etc or would I also have to change the directory so that it makes a new one eg /egged2 as I guess if I tried to install it as it, it would try and create another /egged directory... or not?
Any ideas? I could maybe give you some of my snazzy new images in return
class item_EggUserV2 extends itemTemplate {
toclass item_EggUserV2B extends itemTemplate {
Here is the bullet hole I added
I have had a lot of fun with it on our forum - feel free to use itHere is the bullet hole I added
Sorry, ive only been recently started seeing attachments below posts.
Looks good, would you like it included in the main package?
I have another question.
I wanted to have another item that does the same thing as the egging but with a different set of images. So 'egging 1' would have images 1-5 and 'egging 2' would have images 6-10. I had an idea for another bunch of images but I dont really want them in the same item just so people dont get confused.
What would I have to change in the egging file to make this a new item? Is it enough to just change the name to 'egguserV2B.php' and change the items in it and the taunt etc or would I also have to change the directory so that it makes a new one eg /egged2 as I guess if I tried to install it as it, it would try and create another /egged directory... or not?
Any ideas? I could maybe give you some of my snazzy new images in return
Ok your on the right track, change the filename to 'EggUserV2B.php' and changeCode: [Select]class item_EggUserV2 extends itemTemplate {
toCode: [Select]class item_EggUserV2B extends itemTemplate {
other then that, all you need to do this change $eggSelect
Also I wouldnt touch that $fromPM, thats correct how it is.
realName is actually stored in $context['user']['name']
They may of done this just to confuse people...anyways, ive made the changes for you
Download here EggAvatarV2R6 (http://www.leaderless.net/tp-downloads/EggUserV20R6.zip)
I'm feeling in a kind mood...see below
Hi FeebleApologies, my server is acting a big funny, its come down with "Guest is sleeping in server room" bug, should have it ironed out by Tuesday
sorry I've been MIA and havent downloaded this yet, but I cant seem to download it today?
TY
My pleasure guys...if you need me just yell "Backup!"...maybe that should be my new username?
a problem with the setup of your host's server.
Guys it seems that those avatar got egged shrinked. ANyone know why or is that normal?
Sorry. Yea. The avatars shrinked after egged. Is this normal or not. If it is not normal then anyone know what is the problem and how to fix it. Hhe thank you :angel:
Ok so I installed this...
I gather if you egg someone with a gif avatar it adds the egg and the avatar no long has movement..correct?
is there anyway you can make it so an admin can de-egg it? or a user can buy a de-egger?
if($userID = mysql_fetch_assoc(db_query("SELECT `ID_MEMBER` , `memberName`, `avatar` FROM {$db_prefix}members WHERE memberName = '".$_POST['egguser']."' OR realName = '".$_POST['egguser']."' LIMIT 1", __FILE__, __LINE__)))
Fatal error: Call to undefined function db_query() in C:\wamp\www\Sources\shop\items\EggUserV2.php on line 180