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)

nascartr 03-15-2009 08:59 PM

I had it installed and when it's activated but no permissions are set things work fine but once I updated the permissions for all usergroups to be able to use all features the avatars turned into red x's.

djilou 03-15-2009 09:48 PM

Fatal error: Call to undefined function: exif_imagetype() in /eggavatar.php on line 195

hambil 03-15-2009 11:33 PM

Quote:

Originally Posted by djilou (Post 1769100)
Fatal error: Call to undefined function: exif_imagetype() in /eggavatar.php on line 195

Did not realize that wasn't compiled in by default. Fixed now. Thanks.

Sunka 03-15-2009 11:39 PM

Code:

Database error in vBulletin 3.8.1:

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

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 + 259200)' at line 1
Error Number  : 1064
Request Date  : Sunday, March 15th 2009 @ 06:33:36 PM
Error Date    : Sunday, March 15th 2009 @ 06:33:36 PM
Script        : http://www.pijanitvor.com/forum/eggavatar.php?do=addegg&p=7668
Referrer      : http://www.pijanitvor.com/forum/showthread.php?t=1375
IP Address    : 89.172.177.130
Username      : ********
Classname    : vB_Database
MySQL Version : 5.0.67-community-log

__________________________________________________ ____________________

Also, if I click on sign (icon) to egg someon, then is not opened egg menu (from this mod) but opened is user menu (when you click on username next to avatar --- look at the picture below).
Database error come only when I click on icon for egg someone and open in new tab.
My database have prefix - is that maybe problem?

https://vborg.vbsupport.ru/external/2009/03/80.jpg

Sunka 03-15-2009 11:42 PM

Also, how to move this MOD options down in vBulletin options?
I have look in product file, but have not find displayorder for that

hambil 03-15-2009 11:45 PM

Quote:

Originally Posted by Sunka (Post 1769186)
Database error in vBulletin 3.8.1:

I'm not sure what would cause that. Try a complete uninstall/reinstall.

hambil 03-15-2009 11:47 PM

Quote:

Originally Posted by Sunka (Post 1769188)
Also, how to move this MOD options down in vBulletin options?
I have look in product file, but have not find displayorder for that

Find the line
Code:

<settinggroup name="eggavatar_settings" displayorder="10">
and change the display order.

Sunka 03-15-2009 11:49 PM

I tried, also install this new one v1.2.1

Still the same, only database error is diferent

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT count(eggtype) as totaleggs FROM vb_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 @ 06:48:48 PM
Error Date    : Sunday, March 15th 2009 @ 06:48:48 PM
Script        : http://www.pijanitvor.com/forum/eggavatar.php?do=addegg&p=8761
Referrer      : http://www.pijanitvor.com/forum/showthread.php?t=1375
IP Address    : 89.172.177.130
Username      : *******
Classname    : vB_Database
MySQL Version : 5.0.67-community-log


hambil 03-15-2009 11:54 PM

Sounds like the javascript file isn't getting injected. That happens in the global_setup_complete hook.
PHP Code:

global $vbulletin;
if (
$vbulletin->options['eggavatar_active'])
{
    eval(
'$headinclude .= " ' fetch_template('eggavatar_ajax_js') . '";');


Make sure the hook isn't getting stepped on by another mod - and that your style didn't strip out $headinclude.

Sunka 03-15-2009 11:57 PM

Uh, and how to do that?
Would you like to PM you, admin username and password to look yourself?
I do not know what to look


All times are GMT. The time now is 01:11 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.02908 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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