Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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 !
Version: 1.32, by cclaerhout cclaerhout is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.7 Rating:
Released: 06-30-2006 Last Update: 08-18-2006 Installs: 340
Uses Plugins
Additional Files  
No support by the author.

*********************************************
BBcode Manager
-Version 1.32-
Works vB 3.6 -vB 3.5 (special xml file inside zip)
*********************************************
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-
  • Five news looks for bbcodes in order to enhance your messages : Light bbcode set ; Dark bbcode set ; Pastel bbcode set ; Simple bbcode set and Simple bbcode with transparency b/g. Configure this sets according to your styles. If you forget or don't want to specify a set for a style, it will use the defaut vB display.
  • GIF or PNG formats available for pictures. Autodetect IE 6 function to use gif extension for this browser. In order to work efficiently the Cached Posts Lifespan must be set to 0 in vB options
  • This hack works with vBa CMPS : it uses special templates to avoid to break the front page. The detection is automatic (since 1.31 version).
  • You can configure : the left margin of bbcode, the color and the size of text.
  • You can set a link to quoted user profile. It creates a clickable link between the person's username being quoted and her profile.
  • Mono or double bubbles for simple quote bbcode | special behaviour for quotes of light, dark and pastel sets.
-Installation-
  1. Upload "bbcodemanager" pictures directory in vBulletin images directory : /forums/images/
  2. Import the product xml file
  3. Configure the mod in vBulletin options -> "BBcode templates manager"
-Updates-
-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)
-15/08/2006 :
version 1.31 released. New vba procedure detection ; it's automatic now. Errors in vBa bbcode templates have been corrected. To upgrade from 1.30, just import product file.
-14/08/2006 : 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.
-07/08/2006 : version 1.23 released ; new options available : Link to profil, Left margin, Text color and some Special behaviour for quotes of light, dark and pastel sets. Text color problem for some styles corrected. To update, just import xml product file and upload pictures (there are new ones)
-15/07/2006 : version 1.22b released ; link to a picture corrected
-14/07/2006 : version 1.22 released ; code is simpler ; use now $style[styleid] variable instead of $styleid ->allow guests to see the right bbcode set
-12/07/2006 : version 1.21 released ; now you can config several style ids (for real this time)
-12/07/2006 : version 1.2 released ; new installation procedure ; many big problems corrected ; html code of new bbodes templates updated ; tested and validated XHTML
-03/07/2006 : now you can config several style ids
-Important-
  • To update from 1.30 just import the product file
  • To uninstall version 1.1 or version 1.2, you have to follow a specific procedure described in the archive.

  • [s]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.[/s]
    The "Code Block Width" must be in pixels Otherwise there are too numerous problems. So forget my advice to put a value in %. It must be in pixels. In 800x600 there is a display problem, but it's the same thing with vb default templates. So i guess we can't do anything.
  • If the text display doesn't suite you, you can do easily what you want. Just turn off the "CSS BBcode text" module and create the CSS : .bbcode
    Do it on your own : you won't be helped for this.

This modification is available in french on vBulletin-fr.org

This french forum is acting against vB piracy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 08-14-2006, 06:10 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I now click install and thanks for a wonderful modification
Reply With Quote
  #163  
Old 08-14-2006, 07:24 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a bug with the new code for vBa : it loads vba bbcodes in all messages and not only the first one. I'm going to see if i can do something.

the problem is that "!$FIRSTPOSTID" is not working here.
Reply With Quote
  #164  
Old 08-14-2006, 09:37 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well after 2 hours, i've found a solution. Before to release a new version (1.31) i'm waiting for Calorie to check the code.

Edit : i'll have to work more... i forgot to include an option for vBa
Reply With Quote
  #165  
Old 08-14-2006, 10:02 AM
Virtex-II Virtex-II is offline
 
Join Date: Feb 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout
Before to release a new version (1.31) i'm waiting for Calorie to check the code.
What about adding an option to resize the quoted, coded, etc. text without the need to add a new CSS variable?


Thanks
Reply With Quote
  #166  
Old 08-14-2006, 02:35 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I turned this off by removing the style id from the set I was using. Now after adding the style id number back in, I cannot seem to get the new style quote to display in pervious posts. I tried setting the Cached Posts Lifespan back to 0 and that did not work.
Reply With Quote
  #167  
Old 08-14-2006, 03:45 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, got it to work for all posts. Seems as though it takes a bit for the un-cached posts to show with the new style quote
Reply With Quote
  #168  
Old 08-14-2006, 08:33 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so is this now stable?
i want this on me board, but dont wanna bung it on till i know its ok
Reply With Quote
  #169  
Old 08-14-2006, 08:38 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Version 1.30-
Works with vB 3.5 and vB 3.6
when u install the product, u get a DB error on 3.5.4.....

Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO 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_co de\',\'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\',\'b bcode_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_sim ple_tr\',\'bbcode_php_simple_tr\',\'bbcode_html_si mple_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 : Monday, August 14th 2006 @ 10:37:16 PM
Script : http://www.*******.org/forum/admincp/plugin.php
Referrer : http://www.*******.org/forum/admincp...?do=productadd
IP Address : **********
Username : Gizmo
Classname : vb_database
executionorder.........isnt that 3.6.0 specific, or ami just dumb??
Reply With Quote
  #170  
Old 08-14-2006, 08:59 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

15/08/2006 : version 1.31 released. New vba procedure detection ; it's automatic now. Errors in vBa bbcode templates have been corrected. To upgrade from 1.30, just import product file.
Reply With Quote
  #171  
Old 08-14-2006, 09:01 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
when u install the product, u get a DB error on 3.5.4.....



executionorder.........isnt that 3.6.0 specific, or ami just dumb??
If you know the answer, don't ask the question The code of the new version 1.31 should be ok with 3.5.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 AM.


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.04719 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete