The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Competitions Details »» | |||||||||||||||||||||||||
Description
Adds a competition module to your forums. You can create as many competitions and allow members to participate in them. Features
Installation
Upgrade
Editing the navbar template 1. Open the navbar template 2. Find: 3. Add after: 4. Save template Author Notes This extension was developed specifically for my website but I am releasing the code since a few members here have have shown interest. I cannot state that it is totally free of bugs. I would appreciate your feedback in making this extension better. Maybe in Future At the moment, the question is only restricted to one per competition. I would like to have the ability to add more than one question per competition. Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
||||
|
||||
Quote:
|
#43
|
|||
|
|||
I got this when I first tried to upload the plugin
Code:
Database error in vBulletin 3.5.1: Invalid SQL: CREATE TABLE `hkc_competitions` ( `competitionid` smallint(5) unsigned NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `description` mediumtext NOT NULL, `type` enum('input','select','radio','textarea','checkbox','select_multiple') NOT NULL default 'input', `data` mediumtext NOT NULL, `maxlength` smallint(6) NOT NULL default '250', `size` smallint(6) NOT NULL default '25', `height` smallint(6) NOT NULL default '0', `optional` smallint(5) unsigned NOT NULL default '0', `def` smallint(6) NOT NULL default '0', `regex` varchar(255) NOT NULL default '', `enddate` int(10) unsigned NOT NULL default '0', `datestamp` int(10) unsigned NOT NULL default '0', `correctanswer` mediumtext NOT NULL, `entrycount` mediumint(8) unsigned NOT NULL default '0', `maxentries` smallint(5) unsigned NOT NULL default '1', `maxwinners` smallint(5) unsigned NOT NULL default '1', `winnercount` smallint(5) unsigned NOT NULL default '0', `enableguidelines` tinyint(1) NOT NULL default '1', PRIMARY KEY (`competitionid`), KEY `enddate` (`enddate`) ) TYPE=MyISAM;; MySQL Error : You have an error in your SQL syntax near '; ' at line 24 Error Number : 1064 Date : Monday, November 7th 2005 @ 02:59:28 PM Script : http://www.oneforum.org/admincp/plugin.php Referrer : http://www.oneforum.org/admincp/plugin.php?do=productadd IP Address : 194.146.154.1 Username : Snitz Classname : vb_database |
#44
|
||||
|
||||
That's strange. The SQL in the XML file doesn't have 2 semi-colons at the end.
I also installed this hack on a vanilla copy of vBulletin 3.5 and I didn't get any errors. |
#45
|
|||
|
|||
what could be cause of this error than?
I recently upgraded to 3.5.1, could it be the reason? |
#46
|
|||||||||||
|
|||||||||||
Mine's a 3.5.1 too.
Have a list of errors with what I had done below each one and what I did to fix it. Please note: every error was obtained via the product import function when set to overwrite exisiting. Quote:
Code:
) TYPE=MyISAM; "; Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I'd send you a copy of my XML file but it's got big chunks missing so it probably isn't a good idea. However, if you wish to have a copy for your reference then I will be happy to send it over. [high]* peterska2 hopes this post isn't over the character limit![/high] |
#47
|
||||
|
||||
peterska2, thanks for your detailed report. I really appreciate your efforts and patience. I would like to have your copy of the XML file. I can use that to fix my XML file. You can email the file to me at husainsfabbas AT hotmail.com
From your error report, is it safe to assume that all problems faced were because of poorly written SQL queries? |
#48
|
||||
|
||||
I installed this mod and it seems to be working properly as long as I am using internet explorer. When I goto my site in Firefox, none of the dhtml drop down menus work and the shoutbox does not load and various other java functions do not work.
When I disable this product, all is working again. |
#49
|
||||
|
||||
Quote:
Also, once you know the sql is correct, you should add the following line to the start of your installation code; PHP Code:
PHP Code:
|
#50
|
||||
|
||||
Thanks for the tip Paul. I have uploaded another copy of the ZIP file to incorporate your suggestion.
|
#51
|
|||
|
|||
Quote:
Won't be long. Here you go |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|