Author Topic: Item: EggAvatar  (Read 177108 times)

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #225 on: June 05, 2007, 03:38:00 am »
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
Estne volumen in toga, an solum tibi libet me videre?

Offline feeble

Re: Item: Egg your victims avatar
« Reply #226 on: June 05, 2007, 05:01:28 am »
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

hey perplexed,

the new version, V2 , is sort of like a different item, so it wont overrite the other eggAvatar item

I did this mostly, as it stores the egged avatar in a different spot. also it works alot better as well.

Offline perplexed

Re: Item: Egg your victims avatar
« Reply #227 on: June 05, 2007, 05:04:13 am »
ok cool, thanks feeble.  I was going to say I'll try it at the weekend but I forgot we just had one lol  I will get to this sometime during the week now that Uni is finished   
Estne volumen in toga, an solum tibi libet me videre?

Offline feeble

Re: Item: EggAvatar
« Reply #228 on: June 11, 2007, 08:52:24 pm »
quick update as this was a requested feature
Release R5, you will find download link in first post

After a successful egg, a PM is send to the victim, boasting about your good aim.

example msg
Quote
Ive egged your Avatar :)

You've been Egg'd by feeble

you can either turn this off by setting $enablePm to false or just keeping using R4

You can edit the msg at the bottom of the file look for $message and $subject

straight forward enough

Offline perplexed

Re: Item: EggAvatar
« Reply #229 on: June 19, 2007, 04:51:14 am »
hi feeble

sorry I didnt get a chance before now to try this new version out.  I just loaded it on a new forum I'm working on and it seems to be working well.

It seems to have solved the problem I had with people with a space in their names, I dont see any of the old probs I had with 'donothing' in IE either.

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?

I assume I can just copy all my other egging image options straight into the new file?

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

Offline feeble

Re: Item: EggAvatar
« Reply #230 on: June 19, 2007, 10:41:43 am »
Quote from: perplexed
I assume I can just copy all my other egging image options straight into the new file?
shouldnt be a problem at all

Quote from: perplexed
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.

Offline perplexed

Re: Item: EggAvatar
« Reply #231 on: June 19, 2007, 05:59:05 pm »
Morning feeble

I had another look at the file and I see it is using the account name instead of display name in both the custom title 'you've been egged by...' and also in the text of the PM 'you've been egged by...'.

I'm not sure where to change it though...

in the PM :

Code: [Select]
// Who the IM will come from
$pmfrom = array(
'id' => $ID_MEMBER,
'name' => $context['user']['name'],
'username' => $context['user']['username']

so  I change username to realname?

and in the taunt I can't see what to change???    (although if I allow them to change the custom title message then they could change it themselves at the time)

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

Offline perplexed

Re: Item: EggAvatar
« Reply #232 on: June 20, 2007, 01:13:26 am »
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
Estne volumen in toga, an solum tibi libet me videre?

Offline Padre

Re: Item: EggAvatar
« Reply #233 on: June 20, 2007, 06:55:40 am »
Here is the bullet hole I added

Offline perplexed

Re: Item: EggAvatar
« Reply #234 on: June 20, 2007, 07:22:12 am »
yeah I have one just like that too :)
Estne volumen in toga, an solum tibi libet me videre?

Offline feeble

Re: Item: EggAvatar
« Reply #235 on: June 20, 2007, 07:36:18 am »
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 change
Code: [Select]
class item_EggUserV2 extends itemTemplate {to
Code: [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

Offline feeble

Re: Item: EggAvatar
« Reply #236 on: June 23, 2007, 09:20:40 pm »
Here 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?

Offline Padre

Re: Item: EggAvatar
« Reply #237 on: June 24, 2007, 12:20:23 am »
Here 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 had a lot of fun with it on our forum - feel free to use it

Offline MrApples

Re: Item: EggAvatar
« Reply #238 on: June 25, 2007, 07:44:27 am »
How long do eggs last? Not permanent I hope, i'd have to uninstall it then.

Offline David

Re: Item: EggAvatar
« Reply #239 on: June 25, 2007, 09:29:18 am »
If the egged person does nothing about it then the egging is permanent however the egged person can easily go back to their unegged image.so it's up to them.