PDA

View Full Version : New Posting Features - [tk] Egg Avatar


Pages : 1 [2] 3 4

djilou
03-25-2009, 07:22 PM
Some bugs <D

when I try to edit an egg on admincp

Invalid SQL:
UPDATE eggimage SET
type='',
name='Throw Egg',
effect=0,
image='egg.gif'
WHERE imageid=1;

MySQL Error : Unknown column 'type' in 'field list'
Error Number : 1054
Request Date : Wednesday, March 25th 2009 @ 08:24:40 PM
Error Date : Wednesday, March 25th 2009 @ 08:24:40 PM
Script : /admincp/eggadmin.php?do=add
Referrer : /admincp/eggadmin.php?do=modify&imageid=1&action=edit


And this one : 50 Credit to egg, 50 Credit to clean, 0 to clean all.

hambil
03-25-2009, 07:30 PM
Some bugs <D

when I try to edit an egg on admincp

Invalid SQL:
UPDATE eggimage SET
type='',
name='Throw Egg',
effect=0,
image='egg.gif'
WHERE imageid=1;

MySQL Error : Unknown column 'type' in 'field list'
Error Number : 1054
Request Date : Wednesday, March 25th 2009 @ 08:24:40 PM
Error Date : Wednesday, March 25th 2009 @ 08:24:40 PM
Script : /admincp/eggadmin.php?do=add
Referrer : /admincp/eggadmin.php?do=modify&imageid=1&action=edit

Woohooo! My first official 2.0 fix. 2.0.1 is now available.


And this one : 50 Credit to egg, 50 Credit to clean, 0 to clean all.
This (I believe) is a refresh bug. I can't seem to get it to recalculate the # of eggs on a avatar until you refresh the thread. Let me know if that is the same problem you are having, and if so it's already on my list to eventually figure out.

If does charge the right amount, it just doesn't display it properly in the popup without a refresh, do to some YUI caching crap I think.

hambil
03-25-2009, 07:35 PM
It's display fine on Firefox but not on IE

Woah - I can see that! Okay, working on it now.

TimberFloorAu
03-25-2009, 08:25 PM
Another simply stunning upgrade, great work mate !

hambil
03-25-2009, 08:38 PM
It's display fine on Firefox but not on IE
2.0.2 now displays much better (but not perfect) on IE. I'll continue to fix it up in further releases, but wanted to get this out quickly so it was at least usable on IE.

hambil
03-25-2009, 08:39 PM
Who egged me coming up as Unknown location in WOL.

Ah yes, now that there are places to go, I need to update WOL :p I'll get that in the next release. Thanks.

djilou
03-25-2009, 08:41 PM
Thanks for the update.

DobieGillis?
03-25-2009, 08:47 PM
much better, I had yoke on my face from the IE folks..just kidding. It's eggsactly what I wanted. Still don't get why people use IE.

TimberFloorAu
03-25-2009, 09:01 PM
Please explain upgrade from 2 to 2.02 is it entire upload, or just product or the lot.

Ste

hambil
03-25-2009, 09:06 PM
Please explain upgrade from 2 to 2.02 is it entire upload, or just product or the lot.

Ste
Upload files and import xml (with overwrite). It shouldn't harm any existing settings.

TimberFloorAu
03-25-2009, 09:18 PM
Upload files and import xml (with overwrite). It shouldn't harm any existing settings.


Sorted thanks :up:

Alien
03-25-2009, 09:36 PM
Hey!

VERY NICE UPDATE!

I'm definitely installing this as soon as I can customize a way to select where I can have the scroll-out menu/throw_green.gif

Any pointers on this? I want to use a little egg and put that anywhere I want in the postbit (not just specific hook-locations).

How would I go about that?

Thank you very much!

hambil
03-25-2009, 09:49 PM
Sure. Paste this code over the existing code in the [tk] Egg Avatar: Add Postbit Control plugin:

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


Then just place the $eggavatar_button variable wherever you want the button to appear in the postbit. I can't really support this though, so if you mess up your board please don't blame me :p

Alien
03-25-2009, 10:08 PM
LOL!

Thank you SO much, I'll test this tonight and turn it loose on the masses!

SliceofLife
03-25-2009, 10:38 PM
Thanks for the update! Is there going to be a release where it can be switched off for individual users?

b6gm6n
03-25-2009, 10:48 PM
this seems like a very well coded and implemented system for something thats completely pointless... to me anyways :) sorry if i sounded rude there, i speak as i find :)

Alien
03-25-2009, 10:55 PM
Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it. ;)

hambil
03-25-2009, 10:59 PM
this seems like a very well coded and implemented system for something thats completely pointless... to me anyways :) sorry if i sounded rude there, i speak as i find :)

Why speak at all? Just ignore it if you don't want it.

Bigj85
03-25-2009, 11:04 PM
working great so far,members are using it a lot already
installed :)

hambil
03-25-2009, 11:06 PM
Small AdminCP Bug found, see attachment...

Notice:

1) The action BUTTON on right has no text

2) Last empty option in select menu also has no text showing up. It should read "Disable", as I tested it. ;)

The phrases definitely exist in the xml file - try a re-import with overwrite...

The Mack
03-25-2009, 11:16 PM
So how do you add this to the usercp to display who egged you?

hambil
03-25-2009, 11:18 PM
Just turn on the 'Enable Who Egged' option.

https://vborg.vbsupport.ru/attachment.php?attachmentid=96958&d=1237996329

The Mack
03-25-2009, 11:45 PM
I turned it on but still don't see it in the usercp

SliceofLife
03-26-2009, 12:04 AM
My users for the majority absolutely love this! They're changing their avatars to some very interesting ones and then seeing where their splats hit [like targets, etc] however, some users aren't so keen, so will you be bringing out a release that will include switching it off for individual users? Thanks! This one is heaps of fun!

samraz972
03-26-2009, 12:08 AM
The avatars disappeared

woffie
03-26-2009, 12:45 AM
Nice update!

hambil
03-26-2009, 01:30 AM
I turned it on but still don't see it in the usercp
Well, there should be a choice all the way down at the bottom of the usercp menu.

http://img148.imageshack.us/img148/5826/whoeggedme.jpg

Alien
03-26-2009, 02:35 AM
The phrases definitely exist in the xml file - try a re-import with overwrite...

Hey,

Nope, I get the same issue. I actually uninstalled the previous version that I was testing when I installed 2.0.2. I just did a re-import with overwrite and that didn't work. It's just like that screenshot I included.

I also noticed an additional bug!

When trying to add a brand new object (another towel I have), I fill in all fields like so:

Example:
Throw Another Towel
Select "clean all"
Click on "Browse" to my pictures directory and select towelnew.gif and when I submit, it always gives me the same error message:

There was an error encountered with your upload:

* Invalid File Path Specified

If you are not automatically redirected, please click here.

Processing Complete - Proceed

This happens time and time again and the path is perfectly valid.

Hope this all helps!

Thanks!

hambil
03-26-2009, 02:57 AM
Hey,

Nope, I get the same issue. I actually uninstalled the previous version that I was testing when I installed 2.0.2. I just did a re-import with overwrite and that didn't work. It's just like that screenshot I included.

I'll double check.


I also noticed an additional bug!

When trying to add a brand new object (another towel I have), I fill in all fields like so:

Example:
Throw Another Towel
Select "clean all"
Click on "Browse" to my pictures directory and select towelnew.gif and when I submit, it always gives me the same error message:



This happens time and time again and the path is perfectly valid.

Hope this all helps!

Thanks!
Did you make sure you have write permissions to the path?

hambil
03-26-2009, 03:12 AM
Minor update for the missing phrases - need to upload eggadmin.php and reimport with overwrite.

If you are having trouble uploading new images make sure your path is in the format 'images/misc/' - the trailing backslash matters.

Alien
03-26-2009, 03:19 AM
Hey,

Yes, the paths were correct. I use images/misc/eggs/ and it has been manually changed via SSH to 777.

Alien
03-26-2009, 03:22 AM
BTW the phrases issue is confirmed fixed!

hambil
03-26-2009, 03:29 AM
Hey,

Yes, the paths were correct. I use images/misc/eggs/ and it has been manually changed via SSH to 777.

I have no idea then. I'm able to upload images to my server without issue. The code is based on the code used in upload rank images.

Saviour
03-26-2009, 03:41 AM
hambil...

I just have v2.0. If I upgrade to 2.0.3 all I have to do is upload the eggadmin.php file and re-import the product allowing overwrite?

Alien
03-26-2009, 03:41 AM
UserCP question:

I know there is only a single hook location in the UserCP menu but you end up with the following problem if you have the official Blog installed.

Would it just be wiser (until there are more hook locations) to just do a search and replace to stick it before the first item in Miscellaneous or after the last item in Miscellaneous so it's nice and neat? If not, can I get a workaround just as you did for the postbit so I can stick it in manually nice and neat?

Thank you again for all the hard work!

Saviour
03-26-2009, 03:48 AM
hambil...

Also...you should use the Send Update feature of the mod...so we don't have to scroll through posts to find them...also some release notes included with the new version, along with upgrade instructions would be nice.

Just a thought...

BTW...if anyone is looking for additional items to throw, I've attached a glass of beer and a coffee mug.

Alien
03-26-2009, 03:52 AM
Thanks for the images, Saviour.

Saviour
03-26-2009, 03:54 AM
You're welcome, Alien...

Saviour
03-26-2009, 04:11 AM
More items to throw...

Saviour
03-26-2009, 04:50 AM
Even more items to throw...

...now I'm calling it a night.

hambil
03-26-2009, 06:42 AM
hambil...

I just have v2.0. If I upgrade to 2.0.3 all I have to do is upload the eggadmin.php file and re-import the product allowing overwrite?

That's sounds correct. Thanks for the images, I put them in the first post. Nice work.

hambil
03-26-2009, 06:43 AM
UserCP question:

I know there is only a single hook location in the UserCP menu but you end up with the following problem if you have the official Blog installed.

Would it just be wiser (until there are more hook locations) to just do a search and replace to stick it before the first item in Miscellaneous or after the last item in Miscellaneous so it's nice and neat? If not, can I get a workaround just as you did for the postbit so I can stick it in manually nice and neat?

Thank you again for all the hard work!
I'll work something in for the next update.

hambil
03-26-2009, 02:31 PM
Video demonstration link has been updated for 2.x

ArcadeSyndicate
03-26-2009, 03:02 PM
2.0 has arrived. I couldn't get all the feature in I wanted, but I think I got the most important ones. Besides, now I have something to do for 2.1 :p

thx, new version works fine now. great addon, our users love it :up:

Saviour
03-26-2009, 04:55 PM
That's sounds correct. Thanks for the images, I put them in the first post. Nice work.

They aren't mine...some I found on the web. Make sure you change that reserved post of yours to Submitted by...LOL!

drupy
03-26-2009, 06:17 PM
Thank you very much for the update :up:

Since updating to 2.0.3 from 1.2.3, this is how the ajax screen look like after I added more things to throw :confused: I am using the Default Style. Is there anyway I can edit the template? Thank you.

hambil
03-26-2009, 08:17 PM
Thank you very much for the update :up:

Since updating to 2.0.3 from 1.2.3, this is how the ayax screen look like after I added more things to throw :confused: I am using the Default Style. Is there anyway I can edit the template? Thank you.

That's an IE bug. It gets worse after you add stuff? Grrrrr. I'll have another go at the stupid thing.

drupy
03-26-2009, 08:50 PM
That's an IE bug. It gets worse after you add stuff? Grrrrr. I'll have another go at the stupid thing.

No rush, thank you!
Yes, the more stuff I added, the longer the blank space will grow.

Here are some of the stuff to throw which I added:

hambil
03-26-2009, 09:00 PM
Sweet - adding to first post

hambil
03-27-2009, 01:49 AM
2.0.4 released - fixes IE display problems and adds some image handling logic to the admincp egg image manager.

rinkrat
03-27-2009, 02:39 AM
OK, I just upgraded from v1.2.2 to 2.0.4 and when I click on the blob to egg someone, nothing happens. I tried uninstalling and then reinstalling adn the same thing happens (nothing>

What can I do?

hambil
03-27-2009, 02:42 AM
OK, I just upgraded from v1.2.2 to 2.0.4 and when I click on the blob to egg someone, nothing happens. I tried uninstalling and then reinstalling adn the same thing happens (nothing>

What can I do?

You mean, when you click on the button the menu doesn't come up?

rinkrat
03-27-2009, 02:45 AM
Yeah, every other link works but no menu comes up when I click the green blob like it did before.

.

I tried in IE and Firefox.

digicom
03-27-2009, 02:46 AM
Thanks for update hambil installed n workin great :D

hambil
03-27-2009, 02:47 AM
The usual reason for that is the javascript isn't getting inject properly. That's usually caused by some other mod interfering. Try adjusting the execution order of the plugin that injects the javascript.

rinkrat
03-27-2009, 02:49 AM
Where can I do that?
----

edit:
Nevermind I found it. :)

rinkrat
03-27-2009, 02:53 AM
I made it #1 priority and it still does nothing. I tried right clicking on it and open in new tab and it says

Invalid action attempted.

hambil
03-27-2009, 02:55 AM
I made it #1 priority and it still does nothing. I tried right clicking on it and open in new tab and it says

Invalid action attempted.

If you want to PM me login info I'll take a look for you.

rinkrat
03-27-2009, 02:57 AM
I just did that. Thanks!

Saviour
03-27-2009, 03:47 AM
hambil...

Have you thought about moving the "Who Egged Me" link in the User Control Panel to the "Miscellaneous" section, instead of at the end of the User CP navigation menu under "Blog"?

This would really be beneficial for my users and for any Blog updates, as well.

hambil
03-27-2009, 04:08 AM
hambil...

Have you thought about moving the "Who Egged Me" link in the User Control Panel to the "Miscellaneous" section, instead of at the end of the User CP navigation menu under "Blog"?

This would really be beneficial for my users and for any Blog updates, as well.

Yeah, I need to figure out how to do that. It's on the list :)

rinkrat
03-27-2009, 04:56 AM
All fixed now! Thanks for the help. :)

Sayid
03-27-2009, 05:37 AM
very nice mod

thanks ;)

Bulldog Stang
03-27-2009, 10:05 AM
How do you add the other things to throw? I tried to upload off my computer and it told me invalid path or file ... I also tried to upload the file through FTP, but it wont let me "browse" for it in my ftp ... ie, images/misc/"filename"

Nadeemjp
03-27-2009, 10:35 AM
installed.
fine hack.
is there any log where we can find, "who has hit me" kind of thing?

hambil
03-27-2009, 10:56 AM
How do you add the other things to throw? I tried to upload off my computer and it told me invalid path or file ... I also tried to upload the file through FTP, but it wont let me "browse" for it in my ftp ... ie, images/misc/"filename"
Well, if you uploaded the original images there you must have access... make sure the path has write permissions, and that the path you've defined in the admincp options matches your actual path and ends in a '/'.

installed.
fine hack.
is there any log where we can find, "who has hit me" kind of thing?
Who Eggs me is part of the mod. It's at the bottom of the usercp menu.

DobieGillis?
03-27-2009, 12:17 PM
can I just upload the adminphp and overwrite if I have 2.03?

hambil
03-27-2009, 12:19 PM
Just upload all the files (except the images if you don't want) - I can't remember off the top of my head exactly what got edited. But yeah, upload and overwrite and all settings should be preserved.

Frondy
03-27-2009, 01:13 PM
Nice! Thanx! Is there any future option to define in adminCP edit, how much reputation points is any "bad" or "good" throw?

cheers

hambil
03-27-2009, 01:24 PM
Nice! Thanx! Is there any future option to define in adminCP edit, how much reputation points is any "bad" or "good" throw?

cheers

It's the same as giving rep through the rep system not (agree or disagree). I might fancy it up in future versions, but I'm waiting right now to see what people want (so your request has been noted :) ) - rather than just adding more features.

Frondy
03-27-2009, 01:35 PM
Yes, it was my intention..:up:

DobieGillis?
03-27-2009, 01:46 PM
Just upload all the files (except the images if you don't want) - I can't remember off the top of my head exactly what got edited. But yeah, upload and overwrite and all settings should be preserved.

thanks, working perfectly.

rinkrat
03-27-2009, 02:43 PM
A few items

bandaid

monkey poo

stop sign

nascartr
03-27-2009, 04:05 PM
A snowball splatter would be a neat image to have.

drupy
03-27-2009, 04:16 PM
Thank you for the upgrade, Hambil.
I have just upgraded to 2.0.4. The blank space did become shorter but it is still there. Maybe there is a limit as to how many stuff we can add without messing the template? I am using IE 7.0.5

I also think it would be great if we can specify how many points will be reduced with the bad stuff and how many points will be increased with the good stuff. :)

Thanks a lot for a very creative mod. Nominated :up:

RedDevil
03-27-2009, 04:35 PM
Updated to latest version, I am not seeing the upload section.

https://vborg.vbsupport.ru/attachment.php?attachmentid=96962&d=1237996329


Is this enabled somewhere else or have i got a bug?


EDIT: Ignore I found it :)

RedDevil
03-27-2009, 04:36 PM
Who Eggs me is part of the mod. It's at the bottom of the usercp menu.


A user cp icon addition would be nice to match thoose who have that installed

rinkrat
03-27-2009, 05:32 PM
A snowball splatter would be a neat image to have.

found one, it might be misinterpreted on a porn site lol

Alien
03-27-2009, 08:50 PM
How do you add the other things to throw? I tried to upload off my computer and it told me invalid path or file ... I also tried to upload the file through FTP, but it wont let me "browse" for it in my ftp ... ie, images/misc/"filename"

I'm still having the exact same issue as above. Has anyone else been successful uploading NEW items with no problems? There is no way to add an item directly if you upload the picture via FTP it would seem, so I'm doing it all off of my own hard drive. Small .gif images.

My path is chmod'd 777 at images/misc/eggs/

I've also tried /images/misc/eggs/ and have the same issue. I've checked it all via SSH and FTP and the path and permissions are perfect.

I assure you I'm no beginner, I have no idea what on earth could be causing this on my end? Does this require an unusual assumption at all of a particular PHP setting at the server level? I've never run into this issue before.

acegames
03-27-2009, 08:52 PM
Got a small problem , we have an avatar week and after todays update some users could not see the changed avatar of others even after clearing the cache etc

hambil
03-27-2009, 09:28 PM
The eggs are applied to avatars on the fly ever time it is displayed. The mod never stores any avatar anywhere. So if new avatars aren't updating it must be an issue somewhere else.

hambil
03-27-2009, 09:31 PM
I'm still having the exact same issue as above. Has anyone else been successful uploading NEW items with no problems? There is no way to add an item directly if you upload the picture via FTP it would seem, so I'm doing it all off of my own hard drive. Small .gif images.

My path is chmod'd 777 at images/misc/eggs/

I've also tried /images/misc/eggs/ and have the same issue. I've checked it all via SSH and FTP and the path and permissions are perfect.

I assure you I'm no beginner, I have no idea what on earth could be causing this on my end? Does this require an unusual assumption at all of a particular PHP setting at the server level? I've never run into this issue before.
It uses virtually the same code as any other upload done by vBulletin. I used the code from the ranks file for my template on how to do it.

If you'd like me to take a look PM some login info.

acegames
03-27-2009, 10:35 PM
The eggs are applied to avatars on the fly ever time it is displayed. The mod never stores any avatar anywhere. So if new avatars aren't updating it must be an issue somewhere else.

ok , I switched the mod back on after I read this and straight away a member then saw all the old avatars not the ones updated on members profiles tonight so I dont know ??

SliceofLife
03-27-2009, 11:05 PM
ok , I switched the mod back on after I read this and straight away a member then saw all the old avatars not the ones updated on members profiles tonight so I dont know ??

No, I think it's to do with this mod, acegames. It's happening on my vBulletin too. And it's also distorting avatar images as well.

hambil
03-27-2009, 11:24 PM
No, I think it's to do with this mod, acegames. It's happening on my vBulletin too. And it's also distorting avatar images as well.

It used to distort png avatars, but that should be fixed. As for showing old avatars, I'm not doubting you I just don't understand how that could happen. The mod doesn't save avatars, it alters them on the fly.

I'd like to take a look if either of you is willing to give me access.

Alien
03-28-2009, 12:30 AM
I noticed that when viewing the Who Egged Me page, that the .php does not contain the navbits information so that your current location is included in the breadcrumb. It's just blank for the page title and blank in the navbar. It would be cool to include those in the next update.

Alien
03-28-2009, 01:07 AM
I noticed something interesting as far as my file upload bug... Since every other upload feature on my vB as well as add-ons works, I decided to compare the screenshots and with your video.

I compared my admincp file uploading area with your very first screenshot in your first post, and they are different.

Here's a picture of mine...

See the difference?

MrAbc
03-28-2009, 01:41 AM
Working great. It would be great if we could
*have vbexperience integrated.
*choose where to throw the egg.
*choose the cost for each group (say to throw egg on an admin it would cost you more)

Thanks ... :)

nascartr
03-28-2009, 03:13 AM
Thanks for the latest update Hambil. Everything is working fine!

Nadeemjp
03-28-2009, 03:50 AM
hey is it possible to control the time length of the thrown items displayed?

hambil
03-28-2009, 03:58 AM
hey is it possible to control the time length of the thrown items displayed?

Yes. Increase the fadetime in the admincp settings.

Nadeemjp
03-28-2009, 04:26 AM
i am sorry hambil but can you please tell me from where i can do in the admincp?
cause the egg tag in the admincp only has the option to add new eggs...

Nadeemjp
03-28-2009, 04:28 AM
ok my bad i didnt see the options.
thanx:)

hambil
03-28-2009, 08:24 AM
A thought, for those having trouble with avatars not updating - did you rebuild your thumbnails in admincp->maintenance->maintenance->update counters->Rebuild Custom Avatar Thumbnails and/or Rebuild Avatar Thumbnails?

acegames
03-28-2009, 11:12 AM
A thought, for those having trouble with avatars not updating - did you rebuild your thumbnails in admincp->maintenance->maintenance->update counters->Rebuild Custom Avatar Thumbnails and/or Rebuild Avatar Thumbnails?

No I will do that now and reactivate the mod , I can give you access to my site but It is working for me and others just half its not working for and some are using ie and some ff so its not the browser

lostguy
03-28-2009, 11:31 AM
WOW installed and like it very much..! about credit..Izzit it use VbCredit ?

Lg

lostguy
03-28-2009, 11:40 AM
Nominate for Modification of the Month ! U Will deserved it bro :)

Maybe next version u can Egg Signaure too :)

hambil
03-28-2009, 11:42 AM
WOW installed and like it very much..! about credit..Izzit it use VbCredit ?

Lg

It's pre-setup for vbcredits, but you can change the information in the admincp options to make it work with any credit/points mod.

lostguy
03-28-2009, 12:55 PM
There was an error encountered with your upload:

Invalid File Path Specified

This when i try add new Throw .

nascartr
03-28-2009, 01:53 PM
Hey, you know what would be useful. If every member had the option whether they want to use the egging system or not. Some members refuse to have fun and don't want to participate or get egged so if there was an option that disabled it for them they couldn't egg or be egged. It may be too hard to do but may be useful if it was possible.

hambil
03-28-2009, 02:10 PM
Hey, you know what would be useful. If every member had the option whether they want to use the egging system or not. Some members refuse to have fun and don't want to participate or get egged so if there was an option that disabled it for them they couldn't egg or be egged. It may be too hard to do but may be useful if it was possible.
Just put them in a usergroup that can't see or use eggs.

acegames
03-28-2009, 02:14 PM
A thought, for those having trouble with avatars not updating - did you rebuild your thumbnails in admincp->maintenance->maintenance->update counters->Rebuild Custom Avatar Thumbnails and/or Rebuild Avatar Thumbnails?

No that never worked for me

Could you possibly have missed &dateline= from the avatar url ?

hambil
03-28-2009, 02:21 PM
No that never worked for me

Could you possibly have missed &dateline= from the avatar url ?
I'll certainly check. Any chance you can PM me access so I can reproduce the problem and try and debug it?

acegames
03-28-2009, 02:31 PM
I'll certainly check. Any chance you can PM me access so I can reproduce the problem and try and debug it?


Thankyou , pm sent with some additional info to hopefully help

Alien
03-28-2009, 02:38 PM
Hey hambil.

Any idea why my screenshot here:
https://vborg.vbsupport.ru/showpost.php?p=1778693&postcount=337

...doesn't match your screenshot in your first post for the file upload box? Could that be somehow why my uploads are always rejected? Or have you not updated your screenshots and what I have it accurate?

acegames
03-28-2009, 02:56 PM
Hey hambil.

Any idea why my screenshot here:
https://vborg.vbsupport.ru/showpost.php?p=1778693&postcount=337

...doesn't match your screenshot in your first post for the file upload box? Could that be somehow why my uploads are always rejected? Or have you not updated your screenshots and what I have it accurate?

That image is how it looks for me in the latest version so is correct

hambil
03-28-2009, 02:57 PM
Now, the screen shot attached in my first post is what I still see. It's likely a browser difference. It should not be the cause of the problem. However, I am adding a new way to upload files that should be in the next release out today, that should solve your problem. You still won't be able to use the upload button, for whatever reason, but you will be able to use the alternate method to add files.

Alien
03-28-2009, 04:54 PM
Terrific! I'll be happy to have the ability to manually do it while I scout out the original problem!

As for the browser type, I use Firefox and IE the most, however I took a look at Chrome as well and that shows the exact same thing as your screenshot so you were right. It was browser-specific (showing the "no file chosen" message). Glad that mystery was solved at least!

drupy
03-28-2009, 07:53 PM
Thanks for the 2.1.0 update, but now the whole graphics in my images/misc folder are in the "Manage Eggs", including the big VB logo and everything originally from VB. Also the graphics in the ajax screen are not showing anymore. Is that supposed to be so?

nascartr
03-28-2009, 07:53 PM
I just installed the new update.

Now, no images are showing when you try to egg someone.

Every single image in the misc folder now shows up in the manage eggs option in the admin cp. We should have a seperate folder by default now because many different things go in the misc folder and can get confusing when looking for new things to add.

The location is still blank in the user cp also.

Saviour
03-28-2009, 08:05 PM
I'm not going to update to 2.1.0 until I'm sure there won't be any issues with the upgrade.

hambil
03-28-2009, 08:06 PM
Thanks for the 2.1.0 update, but now the whole graphics in my images/misc folder are in the "Manage Eggs", including the big VB logo and everything originally from VB. Also the graphics in the ajax screen are not showing anymore. Is that supposed to be so?

I just installed the new update.

Now, no images are showing when you try to egg someone.

Every single image in the misc folder now shows up in the manage eggs option in the admin cp. We should have a seperate folder by default now because many different things go in the misc folder and can get confusing when looking for new things to add.

The location is still blank in the user cp also.
Just change the folder in admincp options to images/misc/eggs and all should work fine. I meant to do that and forgot. Uploading a quick update now.

drupy
03-28-2009, 08:10 PM
Same problem.

2.1.0 has a separate folder images/misc/eggs
However, it is showing the misc folder and not the eggs folder.

Hambil, please take your time. Thank you.

Edit: Oops, posting at the same time as Hambil :p
Thanks for the quick update.

hambil
03-28-2009, 08:12 PM
Same problem.

2.1.0 has a separate folder images/misc/eggs
However, it is showing the misc folder and not the eggs folder.

Hambil, please take your time. Thank you.

Fixed and reuploaded already - no biggie. :)

nascartr
03-28-2009, 08:12 PM
Ok, there was actually a new folder called eggs upload in this new release. I fixed the file path in the admincp. That still does not fix the issue with eggs showing in the dropdown box.

nascartr
03-28-2009, 08:16 PM
nevermind, thought I found another issue.

drupy
03-28-2009, 08:24 PM
Hambil, downloaded and upgraded.
But I think it needs an ending slash after images/misc/eggs ?
The entire images are not showing in the "Manage Eggs"

Edit: Oops, sorry, I should be the one adding the endsing slash in the Option...:D

lostguy
03-28-2009, 08:25 PM
Same problem.

2.1.0 has a separate folder images/misc/eggs
However, it is showing the misc folder and not the eggs folder.

Hambil, please take your time. Thank you.

Edit: Oops, posting at the same time as Hambil :p
Thanks for the quick update.

Im still facing same problem ! Yes i download 2.1.0 upload everything i should and imported the xml too .

The problem now it show everything misc images in ACP . My forum Logos , WsFtp files , All should not Show

But when i go to forum it didnt Show Anything at all ! Those images gone ( Yes didnt show Kiss , tomatos , paints images when u select to throw ) .

New Throw u add such as Book , Rock , Coffee TrashCan , ... they not showing the list in forum too .

Pls help

lg

nascartr
03-28-2009, 08:25 PM
Drupy, are your images showing up when you try to egg someone? I want to make sure I'm not the only one with the problem.

nascartr
03-28-2009, 08:26 PM
Im still facing same problem ! Yes i download 2.1.0 upload everything i should and imported the xml too .

Pls help

lg

Change your file path to images/misc/eggs/ in the settings.

drupy
03-28-2009, 08:32 PM
Change your file path to images/misc/eggs/ in the settings.


Thanks!

To answer your question, now I cannot egg anyone because the ajax screen won't show at all. It says there is an error in the showthread.php

hambil
03-28-2009, 08:36 PM
Thanks!

To answer your question, now I cannot egg anyone because the ajax screen won't show at all. It says there is an error in the showthread.php
Sounds like somehow something got messed up in all the uploading/importing. Delete it all and start clean. Nothing has changed javascript-wise.

TimberFloorAu
03-28-2009, 08:40 PM
Just upgraded to 2.1

Now when users click the green splodge in postbit, it just lists the items, in text list with radio buttons, with NO small gif as before. Is this how it was intended ?

hambil
03-28-2009, 08:41 PM
Just upgraded to 2.1

Now when users click the green splodge in postbit, it just lists the items, in text list with radio buttons, with NO small gif as before. Is this how it was intended ?
Change your file path to images/misc/eggs/ in the settings.

drupy
03-28-2009, 08:42 PM
Sounds like somehow something got messed up in all the uploading/importing. Delete it all and start clean. Nothing has changed javascript-wise.


Yes, after deleting all the graphics I added myself yesterday, now the ajax screen popped up alright.

But yes, no images are showing in it just like nascartr.

drupy
03-28-2009, 08:44 PM
Change your file path to images/misc/eggs/ in the settings.

Yes, I did. Thank you for the reply.

Same problem as nascartr and TimberFloorAu. The images in the ajax screen are not showing.

rinkrat
03-28-2009, 08:44 PM
After upgrade to newest version I'm getting this in the Manage Eggs admin section

Fatal error: Call to undefined function: scandir() in /home/www/html/bbs/admincp/eggadmin.php on line 355

===edit
Oh yeah, my images are gone in the popup box too.

------edit again

I just reinstalled the previous version 2.0.4 and everything works again

lostguy
03-28-2009, 08:55 PM
Okay Problem Solved !But

There was an error encountered with your upload:

Invalid File Path Specified

Im still facing problem uploading new throw .

hambil
03-28-2009, 08:58 PM
After upgrade to newest version I'm getting this in the Manage Eggs admin section

Fatal error: Call to undefined function: scandir() in /home/www/html/bbs/admincp/eggadmin.php on line 355



===edit
Oh yeah, my images are gone in the popup box too.

------edit again

I just reinstalled the previous version 2.0.4 and everything works again
Yeah, it turns out scandir() is php 5... I'll get that fixed as soon as possible. Damn php versions.

lostguy
03-28-2009, 09:00 PM
Urh in Forum those Images from Select list not showing !

lostguy
03-28-2009, 09:03 PM
Here the Preview from select list ..those images not showing .

Still the new throw not on the List too .

Yes i did uninstall the script and reinstall..same with Upload

WS_FTP.LOG this file showing on my ACP along with those throw images

lg

hambil
03-28-2009, 09:05 PM
Urh in Forum those Images from Select list not showing !

Here the Preview from select list ..those images not showing .

lg

Are they showing in the admincp image manager?

lostguy
03-28-2009, 09:11 PM
Here my ACP view for egged .

Yes they showing but no Name tho for new throws .

drupy
03-28-2009, 09:14 PM
Yes they are showing in the ACP Manager, but without any names. They are not showing only in the ajax pop up box.

I uploaded a new image just now, then used it to egg someone, but it did not show up. Instead, the avatar disappeared. When I threw a sponge, the avatar showed up again, without the new image.

lostguy
03-28-2009, 09:16 PM
hambil sorry we all gives u all these troubles..but to be honest this a good script so i will try let u know what errors so it helps improve your Script .

U need a coffee ? lol

lg

hambil
03-28-2009, 09:22 PM
Here my ACP view for egged .

Yes they showing but no Name tho for new throws .
That's because none of those images are in the database. Add then, by clicking on the 'go' button next to them and then editing and enabling them as you see fit.

hambil
03-28-2009, 09:23 PM
Okay, I did a complete uninstall (deleted ALL files, uninstalled producted, checked the database to make sure all tables where gone) then reinstalled, and tested. It works fine. If you are having problems it's likely path issues.

Anyway, to fix the php issue I've uploaded a small upgrade to 2.1.1.

lostguy
03-28-2009, 09:27 PM
But they still not showing on the Select List in forum ...yes goes same with the Original images . ( Kiss , egg , tomato.. )

lostguy
03-28-2009, 09:29 PM
Okay i try that again Uninstall ..I let u know later .

TimberFloorAu
03-28-2009, 09:33 PM
Will wait until this is updated and tested on 3rd party forums before uninstalling and reinstalling.

Ste

drupy
03-28-2009, 09:47 PM
Okay, I did a complete uninstall (deleted ALL files, uninstalled producted, checked the database to make sure all tables where gone) then reinstalled, and tested. It works fine. If you are having problems it's likely path issues.

Anyway, to fix the php issue I've uploaded a small upgrade to 2.1.1.

OK I will do that, thanks.

Meanwhile, here is a cup of coffee for Hambil.

TimberFloorAu
03-28-2009, 09:59 PM
Ok latest update 2.1.1 hasnt seemed to change anything, visibly

Saviour
03-28-2009, 10:14 PM
One problem I've noticed with the 2.1.1 version is that new eggs that are added through the admin interface are being uploaded to the images/misc directory and not the images/misc/eggs directory. And I have set the directory for the eggs in this mod as images/misc/eggs/.

So there may be an issue with your coding, hambil...

mark370
03-28-2009, 10:18 PM
Little problem with the new update matey:

when you egg a animated avator it does this to it: https://vborg.vbsupport.ru/external/2009/03/15.jpg


and it was like this before being egged: https://vborg.vbsupport.ru/external/2009/03/16.jpg


also you when picking a image to throw you dont see any images in the dropdown.

drupy
03-28-2009, 10:27 PM
I did a clean install.
Still same problem. I think I will check this again later.
See you all.

Thanks anyway, Hambil, and take your time.

PS: I downgraded to 2.0.3
For me, it is the most stable and working well.

Saviour
03-28-2009, 11:01 PM
I just did a clean install as well...

Oh well...it was good while it lasted. Uninstalled until the latest version is stable.

Just a little constructive criticism...2.0.4 was working great until you made those modifications. I'd start from there.

Good luck!

drupy
03-28-2009, 11:24 PM
I prefer 2.0.3 than 2.0.4
The size of the images in the ajax pop-up are too small in the 2.0.4
In 2.0.3, we can see the graphics in the pop-up much clearer, and that helps people to decide which things to throw.
I also prefer to be able to upload jpg or png images too, not only gif like in 2.0.4

Good luck, Hambil, I will wait until a stable version is released. :)

hambil
03-28-2009, 11:30 PM
One problem I've noticed with the 2.1.1 version is that new eggs that are added through the admin interface are being uploaded to the images/misc directory and not the images/misc/eggs directory. And I have set the directory for the eggs in this mod as images/misc/eggs/.

So there may be an issue with your coding, hambil...
Sounds likely - I'll get on it.

TimberFloorAu
03-28-2009, 11:33 PM
jUst noticed to, that if we click the green splodge graphichttps://vborg.vbsupport.ru/, and the post below has an image in it, we get this.

Frondy
03-28-2009, 11:42 PM
jUst noticed to, that if we click the green splodge graphichttp://www.yobromofo.com/forum/images/buttons/throw_green.gif, and the post below has an image in it, we get this.


Yep, same problem, no images in menu after upgrading

TimberFloorAu
03-28-2009, 11:46 PM
Dont take it personally Hambil, this is a GREAT MOD !

I have reverted to 2.0.2 for now :up:

hambil
03-29-2009, 12:10 AM
The images not showing up in the dropdown is a code bug, and has been fixed. I'm just waiting to try and find a couple other possible issues before I do another bug release.

lostguy
03-29-2009, 01:07 AM
The images not showing up in the dropdown is a code bug, and has been fixed. I'm just waiting to try and find a couple other possible issues before I do another bug release.

Well the Dropmenu Images still not show ! Yes i did clean installation .

U need check again..Some reason those images not show BUT V 2.0.4 have !

Not 2.1.1

Nadeemjp
03-29-2009, 01:31 AM
even the avatars are also not showing:o

hambil
03-29-2009, 01:42 AM
even the avatars are also not showing:o

Probably the image path is wrong. Check the settings in the admincp options and make sure the path is the same as where you put the images. By default this is images/misc/eggs/

hambil
03-29-2009, 01:43 AM
Well the Dropmenu Images still not show ! Yes i did clean installation .

U need check again..Some reason those images not show BUT V 2.0.4 have !

Not 2.1.1

You misunderstand :) It is a known bug, that I have confirmed and fixed, but I have not released the fix yet.

jellykelly
03-29-2009, 03:23 AM
I performed the update. I uploaded all the new files as instructed. Now when I click on the green blob, nothing happens. I set the permissions. I had it working before. With the update though, it's not working. Nothing is happening.

Saviour
03-29-2009, 03:38 AM
Guys...hold off on updating until hambil works on it...

Right now...the most stable versions of this mod are 2.0.3 and 2.0.4. Hambil will notify us when he's resolved the issue and is ready to upload the latest stable version.

jellykelly
03-29-2009, 03:51 AM
I ended up deleting everything and reinstalling everything. I should have looked to see your post sooner. Thank you. I will check back again.

hambil
03-29-2009, 03:53 AM
I have a very small board, and must rely almost entirely on myself for testing. This can be an issue with big improvements/new additions. If anyone wants to volunteer to beta for my work, I'd be thrilled :p

aztecboi2003
03-29-2009, 03:54 AM
I'm running 2.0.4 and it's working flawless for me

Saviour
03-29-2009, 04:12 AM
Hambil...

2.04 was working for me, but I deleted that one when I tried 2.1.1. Do you have that file? At least I could have a version that works. Otherwise. I guess I'll just wait for the next stable update.

hambil
03-29-2009, 04:23 AM
Sure

nascartr
03-29-2009, 04:31 AM
Thanks for that file hambil!

Saviour
03-29-2009, 04:48 AM
Thanks, Hambil...

Saviour
03-29-2009, 05:44 AM
Okay...for those of you who have the vB Blog installed...you'll find the link to "Who Egged me?" at the very bottom of your User CP navigation menu within your User Control panel, just under the Blog table header.

The instructions I'm about to give you will remove the link from there and place it under the Miscellaneous header of the same menu...just to clean it up a little.

The first thing we'll want to do is disable the hook from this mod that puts the link there in the first place. So go into your Admin Control Panel...Plugins & Products...Plugin Manager. locate the following: [tk] Egg Avatar: UserCP and uncheck it. Then click Save Active Status.

Now...go to your Style Manager...select Edit Templates for each style you're going to change and open User Control Panel Templates/USERCP_SHELL.

In USERCP_SHELL...

Find:
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>

Add after:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="whoeggedme.php?$session[sessionurl]">$vbphrase[eggavatar_whoeggedme_usercp]</a></td></tr>

Save your changes...

Again...you will want to do this for each of your styles.

I hope you've found this useful...

Nadeemjp
03-29-2009, 07:08 AM
so finally all bugs fixed?:d

TandyServices
03-29-2009, 08:17 AM
Can not open your file get this error..

End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.

hambil
03-29-2009, 10:09 AM
Odd, I reuploaded it just to be safe. Opens fine for me.

acegames
03-29-2009, 10:21 AM
I have a very small board, and must rely almost entirely on myself for testing. This can be an issue with big improvements/new additions. If anyone wants to volunteer to beta for my work, I'd be thrilled :p

I would love to beta , and you can test on my forum as a user too

hambil
03-29-2009, 10:56 AM
I would love to beta , and you can test on my forum as a user too

I've added you name to the mod beta list, we'll be in touch :eek: :)

lostguy
03-29-2009, 11:53 AM
WOW this one look perfect to me ! No errors ..well done mate :)

Lg

TandyServices
03-29-2009, 12:08 PM
Well I cannot open it so will wait for new release and see if I can then.. Thanks though..

Frondy
03-29-2009, 01:09 PM
Everything works fine now, thanks :up:

Frondy
03-29-2009, 01:12 PM
Well I cannot open it so will wait for new release and see if I can then.. Thanks though..

Maybe you download via download manager, try directly from browser ...

drupy
03-29-2009, 01:45 PM
2.2.0 doesn't work with me. I reinstalled again from scratch, but the ajax pop up became 100% transparent now and the tables are messed up with different widths. Also, when I uploaded a new thing to throw, its image does not show up on the ACP Manage Eggs nor the ajax pop-up.

Hambil, you can consider me as your beta tester because I uninstalled and reinstalled again each time there is a new release before waiting for positive results :D

PS: Thank you for making the images bigger on the pop-up. It is much easier to decide which thing to throw! :up::)

acegames
03-29-2009, 01:47 PM
I'll certainly check. Any chance you can PM me access so I can reproduce the problem and try and debug it?

All working now with latest update thankyou

hambil
03-29-2009, 01:49 PM
2.2.0 doesn't work with me. I reinstalled again from scratch, but the ajax pop up became 100% transparent now and the tables are messed up with different widths. Also, when I uploaded a new thing to throw, its image does not show up on the ACP Manage Eggs nor the ajax pop-up.

Hambil, you can consider me as your beta tester because I uninstalled and reinstalled again each time there is a new release before waiting for positive results :D

If I had to guess you might have modified some of the templates in previous versions. Modified templates do not uninstall or update. Check the Egg Avatar templates and revert any that are modified, then reimport the xml file with overwrite.

drupy
03-29-2009, 01:57 PM
If I had to guess you might have modified some of the templates in previous versions. Modified templates do not uninstall or update. Check the Egg Avatar templates and revert any that are modified, then reimport the xml file with overwrite.

Yes you are correct. When I viewed it using the Default Style, the tables are OK and not transparent anymore. However, the new item that I added still does not show up in the pop-up of the Default Style. When I used it to egg a member using Default style, her avatar disappeared instead. When I cleaned it, her avatar appeared again.

Any idea about this? Thanks!

hambil
03-29-2009, 02:05 PM
Egg the avatar, then right click on it and choose display image in new window. Then copy and past a screen shot of the error text you get.

nascartr
03-29-2009, 02:20 PM
Seems like this newest release fixed everything. Thanks!

drupy
03-29-2009, 02:30 PM
Egg the avatar, then right click on it and choose display image in new window. Then copy and past a screen shot of the error text you get.

Yes, here it is.

drupy
03-29-2009, 02:37 PM
As long as I egg someone with one of the default items you give, everything is working well. But if I egg someone with an item I uploaded myself via the upload feature, it is not working.

I am sorry if I am the only one having this problem. :confused:

TandyServices
03-29-2009, 02:57 PM
Maybe you download via download manager, try directly from browser ...

I tried everything.. It just won't open I'm using winzip 12.. Maybe thats it?? Will get the other owner of the site to try when she get back..:confused:

Saviour
03-29-2009, 03:13 PM
Hambil...

I've upgraded this mod (from 2.04 to 2.2.0) based on your instructions here...uploading all the new files and making sure I allow overwrite when importing the upgrade. The problem is that if you try to upload a new image to throw...it's not being uploaded to the correct directory. It's being uploaded to the misc directory instead of the eggs directory.

The Egg Manager, shows the new throw, but doesn't show the image you upload. Now...if you upload a new image to the egg directory via FTP, then open the Egg Manager in the Admin Control Panel, you will see the image there, with the word Throw (striked). You have to select the Add Action, Edit the new Throw and then Enable it.

Something just isn't Kosher...

Any ideas?

Saviour
03-29-2009, 03:51 PM
Hambil,

I believe I've found the problem...

In the following file, eggadmin.php, you have the following:

$upload->path = 'images/misc/';

In two locations...this needs to be changed to:

$upload->path = 'images/misc/eggs/';

I'm going o edit this file, uninstall the current product and re-install it...and I'll let you know if we have a winner.

drupy
03-29-2009, 04:21 PM
Hambil,

I believe I've found the problem...

In the following file, eggadmin.php, you have the following:

$upload->path = 'images/misc/';

In two locations...this needs to be changed to:

$upload->path = 'images/misc/eggs/';

I'm going o edit this file, uninstall the current product and re-install it...and I'll let you know if we have a winner.


I tried this, but it still doesn't work for me. Though the image now shows up in the Admin CP, it doesn't show up in the pop-up. When I egged someone with a newly uploaded item, the avatar still disappeared. I wonder if you have a better result.

hambil
03-29-2009, 04:37 PM
Hambil...

I've upgraded this mod (from 2.04 to 2.2.0) based on your instructions here...uploading all the new files and making sure I allow overwrite when importing the upgrade. The problem is that if you try to upload a new image to throw...it's not being uploaded to the correct directory. It's being uploaded to the misc directory instead of the eggs directory.

The Egg Manager, shows the new throw, but doesn't show the image you upload.
Sounds like a bug in the upload button. Just use ftp until I can get a quick point release out.

Now...if you upload a new image to the egg directory via FTP, then open the Egg Manager in the Admin Control Panel, you will see the image there, with the word Throw (striked). You have to select the Add Action, Edit the new Throw and then Enable it.

Something just isn't Kosher...


Any ideas?
The ftp upload/add is supposed to work that way.

Saviour
03-29-2009, 04:54 PM
Keep me posted...

The fix I previously stated I would try doesn't work...so, I'll wait for your fix.

drupy
03-29-2009, 05:00 PM
Hambil,

I believe I've found the problem...

In the following file, eggadmin.php, you have the following:

$upload->path = 'images/misc/';

In two locations...this needs to be changed to:

$upload->path = 'images/misc/eggs/';

I'm going o edit this file, uninstall the current product and re-install it...and I'll let you know if we have a winner.

Yes it works for me now! I didn't realize that I should enable the added item first after uploading it. I can egg using uploaded items now and the images show up properly in both the Admin CP and the pop-up. Thanks.

drupy
03-29-2009, 05:08 PM
Sounds like a bug in the upload button. Just use ftp until I can get a quick point release out.


The ftp upload/add is supposed to work that way.

There is no bug in the upload button. Mine works alright now. What I needed to do was to enable the uploaded item first from the dropdown box. After enabling it, then I can edit it if necessary. This is the same with every ftp-ed items. They must all be enabled first before they can function as they should. The strike-through will disappear as well and everything will look OK.

However, yes, I did the edit on the eggadmin.php as Saviour suggested, namely changing the path to images/misc/eggs/ instead of just images/misc/
There are two edits.

Thank you! Now 2.2.0 is just perfect!

halkum
03-29-2009, 06:09 PM
Works great!

Saviour
03-29-2009, 09:36 PM
Fresh install after removing previous version and I get this error when trying to create a new egg:

Warning: getimagesize() [function.getimagesize]: Read error! in [path]/admincp/eggadmin.php on line 427

Give me a break...

hambil
03-29-2009, 09:45 PM
Fresh install after removing previous version and I get this error when trying to create a new egg:

Warning: getimagesize() [function.getimagesize]: Read error! in [path]/admincp/eggadmin.php on line 427

Give me a break...


$imgpath = DIR . '/' . $vbulletin->options['eggavatar_eggpath'] . $image['image'];
list($imgw, $imgh, $imgt) = getimagesize($imgpath);


Not complicated. $vbulletin->options['eggavatar_eggpath'] is the path you set in the options. $image['image'] is the name of the file: e.g. egg.gif.

The only way for this to fail is if the path is wrong, or the image doesn't exist in the path. I am open to suggestion on how to make this simpler, but please everyone check your paths and images when you install before deciding that something is broken.

Edit:
In fact, because I already do a check further up (added in last update) to make sure the directory is valid:

if (!file_exists(DIR . '/' . $vbulletin->options['eggavatar_eggpath']))
{
print_table_header($vbphrase['eggavatar_invalid_path'], 4);
}

Then the only way to get the error message you are getting is if an image in the database does not exist in that directory.

It's always possible I could be wrong, and there is an actual bug, so forgive my frustration, I've just been dealing with a lot of these image path issues that aren't real issues :p

hambil
03-29-2009, 10:02 PM
Let me amend that by saying, the code should never return an ugly error is possible. So, it should report that the file is missing rather than 'blow up', so this is a bug of sorts, and I will continue to put in better checks for such things. But it's still just an image path/exists issue.

hambil
03-29-2009, 10:26 PM
Okay, I found a bug with the upload images via the upload button (we kind of new that existed already) and I'm fixing it, plus adding some more error checking. Please, for the current version, only use the ftp method for adding images.

DobieGillis?
03-29-2009, 10:43 PM
Okay, I found a bug with the upload images via the upload button (we kind of new that existed already) and I'm fixing it, plus adding some more error checking. Please, for the current version, only use the ftp method for adding images.

Dude! I have yet to see a coder as interactive and concerned as you about your work. You should be applauded for your effort! Cheers hambil!

hambil
03-29-2009, 10:44 PM
Dude! I have yet to see a coder as interactive and concerned as you about your work. You should be applauded for your effort! Cheers hambil!

lol - thanks. I put up the new version with the fix btw.

TimberFloorAu
03-30-2009, 12:10 AM
Have to agree, I struggle to fit everything in. So realise and appreciate your time and effort.

^5 mate

Drago912
03-30-2009, 01:08 AM
After upgrading my members now say their avatars are all pixelated. I see everything fine but 5 members say they have this problem.......any ideas? Maybe an egg I added or something?

hambil
03-30-2009, 01:12 AM
After upgrading my members now say their avatars are all pixelated. I see everything fine but 5 members say they have this problem.......any ideas? Maybe an egg I added or something?

No idea, but if you can point me toward one of the offending avatars perhaps I can try and figure it out.

Drago912
03-30-2009, 01:23 AM
Ya sure......my site is http://www.iliketoast.com

have a look around

hambil
03-30-2009, 02:26 AM
Looks like you've got some rounded corners javascript running to round the avatar corners that is causing conflict in some cases.

drupy
03-30-2009, 03:01 AM
I installed the newest update 2.2.1, not fresh install. Everything is perfect now.
I have tested it using both the Upload and FTP methods, and then used the uploaded and FTP-ed items to egg an avatar, and everything works as it should now. :up:

Upload method:
Now the Upload works perfectly. There is no need to enable the item first. There is no strike-through either. The item is ready to use.

FTP method:
We need to add the item first. The word "Throw" will show up with a strike-through. Then we should enable that item first via the dropdown box. After we enable it, the strike through will disappear. After that, we can edit the item and put our own wording, like "Throw Shoe" if the new item is a shoe.

Suggestion to everyone:
Before testing/using the mod, please check your image path in the Admin Panel/Egg Avatar/Options
If your image path is wrong, you will get an error.

To Hambil:
Maybe adding a readme.txt will help yourself from having to answer to us with wrong image paths, etc. It will save you from some frustation too. ;)

I like your mods, Hambil, especially when they are creative and playful. Thank you and keep up the good work! :up:

tecnozul
03-30-2009, 03:26 AM
I install the Egg Avatar, lamentably my this post legacy very modified and the automatic configurations of the product it me does not capture them, podrias postear or to there happen to me a manual way of forming the postlegacy?

Sorry my bad inglish

lostguy
03-30-2009, 05:47 AM
Okay im abit tired with So main Updates .

All i need to know do i need to DELETE EVERYTHING AGAIN AND AGAIN for new version out every 2 days ?

I prefer not too Delete ALL of them and reinstall new version...Can we just Overwrite the Files ?

Cause u didnt mention it on your New Upgrade .

Cause if i have to do like this for next 1 month i will go crazy !

Lg

drupy
03-30-2009, 07:26 AM
Okay im abit tired with So main Updates .

All i need to know do i need to DELETE EVERYTHING AGAIN AND AGAIN for new version out every 2 days ?

I prefer not too Delete ALL of them and reinstall new version...Can we just Overwrite the Files ?

Cause u didnt mention it on your New Upgrade .

Cause if i have to do like this for next 1 month i will go crazy !

Lg

I just overwrite with 2.2.1.
It works.
What you need to do is just to make sure that your image path in the Options is set to images/misc/eggs/

I think Hambil said to uninstall and reinstall just to make sure everything will be allright, in case your database is corrupted.

Bulldog Stang
03-31-2009, 05:59 AM
I just updated to the 2.2.1 version and now the icon next to the username has disappeared ...

EDIT .. Nevermind ... I am an idiot .. LOL .. I uninstalled and reinstalled and forgot to change the permission in the usergroups .. .

I had it set to charge 250 to wipe entire avatar, but now I can not see that option anymore and it is defaulted now to 0 to wipe entirely clean .. Where do I change that at ???

hambil
03-31-2009, 12:34 PM
I just updated to the 2.2.1 version and now the icon next to the username has disappeared ...

EDIT .. Nevermind ... I am an idiot .. LOL .. I uninstalled and reinstalled and forgot to change the permission in the usergroups .. .

I had it set to charge 250 to wipe entire avatar, but now I can not see that option anymore and it is defaulted now to 0 to wipe entirely clean .. Where do I change that at ???
You don't. It's calculated off the number of eggs on an avatar. So if you set the clean cost to 50 and there are 10 eggs it will be 500.

However, it doesn't take into account (in the display only) new eggs you've tossed since the last page refresh. This is a known bug involving some painful YUI stuff and will eventually get fixed. It still deducts properly from your credits, the display is just off until you do a page refresh.

DobieGillis?
03-31-2009, 12:44 PM
I thought I was able to egg my own avatar before. Is that correct?

lostguy
03-31-2009, 01:02 PM
need some care but not important but can correct next Update !

And The space got more on top the drop down menu seem got longer if i add more stuff to the list .

hambil
03-31-2009, 01:28 PM
I thought I was able to egg my own avatar before. Is that correct?
Not unless someone was bugged. Not being able to egg your own avatar has been there since version 1.

hambil
03-31-2009, 01:29 PM
need some care but not important but can correct next Update !

And The space got more on top the drop down menu seem got longer if i add more stuff to the list .
I'm 98% sure that has been fixed. Check that you haven't customized any of the Egg Avatar templates, reupload the latest files, and reimport with overwrite. NO NEED to uninstall first.

DobieGillis?
03-31-2009, 01:34 PM
Not unless someone was bugged. Not being able to egg your own avatar has been there since version 1.

ha! Thanks Hambil. Have the latest version and it's working perfectly.

THE__DRIFTER
03-31-2009, 08:04 PM
Cannot make this work. The error I get is "Could not find phrase 'eggavatar_invalid_path'."
I am sure it is path related but cannot seem to find where. I use VBadvanced portal on 3.8.1 and since the forum resides in the /forum directory I assume that is the problem. I can see the image fine but get that error when trying to use it. Any ideas?

hambil
03-31-2009, 08:34 PM
Cannot make this work. The error I get is "Could not find phrase 'eggavatar_invalid_path'."
I am sure it is path related but cannot seem to find where. I use VBadvanced portal on 3.8.1 and since the forum resides in the /forum directory I assume that is the problem. I can see the image fine but get that error when trying to use it. Any ideas?
Well, make sure you are installing the latest version of the mod, with overwrite. There should not be a missing phrase, that means something went wrong on the install. Let me double check that the phrase exists in the product xml in the current zip file... yup, it's in there.

If you want to send me some login info I can see if I can help.

THE__DRIFTER
03-31-2009, 08:41 PM
I just uninstalled. I will try a fresh download and reinstall.

lostguy
03-31-2009, 08:47 PM
I'm 98% sure that has been fixed. Check that you haven't customized any of the Egg Avatar templates, reupload the latest files, and reimport with overwrite. NO NEED to uninstall first.

Nope got same problem ! When i install i did a NEW installation mean i delete everything and upload back .

So must be tiny error there..U can try add Throw Item and the space got bigger .

Lg

hambil
03-31-2009, 08:49 PM
Nope got same problem ! When i install i did a NEW installation mean i delete everything and upload back .

So must be tiny error there..U can try add Throw Item and the space got bigger .

Lg

I'd be happy to take a look at it for you - just pm me some login details.

THE__DRIFTER
03-31-2009, 09:20 PM
Well, after a reattempt to use a fresh install I still arrive at the same end result. Thanks for the attempt but I must leave this as uninstalled.

nascartr
04-01-2009, 02:38 AM
Here's a suggestion from one of my members.

It would be awesome if there were some way to keep stats...and show a leaderboard of who has thrown the most stuff, or who has thrown that particular item the most.

WEBDosser
04-01-2009, 04:16 AM
this does not uninstall right.. once you remove it you cannot create new usergroups with out getting a database error..

it does not remove [tk] Egg Avatar Permissions

hambil
04-01-2009, 05:57 AM
this does not uninstall right.. once you remove it you cannot create new usergroups with out getting a database error..

it does not remove [tk] Egg Avatar Permissions

Sure it does. I'm sorry you're having problems, but your facts are incorrect.

WEBDosser
04-01-2009, 08:09 AM
i beg to differ.. try it for your self remove it and try to create a new usergroup

i have had the same problem with 2 different accounts.

it leave this in there..

and gives this mysql error:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO VB_usergroup
(`title`, `description`, `usertitle`, `opentag`, `closetag`, `passwordexpires`, `passwordhistory`, `ispublicgroup`, `canoverride`, `forumpermissions`, `genericpermissions`, `attachlimit`, `pmquota`, `pmpermissions`, `pmsendmax`, `pmthrottlequantity`, `calendarpermissions`, `wolpermissions`, `adminpermissions`, `genericpermissions2`, `genericoptions`, `profilepicmaxwidth`, `profilepicmaxheight`, `profilepicmaxsize`, `avatarmaxwidth`, `avatarmaxheight`, `avatarmaxsize`, `signaturepermissions`, `sigpicmaxwidth`, `sigpicmaxheight`, `sigpicmaxsize`, `sigmaxrawchars`, `sigmaxchars`, `sigmaxlines`, `sigmaxsizebbcode`, `sigmaximages`, `albumpermissions`, `albumpicmaxwidth`, `albumpicmaxheight`, `albumpicmaxsize`, `albummaxpics`, `albummaxsize`, `usercsspermissions`, `visitormessagepermissions`, `socialgrouppermissions`, `maximumsocialgroups`, `groupiconmaxsize`, `ecdownloadpermissions`, `ecexcludecatlist`, `ecdownloadsmaxuploadtotal`, `ecdownloadsmaxdailydl`, `ecdownloadsmaxdailyfiles`, `ecdownloaddelaygrp`, `classifieds`, `maxfeaturedads`, `maxboldads`, `maxphotosads`, `eggavatarpermissions`)
VALUES
('23233', '', '', '', '', '', '', '0', '0', '651271', '2626563', '1000000', '0', '0', '5', '', '0', '1', '0', '0', '41', '100', '100', '25000', '50', '50', '20000', '0', '', '', '', '', '', '', '7', '', '0', '', '', '', '', '', '0', '0', '0', '', '', '0', '', '', '', '', '', '0', '', '', '', '0');

MySQL Error : Unknown column 'eggavatarpermissions' in 'field list'
Error Number : 1054
Request Date : Wednesday, April 1st 2009 @ 10:04:27 AM
Error Date : Wednesday, April 1st 2009 @ 10:04:27 AM
Script : http://mine/admincp/usergroup.php?do=update
Referrer : http://mine/admincp/usergroup.php?do=add
IP Address : 0
Username : one
Classname : vB_Database
MySQL Version : 5.0.67-community

hambil
04-01-2009, 09:27 AM
i beg to differ.. try it for your self remove it and try to create a new usergroup

i have had the same problem with 2 different accounts.

it leave this in there..

and gives this mysql error:
You are correct. My apologies. I'm not sure how that got missed. It's fixed now. Just reimport with overwrite and uninstall if you wish. It will fix the problem. Thank you.

powerful_rogue
04-01-2009, 01:46 PM
Here's a suggestion from one of my members.

I second that, that would be really good also having a section in the stats column of the users profile.

Maybe an option of "Who has egged me" if a user clicks on their own avatar once its been egged. It seems a little hidden away at the bottom of the user CP.

hambil
04-01-2009, 04:58 PM
I second that, that would be really good also having a section in the stats column of the users profile.

Maybe an option of "Who has egged me" if a user clicks on their own avatar once its been egged. It seems a little hidden away at the bottom of the user CP.

I'm working on 2.5. It has a number of features. I'm going to go put them up in the first post now. I expect a release within a day or 2 or 3 at the most. :)

creative-friend
04-01-2009, 05:08 PM
Hmm Nice...
i like it....

jaredwilli
04-01-2009, 06:37 PM
this doesnt work for me. I dont see the icons for throwing stuff at people

edit: nevermind, i didnt set the permissions

Lahoria
04-01-2009, 08:28 PM
I cant trow eggs I get this msg :

You dont have enough credits .

how do I give my self credits or get some of it

hambil
04-01-2009, 09:05 PM
If vbCredits is installed and activated (or some credit system is - which sounds like it) then do whatever you normally do to get credits. Ask on your board.

If you don't want the mod to use credits just disable the use of credits in the mods admincp options and throwing will be free.

Lahoria
04-01-2009, 09:19 PM
>I use : vBExperience 3.8 , turned it off, with use with credits, still no eggs !!

Dream
04-01-2009, 09:23 PM
this looks pretty cool hambil :) good job!

slyreptile
04-01-2009, 09:37 PM
The installation used to work fine with v2.04. i've just installed v2.22. I'm now getting the popup menu showing with the eggs outside (underneath) the popup box. Take a look (https://www.mormonbattalion.cc/forum/games/world-warcraft/3908-you-might-wow-player-if.html). Any ideas?

hambil
04-01-2009, 09:47 PM
The installation used to work fine with v2.04. i've just installed v2.22. I'm now getting the popup menu showing with the eggs outside (underneath) the popup box. Take a look (https://www.mormonbattalion.cc/forum/games/world-warcraft/3908-you-might-wow-player-if.html). Any ideas?
Yes, the general cause of this is having customized some of the egg avatar templates. When you customize a template it does not get overwritten when you install a new version, even if you check overwrite.

Revert your Egg Avatar templates and reimport the product xml.

DobieGillis?
04-02-2009, 12:00 AM
this looks pretty cool hambil :) good job!

Indeed!

nascartr
04-02-2009, 02:34 AM
Can't wait for the next release, this is a very fun mod!

drupy
04-02-2009, 06:01 AM
>I use : vBExperience 3.8 , turned it off, with use with credits, still no eggs !!

I have no problem with 3.8

The Database field where credits are stored must be set to xperience.
Go to set this at this mod's Option.
Then give yourself some points which should be higher than the points for throwing/cleaning an egg.

Lahoria
04-02-2009, 11:16 AM
I have no problem with 3.8

The Database field where credits are stored must be set to xperience.
Go to set this at this mod's Option.
Then give yourself some points which should be higher than the points for throwing/cleaning an egg.

I have tried to turn credit off in "Enable Credits"

I have set xperience in Credit Field
and xperience in Credit Name

still I dont see any eggs :confused:

But the users do get negative reputation points

hambil
04-02-2009, 12:08 PM
I cant trow eggs I get this msg :

You dont have enough credits .

how do I give my self credits or get some of it

I have tried to turn credit off in "Enable Credits"

I have set xperience in Credit Field
and xperience in Credit Name

still I dont see any eggs :confused:

But the users do get negative reputation points

Let me make sure I understand the problem: Whether you have Egg Avatar set to not use a credit system, or set to use vbExperience, you get a "You don't have enough credits" when you try to egg someone? But, the users reputation is still effected?

Vinyljunky
04-02-2009, 12:23 PM
Good Luck with mod of the month!

Saviour
04-02-2009, 01:16 PM
Good Luck with mod of the month!

By the way...ya got my vote!

powerful_rogue
04-02-2009, 01:45 PM
By the way...ya got my vote!

Ditto. Best mod ive seen for a long long time. Wish there was more fun mods like this out there.

Lahoria
04-02-2009, 01:48 PM
[QUOTE=hambil;1782334]Let me make sure I understand the problem: Whether you have Egg Avatar set to not use a credit system, or set to use vbExperience, you get a "You don't have enough credits" when you try to egg someone? But, the users reputation is still effected?[/QUOTE

I have turned the credit system off. When I thow a egg there is no picture. but the reputation gets negativ , shouldn´t there by any avatar/picture at the postbit ?

Saviour
04-02-2009, 01:54 PM
Lahoria...

Does the user you're throwing an egg at have an avatar?

Saviour
04-02-2009, 02:05 PM
On another note...

I really love this mod!

slyreptile
04-02-2009, 02:23 PM
Yes, the general cause of this is having customized some of the egg avatar templates. When you customize a template it does not get overwritten when you install a new version, even if you check overwrite.

Revert your Egg Avatar templates and reimport the product xml.

Nope, that's not the problem. I haven't touched the templates and I verified they were not modified. Reimporting didn't fix the problem and even uninstalling and reinstalling didn't resolve it. There must be some conflict occurring somewhere.

hambil
04-02-2009, 03:14 PM
Let me make sure I understand the problem: Whether you have Egg Avatar set to not use a credit system, or set to use vbExperience, you get a "You don't have enough credits" when you try to egg someone? But, the users reputation is still effected?

I have turned the credit system off. When I thow a egg there is no picture. but the reputation gets negativ , shouldn?t there by any avatar/picture at the postbit ?
If you want to PM me some login details I'll see what I can do.

hambil
04-02-2009, 03:25 PM
The installation used to work fine with v2.04. i've just installed v2.22. I'm now getting the popup menu showing with the eggs outside (underneath) the popup box. Take a look (https://www.mormonbattalion.cc/forum/games/world-warcraft/3908-you-might-wow-player-if.html). Any ideas?
I just tossed an egg at this post and everything looked good. https://www.mormonbattalion.cc/forum/information/introductions/3886-autohausse-intro.html#post45503.

I also checked it on IE, the most troublesome of the browsers, and it looks fine (attached).

Are you still having trouble? What browser are you using?

hambil
04-02-2009, 03:27 PM
Nothing to see here, move along move along :)