Author Topic: Item: EggAvatar  (Read 179432 times)

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #195 on: April 09, 2007, 09:14:08 am »
Feeble, this part of profile.template.php is where the 'do nothing' message is coming from:

      
Code: [Select]
// 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>';
}

line 16 in the above code.  This is what its doing in IE but not in firefox.  All permissions to select server stored avatar are correct.

Estne volumen in toga, an solum tibi libet me videre?

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #196 on: April 09, 2007, 07:29:04 pm »
screenshots of what is happening or not in Firefox, opera and IE7 for me.

I have tried with a new account that has never been egged and they all work and allow me to select an avatar from the server.  Once egged you cant select an avatar using Opera or IE.  Firefox you can.


Using another Admin account, I have gone in and physically changed my avatar above to another one on the server, yet when I log as me, I cant select any from the server myself... unless I use firefox.

this is very frustrating.
« Last Edit: April 09, 2007, 08:14:57 pm by perplexed »
Estne volumen in toga, an solum tibi libet me videre?

Offline NFM

Re: Item: Egg your victims avatar
« Reply #197 on: April 10, 2007, 12:08:03 am »
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?


Offline feeble

Re: Item: Egg your victims avatar
« Reply #198 on: April 10, 2007, 06:44:24 am »
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 ot ppl who have been egged from an uploaded avatar
« Last Edit: April 10, 2007, 06:57:36 am by feeble »

Offline feeble

Re: Item: Egg your victims avatar
« Reply #199 on: April 10, 2007, 06:50:26 am »
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?



your problem is that you actually have settings a miss in your smf forums.
your avatars if looking in the wrong spot, please fix this up
as your forums is looking for
http://ssl-ss2.testaccount.edu/smf/avatars/
which makes no sense at all

Offline NFM

Re: Item: Egg your victims avatar
« Reply #200 on: April 10, 2007, 06:58:11 am »
Sent you a message at my place, but I fixed it and it still isn't working right.

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #201 on: April 10, 2007, 08:43:04 am »
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

um which address as there is 'nothing there' really, however if I right click on the space where it says 'do nothing'  that seems to change per person but is something like http://www.mysite/forum/avatars/7  I think I posted on the previous page here one that had /avatars/1 too


also can i know if this is only happening to ppl who have been egged from an uploaded avatar

Well it seems to be both, one person definitely had an linked avatar in photobucket as I made it for them, and the other was using one on the server.   Actually tonight too, another person posted in the helpdesk asking why their avatar disappeared overnight and 'did we have a  new shop item that removed avatars' but it seems to be the same thing and they were using opera.  The avatars just disappear and then you cant select one from the server, but you can link to another url again.

I'm sorry for all this hassle.  I am assuming it only started happening last week as that was the first time someone reported it.  I didnt add anything last week apart from the arcade pass and the name CSS items.  I tried removing both but to no effect so I dont think it has anything to do with them.

(Also the person with two names can still only be egged once, then you cant find them to egg them again lol.  I asked them if they would might changing their name to one name but since that would mean they could be egged multiple times they dont want to lol)

Estne volumen in toga, an solum tibi libet me videre?

Offline NFM

Re: Item: Egg your victims avatar
« Reply #202 on: April 10, 2007, 11:12:39 pm »
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?

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #203 on: April 11, 2007, 05:32:00 am »
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?

yes, just buy another egg and egg the same person again :)
Estne volumen in toga, an solum tibi libet me videre?

Offline Smith Online

Re: Item: Egg your victims avatar
« Reply #204 on: April 15, 2007, 08:51:35 pm »
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


Offline David

Re: Item: Egg your victims avatar
« Reply #205 on: April 15, 2007, 11:31:44 pm »
Not all gif images are really gif images...I know that sounds daft but it's true. Often you find that people have changed the extension of an image to gif and think that by doing so that makes it a gif image...it doesn't.

 My guess is that the images concerned are not properly converted to gif and are thus merely mis-labeled.

 You might try doing a proper conversion to gif or you could post the actual images here for us to look them over.

 You might also find that the extension is GIF rather than gif...showing that some fiddling had been done...that too could cause you the problem you have reported.
« Last Edit: April 15, 2007, 11:33:41 pm by David »

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #206 on: April 15, 2007, 11:54:31 pm »
or it could be the problem I noticed where if the member has two names separated by a space, you cant egg them more than once.  You should check that out too for the members affected
Estne volumen in toga, an solum tibi libet me videre?

Offline feeble

Re: Item: Egg your victims avatar
« Reply #207 on: April 16, 2007, 09:26:08 am »
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

if you can use this debug item, and let me know what it prints out by a pm please
http://www.leaderless.net/tp-downloads/EggUserdebug.zip

Offline Smith Online

Re: Item: Egg your victims avatar
« Reply #208 on: April 17, 2007, 12:39:21 am »
I Have Sent You Debug Log Via PM Feeble

Regards

Smith-Online


Offline feeble

Re: Item: Egg your victims avatar
« Reply #209 on: April 17, 2007, 01:52:56 pm »
I Have Sent You Debug Log Via PM Feeble

Regards

Smith-Online


on that note, ive just released a beta version that seems to fix your issue, and also should fix your issue as well perplexed

Download EggUserV20Beta
this is a separate item for the moment (EggUserV2.php) as im trying a few different things.
-Eggs are now stored in $boardurl/egged dir. so it doesnt show up in avatars list. few ppl requested this, just gotten around to it.
-PNG imgs are now stored as egged_{ID_MEMBER}.png, so should fix naming issues, just could not get it right for some reason, but its a none issues.