vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - [AJAX]Did you know ...? (Tip Management) (https://vborg.vbsupport.ru/showthread.php?t=146765)

SnickersTK 05-17-2007 07:37 PM

I am getting this error when trying to add the plugin:

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                INSERT INTO productcode
                                        (productid, version, installcode, uninstallcode)
                                VALUES
                                        ('tip',
                                        '*',
                                        'if ($vbulletin->products[\'tms\'])\r\n{\r\n        require_once(DIR . \'/includes/adminfunctions_templateedits.php\');\r\n        install_templateedits($info, $arr, $active);\r\n}',
                                        'if ($vbulletin->products[\'tms\'])\r\n{\r\n        require_once(DIR . \'/includes/adminfunctions_templateedits.php\');\r\n        uninstall_templateedits($vbulletin->GPC[\'productid\']);\r\n}');

MySQL Error  : Duplicate entry '0' for key 1
Error Number : 1062
Date        : Thursday, May 17th 2007 @ 03:35:49 PM
Script      : http://*/forum/admincp/plugin.php
Referrer    : http://*/forum/admincp/plugin.php?do=productadd
IP Address  : *
Username    : TK
Classname    : vb_database


Surviver 05-18-2007 03:29 AM

Quote:

Originally Posted by SnickersTK (Post 1249690)
I am getting this error when trying to add the plugin:

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                INSERT INTO productcode
                                        (productid, version, installcode, uninstallcode)
                                VALUES
                                        ('tip',
                                        '*',
                                        'if ($vbulletin->products[\'tms\'])\r\n{\r\n        require_once(DIR . \'/includes/adminfunctions_templateedits.php\');\r\n        install_templateedits($info, $arr, $active);\r\n}',
                                        'if ($vbulletin->products[\'tms\'])\r\n{\r\n        require_once(DIR . \'/includes/adminfunctions_templateedits.php\');\r\n        uninstall_templateedits($vbulletin->GPC[\'productid\']);\r\n}');

MySQL Error  : Duplicate entry '0' for key 1
Error Number : 1062
Date        : Thursday, May 17th 2007 @ 03:35:49 PM
Script      : http://*/forum/admincp/plugin.php
Referrer    : http://*/forum/admincp/plugin.php?do=productadd
IP Address  : *
Username    : TK
Classname    : vb_database


Seems to be a problem of your prodcucode table ...

SnickersTK 05-18-2007 09:00 PM

It took me a while, but I figured it out myself..

Now, when I try adding a tip, it gives me this error:

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:

REPLACE INTO phrase
(languageid, varname, text, fieldname, product, username, dateline)
VALUES
(-1,
'tip_4',
'test',
'tips',
'tip',
'TK',
'1179525536');

MySQL Error : Unknown column 'fieldname' in 'field list'
Error Number : 1054
Date : Friday, May 18th 2007 @ 04:58:56 PM
Oh and when adding a tip, why does it ask for a US translation too? :confused::confused::confused:

Surviver 05-19-2007 07:58 AM

Quote:

Originally Posted by SnickersTK (Post 1250447)
It took me a while, but I figured it out myself..

Now, when I try adding a tip, it gives me this error:



Oh and when adding a tip, why does it ask for a US translation too? :confused::confused::confused:

It seems that this hack si not compatible to vBulletin 3.5.x ;)

CoolSwede 05-19-2007 05:11 PM

hi,
thanks for this nice mod.

are there any formatting options for the tips?

Surviver 05-19-2007 06:23 PM

Quote:

Originally Posted by CoolSwede (Post 1250900)
hi,
thanks for this nice mod.

are there any formatting options for the tips?

You can use HTML.

SnickersTK 05-19-2007 09:05 PM

Awwwww :( But I love this hack soo much.

I can not upgrade because I'll loose too many precious hacks that has not been made compitable with the newer version.

Any way I can convince you to make a compitable version for 3.5.x??? pwease?

Surviver 05-20-2007 04:37 AM

Quote:

Originally Posted by SnickersTK (Post 1251003)
Awwwww :( But I love this hack soo much.

I can not upgrade because I'll loose too many precious hacks that has not been made compitable with the newer version.

Any way I can convince you to make a compitable version for 3.5.x??? pwease?

Not at the Moment ... Mayb elater ;)

Panagioths 05-20-2007 02:43 PM

Is there a possibility to integrate this in a vbadvanced box?

Surviver 05-20-2007 06:22 PM

Quote:

Originally Posted by Panagioths (Post 1251445)
Is there a possibility to integrate this in a vbadvanced box?

This owuld be able, but why? Ist is a box, i think an integration in vBA is not necessary ;)


All times are GMT. The time now is 06:33 AM.

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.01126 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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