The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
BBcode Manager 1.32 : New looks for your quote, html, php and code bbcodes ! Details »» | |||||||||||||||||||||||||||
BBcode Manager 1.32 : New looks for your quote, html, php and code bbcodes !
Developer Last Online: Feb 2013
*********************************************
BBcode Manager -Version 1.32-********************************************* By C?dric Claerhout and Calorie -Description- This modification allows you to have new looks for quote, code, phg and html bbcodes. The installation is automatic ; the setup is very easy. -Features-
-19/08/2006 : version 1.32 released. New option available : integration of Advanced Syntax Highlighting is now possible. Please note that "Code Block Width" must be in pixels (see "important" paragraphe)-Important-
This modification is available in french on vBulletin-fr.org This french forum is acting against vB piracy Show Your Support
|
Comments |
#122
|
||||
|
||||
Quote:
P.S : thanks also for the english corrections |
#123
|
||||
|
||||
Your code is working great, but i'm found some problems with mine using the legacy postbit. Before update, i'm going to correct this.
Edit : in fact it's not a bug ; i've to precise something in the installation file. The 1.30 version will be release in a few minutes |
#124
|
||||
|
||||
Version 1.30 released thanks to Calorie : the installation is now fully automatic ; you just have to upload product file and that's all (no need to edit php file anymore) ; the english translation is also better thanks to Calorie.
Good to know : To avoid display problems, i strongly advice you to set the "Code Block Width" (available in you style options) to 100%. If you prefer pixels, choose a little value ; especually if you're using legacy postbit. Never enter "auto" otherwise it won't work. |
#125
|
||||
|
||||
Hi i went to do the upgrade but i'm getting this error when importing the product
Code:
Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO sg_plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'Cache and Variables', 'cache_templates', '$bbcode_templates_array = array();\r\n$bbcode_image_extension = \'png\';\r\n$bbcode_intersect_array = array_intersect(array(\'bbcode_quote\',\'bbcode_code\',\'bbcode_php\',\'bbcode_html\'), $globaltemplates);\r\n\r\nif (!empty($bbcode_intersect_array))\r\n{\r\n $quote_light = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_light\']));\r\n $quote_dark = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_dark\']));\r\n $quote_pastel = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_pastel\']));\r\n $quote_simple = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_simple\']));\r\n $quote_simple_tr = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_simple_tr\']));\r\n\r\n if ($vbulletin->options[\'quote_vba\'] AND !$FIRSTPOSTID)\r\n {\r\n $quote_vba_forums = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_vba_forums\']));\r\n if ($vbulletin->options[\'quote_vba_forums_all\'] OR in_array($forumid, $quote_vba_forums))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_vba\',\'bbcode_code_vba\',\'bbcode_php_vba\',\'bbcode_html_vba\');\r\n }\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_light))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_light\',\'bbcode_code_light\',\'bbcode_php_light\',\'bbcode_html_light\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_dark))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_dark\',\'bbcode_code_light\',\'bbcode_php_light\',\'bbcode_html_light\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_pastel))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_pastel\',\'bbcode_code_pastel\',\'bbcode_php_pastel\',\'bbcode_html_pastel\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_simple))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_simple\',\'bbcode_code_simple\',\'bbcode_php_simple\',\'bbcode_html_simple\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_simple_tr))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_simple_tr\',\'bbcode_code_simple_tr\',\'bbcode_php_simple_tr\',\'bbcode_html_simple_tr\');\r\n }\r\n\r\n unset($quote_light, $quote_dark, $quote_pastel, $quote_simple, $quote_simple_tr, $quote_vba_forums);\r\n\r\n if (($vbulletin->options[\'quote_iedetect\'] AND is_browser(\'ie\') AND !is_browser(\'ie\', 7)) OR $vbulletin->options[\'quote_extension\'] == 1)\r\n {\r\n $bbcode_image_extension = \'gif\';\r\n }\r\n}\r\n\r\nif (!empty($bbcode_templates_array))\r\n{\r\n $globaltemplates = array_merge($globaltemplates, $bbcode_templates_array);\r\n}', 'bbcodemanager'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Sunday, August 13th 2006 @ 08:32:32 PM Script : http://www.sats-general.com/forum/admincp/plugin.php Referrer : http://www.sats-general.com/forum/admincp/plugin.php?do=productadd IP Address : ************ Username : Rickie3 Classname : vB_Database |
#126
|
|||
|
|||
Quote:
If you have a vB 3.5.x board, you'll need to edit the XML file prior to import: Find these blocks and remove them: Code:
<!-- this is near the top --> <url /> <versioncheckurl /> <dependencies> </dependencies> <!-- this is near the bottom --> <helptopics> </helptopics> <cronentries> </cronentries> <faqentries> </faqentries> Code:
<!-- from this --> <plugin active="1" executionorder="5"> <!-- to this --> <plugin active="1"> |
#127
|
||||
|
||||
@calorie thankyou that fixed it:-)
|
#128
|
|||
|
|||
Quick question. This affects new quotes only and not existing ones?
|
#129
|
||||
|
||||
I really wanted to try this out but usually stay away from hacks that need .php files edits. Since this update takes care of that I gave it a go! Uploaded files, imported and specified the style ID. But I don't see any changes.
|
#130
|
||||
|
||||
@nix did you set up your options in the adminCP?
|
#131
|
||||
|
||||
Yes.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|