vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - [tk] Egg Avatar (https://vborg.vbsupport.ru/showthread.php?t=208324)

whitetigergrowl 03-16-2009 04:16 AM

Amazing what happens when you try and egg yourself. >_> lol You get egg in the face alright.

rinkrat 03-16-2009 04:38 AM

OMG this freakin rules! I love the throw kisses! Works great.

rinkrat 03-16-2009 04:56 AM

OK, when you egg yourself there is a nasty database error. Can you fix it so you can either egg yourself or not be able to click the link?

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid = AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number : 1064
Request Date : Sunday, March 15th 2009 @ 10:52:46 PM
Error Date : Sunday, March 15th 2009 @ 10:52:47 PM
Script : /bbs/eggavatar.php?do=addegg&p=1437306
Referrer : /bbs/f27/106476.html#post1437306
IP Address : 24.112.11.11
Username : rinkrat
Classname : vb_database
MySQL Version : 4.1.20

hambil 03-16-2009 05:07 AM

You should not be able to egg yourself - the problem must be something else. What you should see is either a nothing to do error message, or options to clean if appropriate. See attachments.

djilou 03-16-2009 08:32 AM

Quote:

Originally Posted by hambil (Post 1769179)
Did not realize that wasn't compiled in by default. Fixed now. Thanks.

Thanks for the fix,
but when I try to upgrade I got this error :

Invalid SQL:
ALTER TABLE usergroup ADD eggavatarpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'eggavatarpermissions'
Error Number : 1060
Request Date : Monday, March 16th 2009 @ 09:29:54 AM
Error Date : Monday, March 16th 2009 @ 09:29:54 AM
Script : /admincp/plugin.php?do=productimport
Referrer : /admincp/plugin.php?do=productadd

hambil 03-16-2009 08:43 AM

It didn't uninstall properly. Uninstall it, and reinstall. If it still doesn't work them you'll have to manually delete the column eggavatarpermissions from your database (though I'm not sure why uninstalling first wouldn't do that for you).

hambil 03-16-2009 08:43 AM

Actually, if you wait 10 mins I've got a minor update on the way anyway. :p

hambil 03-16-2009 08:57 AM

Minor update just put up. Fixes popup/cost display bug, and fixes images losing color when placed on some avatars.

djilou 03-16-2009 09:19 AM

Thank you :)

Sunka 03-16-2009 09:27 AM

Updated...working OK
Animated avatars are not animated more! But I take that like good options

hambil 03-16-2009 09:30 AM

Quote:

Originally Posted by Sunka (Post 1769473)
Updated...working OK
Animated avatars are not animated more! But I take that like good options

You mean they stop being animated when egged? They should go back to being animated when cleaned.

This is on the list of things I will fix eventually, but, I may leave the current way as an option when I do.

Either way, not really a bug.

Sunka 03-16-2009 09:33 AM

Yes, they are back animated when they are cleaned...but I like that when they are egged, they stop animation...it is OK

Do you think to do something same for signatures (egged signtures :) )

TandyServices 03-16-2009 09:55 AM

Nice like it.. The only thing I see that I really don't like and maybe you could help me figure it out is I have it cost 25 to throw. and wanted 100 to clean all. maybe 25 to clean one.. but mine says 25 credits to egg, 100 credits to clean, 25 to clean all.??

hambil 03-16-2009 10:14 AM

Quote:

Originally Posted by TandyServices (Post 1769497)
Nice like it.. The only thing I see that I really don't like and maybe you could help me figure it out is I have it cost 25 to throw. and wanted 100 to clean all. maybe 25 to clean one.. but mine says 25 credits to egg, 100 credits to clean, 25 to clean all.??

You are correct - thank you. I fixed it. I didn't bother with a point release since I had just released this version and it's a minor fix. If you already have 1.2.2 installed then don't reinstall, just unzip the zip file and upload the files again.

TandyServices 03-16-2009 10:25 AM

Cool fixed.. Thanks alot and my members love it.. Great work.. Keep it up..

djilou 03-16-2009 12:37 PM

I'm getting this error from time to time :

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid = AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number : 1064

hambil 03-16-2009 01:42 PM

Quote:

Originally Posted by djilou (Post 1769580)
I'm getting this error from time to time :

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid = AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number : 1064

Interesting. Can you watch for a pattern - maybe we can narrow down when it is happening.

rinkrat 03-16-2009 02:57 PM

Quote:

Originally Posted by hambil (Post 1769371)
You should not be able to egg yourself - the problem must be something else. What you should see is either a nothing to do error message, or options to clean if appropriate. See attachments.

All I do is clisk the green glob on my own avatar and it gives

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1

Error Number : 1064
Request Date : Sunday, March 15th 2009 @ 10:52:46 PM
Error Date : Sunday, March 15th 2009 @ 10:52:47 PM
Script : /bbs/eggavatar.php?do=addegg&p=1437306

rinkrat 03-16-2009 03:01 PM

Quote:

Originally Posted by hambil (Post 1769446)
It didn't uninstall properly. Uninstall it, and reinstall. If it still doesn't work them you'll have to manually delete the column eggavatarpermissions from your database (though I'm not sure why uninstalling first wouldn't do that for you).


Same thing happened to me on upgrade so I had to uninstall and then reinstall to upgrade which wiped all the previous eggings.

hambil 03-16-2009 03:03 PM

Hmmm. I'm going to put in a generic error message for no user id, but I'll also see if I can figure out what might be causing the specific issue. I'll keep you posted. It works fine for all other actions (egging someone else, cleaning someone else, etc?)

jambo_1969 03-16-2009 03:04 PM

Downloaded and installed - though some of the phrases need sorting - Thow instead of Throw.

Good stuff though...

djilou 03-16-2009 03:04 PM

Quote:

Originally Posted by hambil (Post 1769618)
Interesting. Can you watch for a pattern - maybe we can narrow down when it is happening.

It's happening when a member clic to clean his avatar, but I did a test and could not reproduce this error :(

here is the appache log

- - [16/Mar/2009:00:10:43 +0000] "GET /forum/image.php?type=dberror HTTP/1.1" 200 1296 "http://www.site.com/forum/eggavatar.php?do=addegg&p=867945" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; InfoPath.1)"

hambil 03-16-2009 03:06 PM

Quote:

Originally Posted by djilou (Post 1769688)
It's happening when a member clic to clean his avatar, but I did a test and could not reproduce this error :(

here is the appache log

- - [16/Mar/2009:00:10:43 +0000] "GET /forum/image.php?type=dberror HTTP/1.1" 200 1296 "http://www.site.com/forum/eggavatar.php?do=addegg&p=867945" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; InfoPath.1)"

Thanks, the info should help.

hambil 03-16-2009 03:12 PM

Quote:

Originally Posted by jambo_1969 (Post 1769687)
Thow instead of Throw.

How did I miss that? ARGGHHH! It's all I can see now lol

bullet07 03-16-2009 03:37 PM

Hey i just installed this just one small problem when i throw something it don't display my avatar just says Bullet's Avatar any help?

DobieGillis? 03-16-2009 03:51 PM

anyone using this with Live Topic?

Vinyljunky 03-16-2009 03:52 PM

Quote:

Originally Posted by smnoel (Post 1768749)
Button not showing up to egg folks after installing it. :(

I have this problem too but Im sure the usergroups are correct :confused:

jambo_1969 03-16-2009 05:00 PM

Quote:

Originally Posted by DobieGillis? (Post 1769729)
anyone using this with Live Topic?

I'm too scared to.

I think I'd start Global Nuclear War if the two were running at the same time...either that or my server would melt.

woffie 03-16-2009 05:05 PM

Installed and it did not take long for the members to start having fun with it. Anyone know if I could integrate this with VbExperience points?

woffie 03-16-2009 05:06 PM

Quote:

Originally Posted by DobieGillis? (Post 1769729)
anyone using this with Live Topic?

I am, no problems

Bulldog Stang 03-16-2009 05:06 PM

Updated my version and is now working great .... No errors so far :)

DobieGillis? 03-16-2009 05:17 PM

Quote:

Originally Posted by woffie (Post 1769786)
I am, no problems

thanks and no iissues with any animated av's?

Vinyljunky 03-16-2009 05:22 PM

The Button is not showing up to egg folks after installing it :confused:

Im sure the usergroup privs are correct

Could it be conflicting with TMS?

Can anybody help? :o

Thanks

djilou 03-16-2009 05:27 PM

The same sql message error on Private message :

Code:

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid =  AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number  : 1064
Request Date  : Monday, March 16th 2009 @ 06:28:23 PM
Error Date    : Monday, March 16th 2009 @ 06:28:23 PM
Script        : eggavatar.php?postid=
Referrer      : private.php?do=showpm&pmid=176714

Maybe the button should not show up on Private message.

g0dfather1984 03-16-2009 06:06 PM

Sorry, not showing up on mine either.

hambil 03-16-2009 06:15 PM

Quote:

Originally Posted by djilou (Post 1769812)
The same sql message error on Private message :

Code:

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid =  AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number  : 1064
Request Date  : Monday, March 16th 2009 @ 06:28:23 PM
Error Date    : Monday, March 16th 2009 @ 06:28:23 PM
Script        : eggavatar.php?postid=
Referrer      : private.php?do=showpm&pmid=176714

Maybe the button should not show up on Private message.

There is no reason for it to show up on private messages - they don't even have a postbit, unless you've got some mod or style change that adds that stuff in.

hambil 03-16-2009 06:18 PM

Quote:

Originally Posted by Vinyljunky (Post 1769809)
The Button is not showing up to egg folks after installing it :confused:

Im sure the usergroup privs are correct

Could it be conflicting with TMS?

Can anybody help? :o

Thanks

Quote:

Originally Posted by Vinyljunky (Post 1769730)
I have this problem too but Im sure the usergroups are correct :confused:

Quote:

Originally Posted by g0dfather1984 (Post 1769836)
Sorry, not showing up on mine either.

Make sure you go into all the usergroups and set their permissions to be able to see and throw eggs. Other than that, I can't see any reason for the button to not show up, unless your postbit has been pretty heavily modified. It positions itself using the 'online' button.

bullet07 03-16-2009 06:48 PM

Mines still not working i have all permissions set etc but when anyone uses it the persons avatar just don't show its just a broken image.

hambil 03-16-2009 06:51 PM

Quote:

Originally Posted by bullet07 (Post 1769879)
Mines still not working i have all permissions set etc but when anyone uses it the persons avatar just don't show its just a broken image.

If you want to pm me login info I'll see what I can figure out for you.

g0dfather1984 03-16-2009 06:56 PM

Sorry to bother you again, but I received this:

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM eggavatar WHERE userid = AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cleaned = 0 AND UNIX_TIMESTAMP( ) <= (dateline + 3600)' at line 1
Error Number : 1064
Request Date : Monday, March 16th 2009 @ 03:53:32 PM
Error Date : Monday, March 16th 2009 @ 03:53:32 PM


All times are GMT. The time now is 01:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01555 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete