The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge Details »» | |||||||||||||||||||||||||||||
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge
Developer Last Online: Nov 2023
Easily create forms with no HTML or PHP knowledge. Questions can be made compulsory and are checked before the form is submitted. Forms can be previewed. (You can create multiple forms)
Screenshots There are two posts full of screenshots of this modification
Download Now
Show Your Support
|
19 благодарности(ей) от: | ||
Alex@bulletin, Baja, Bannec, beduino, Black Snow, Cadellin, CvP, Daniel, eviljoker7075, imported_polygrinder, Karma, Life Revived, line89, madness85, Mastar, Master Of Unive, pandaplush, pcmwebmaster, SaN-DeeP |
Comments |
#2072
|
|||
|
|||
Code:
Database error in vBulletin 4.2.5: Invalid SQL: INSERT INTO formbits (fid, displayorder, type, question, description, options, compulsory, perrow, rows, cols, maxlength, ereg, custom, spacer, size, guestonly, minlength, reference, hidelabel, quiz) VALUES ('1', '10', '13', 'Test Scale', '', '', '1', '0', '1', '5', '0', '', '', '', '0', '0', '0', '', '0', ''); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows, cols, maxlength, ereg, custom, spacer, size, guestonly, minlength, referen' at line 2 Error Number : 1064 Any fix for this please? |
#2073
|
|||
|
|||
Updated your DB server?
Quote:
Edit your forms.php and quote the column names with backticks ` , I found this three times Line 1976 PHP Code:
PHP Code:
PHP Code:
|
#2074
|
|||
|
|||
Quote:
This time the error is as follows: Code:
Database error in vBulletin 4.2.5: Invalid SQL: INSERT INTO formbits (`fid`, `displayorder`, `type`, `question`, `description`, `options`, `compulsory`, `perrow`, `rows`, `cols`, `maxlength`, `ereg`, `custom`, `spacer`, `size`, `guestonly`, `minlength`, `reference`, `hidelabel`, `quiz`) VALUES ('1', '10', '13', 'Test Scale', 'Test descr', '', '1', '0', '1', '5', '0', '', '', '', '0', '0', '0', '', '0', ''); MySQL Error : Unknown column 'rows' in 'field list' Error Number : 1054 |
#2075
|
|||
|
|||
It is only a MariaDB-reserved-word-problem with two possible reasons and solutions.
A. Install mod first and later upgrade MariaDB to 10.2.4+ Then you can check in phpmyadmin if there is a column "rows" in table formbits. If yes then backticks two posts above is the solution. If no then B. B. (like PPhysX) Install mod on MariaDB 10.2.4+ Then adding the "rows"-column fails in installer. Then it makes more sense to use a better column-name. a. First goto phpmyadmin in forum-db Call sql (same as installer but changed column to "textrows" for visible rows in textarea) Code:
ALTER TABLE formbits ADD textrows int(5) NOT NULL default '3'; b. The go to forms.php and edit the three lines 1976,3305,3555. You can use old or new version (with or without backticks, but replace "rows" with "textrows"). c. Then edit some other lines (always replacing rows with textrows shown next) Code:
line 2054 textrows = '". $vbulletin->db->escape_string($rows)."', line 3401 'rows' => $formbit['textrows'], line 475 $formoutput .= $form['prea'] . ($qo[$formbit[id]] >= $formbit['textrows'] ... line 521 elseif (($qo[$formbit[id]] < $formbit['textrows'] OR ... line 1611 $i = $formbit['textrows']; line 2377 $starti = $formbit['textrows']; line 3314 '" . $vbulletin->db->escape_string($question['textrows']) . "', line 3564 '" . $vbulletin->db->escape_string($question['textrows']) . "', |
#2076
|
|||
|
|||
Big thanks to 'shka', his solution worked and so far no errors whatsoever on 4.2.5
|
#2077
|
|||
|
|||
Is there any plugin like this for vbulletin 5 ?
|
#2078
|
|||
|
|||
I have my forms make threads and have stopped them saving to database so how do I delete old complete form entries ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|