Quote
NetriX wrote:
Alright, here is a temp solution until the bigger problem gets looked at.
Admin Panel -> Custom Pages
Add title, paste the following into Page Content, Click Preview:Code Download source<?php
$result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."bbcodes");
$result = dbquery("CREATE TABLE ".$db_prefix."bbcodes (
bbcode_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
bbcode_name VARCHAR(20) NOT NULL DEFAULT '',
bbcode_order SMALLINT(5) UNSIGNED NOT NULL,
PRIMARY KEY (bbcode_id),
KEY bbcode_order (bbcode_order)
) ENGINE=MYISAM;");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('!autolink', '1')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('smiley', '2')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('b', '3')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('i', '4')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('u', '5')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('url', '6')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('mail', '7')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('img', '8')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('center', '9')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('small', '10')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('code', '11')");
$result = dbquery("INSERT INTO ".$db_prefix."bbcodes (bbcode_name, bbcode_order) VALUES ('quote', '12')");
?>
You'll need to re-enable any additional bbcodes that you previously used.
Also, you're most likely gonna get a error message at bottom of your page, to stop it from showing go to your Admin Panel -> System Admin -> Error Log and then ignore all the !autolink errors.
[olist=a]test
test
test[/olist]
[ulist=circle]test
test
test[/ulist]
Category Forum
Suspected Bugs and Errors - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions