vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=98934)

kremer4 01-06-2006 01:48 PM

Getting the following error message; any suggestions.

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database

harmor19 01-06-2006 06:30 PM

That's weird, I'll do some research on why you recireved that error.

kremer4 01-06-2006 06:35 PM

Thanks :up:

shadowdancer36 01-06-2006 07:55 PM

Is it a way I can change the word extras to something else? :ermm:

harmor19 01-06-2006 11:07 PM

Quote:

Originally Posted by shadowdancer36
Is it a way I can change the word extras to something else? :ermm:

In the phrase manager search for "Extras".
Edit the wird and in the "English Translation" box put what you want it to say.

harmor19 01-08-2006 01:52 AM

Quote:

Originally Posted by kremer4
Getting the following error message; any suggestions.

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE `custom_droplinks` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`url` varchar(120) NOT NULL default '',
`name` varchar(20) NOT NULL default '',
`new_window` tinyint(2) NOT NULL default '',
`alt` varchar(60) NOT NULL default '',
`number` int(20) NOT NULL default '',
`image` varchar(60) NOT NULL default '',
PRIMARY KEY (`linkid`)
);;

MySQL Error : Invalid default value for 'new_window'
Error Number : 1067
Date : Friday, January 6th 2006 @ 10:42:24 AM
Script : http://cmbb/admincp/plugin.php
Referrer : http://cmbb/admincp/plugin.php?do=productadd
IP Address : 157.185.92.99
Username : administrator
Classname : vB_Database

I haven't forgot about you.
Perhaps I need to make it "unsigned"?

Edit:
I made it unsigned and I made the default value "0".
If you are stilling recieving an error do not hesitate to report it.

Andyrew 01-08-2006 03:56 AM

I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:

harmor19 01-08-2006 04:40 AM

Quote:

Originally Posted by Andyrew
I have been getting database errors ever since i did the last upgrade of your hack.
So i decided to remove it and start again, all is working ok now apart from i cannot put long names in the name field.
I did a fresh install several times of the hack downloaded from the start of this thread but it just won't let me add more than 20 characters.
It was working before after you did the fix for this but now even after installing and doing the upgrade it still won't allow more than 20 characters. :confused:

I'm sorry about that.
You can now type "100" characters for the name.

You'll have to uninstall the current product and upload the new one.

Andyrew 01-08-2006 08:45 AM

Working now :) whats the upgrade2.xml for do i need to run this even though its working now.

harmor19 01-08-2006 09:02 AM

You do not need to run upgrade2.
It's to add images to links.


All times are GMT. The time now is 01:10 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.01310 seconds
  • Memory Usage 1,741KB
  • 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_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