Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Advanced BB Codes Toolbar Details »»
Advanced BB Codes Toolbar
Version: 1.5b, by cclaerhout cclaerhout is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.3 Rating:
Released: 08-04-2009 Last Update: 08-19-2009 Installs: 55
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Advanced BB Codes Toolbar
-Version 1.5b-
Created by C?dric Claerhout
for www.vBulletin-fr.org

Version history:


20 August 2009 : 1.5b version : bbcode parse pb fix

20 August 2009 : 1.5 version | MAJOR UPDATE
-Code has been fully rewritten
-Usergroup permissions to display toolbar
-Checking datas sent by user. If the width is incorrect or to high, a default with replace the value. See the options.
-Better integration for the path configuration of Latex script
-A few bugs have been corrected

IMPORTANT : YOU HAVE TO FULLY UNINSTALL 1.4 VERSION
If you don't, you will have to delete one by one bbcodes added by 1.4 version before to make work 1.5 version


5 August 2009 : 1.4 version | Tested with IE 8, FF, Opera, Chrome and Safari.
- New code management
for "article, "encadre" and "encadrex" BB Codes. No need to edit CSS templates anymore. FIRST ENGLISH RELEASE.
-Special CSS for IE - autodetect.
-Special CSS styles with dark background - new settings in Product options
-Normal CSS in other cases.
Style sheets are in three external files that needed to be uploaded on your server.

5 August 2009 : 1.3 version | Update for vB 3.8 templates. Some BB Code have been modified to make them display well in the Nice and Wonderfull IE 8 (May be as good as IE 6 ^^).

8 September 2007 : 1.2 version | New Fieldset BB Code & Code Rewritten
6
September 2007 : 1.1 version | Phrased Product... and special translation system
4 septembre 2007 : 1.0 version


Presentation:
This product adds a new toolbar in the Editor with up to 13 new BB Codes. It gives your members a better opportunity to display their messages. Some of the BB Code might be familiar to you. I've used them for years and updated them to my needs. Some are home made BB Code. This product strength is its high simplicity to install and configure.

Quick tour of these incorporated BB Codes:
  1. BIMG BB Code: Resize a big picture
  2. BIMGX BB Code: Resize a big picture giving its width
    [Safety Default&Max Width System included]
  3. IGAUCHE BB Code: Insert a picture in absolute position to the left of a text
  4. IDROITE BB Code: Insert a picture in absolute position to the right of a text
  5. IGAUCHEX BB Code: Insert a resized picture in absolute position to the left of a text (width in px)
    [SDMWS included]
  6. IDROITEX BB Code: Insert a resized picture in absolute position to the right of a text (width in px)
    [SDMWS included]
  7. ARTICLE BB Code: Display an article inside a message
  8. ENCADRE BB Code:This BB Code insert a text box to the right of a message. Default width is 20% of window
  9. ENCADREX BB Code: This BB Code insert a text box to the right of a message. You can change width giving a value in "%"
    [SDMWS included]
  10. SPOILER BB Code: This [spoiler] code allows to hide a part of a text
  11. Justify Text BB Code: Display justified text
  12. LATEX BB Code: Latex typesetting system allows to display mathematical content or graphics (YOU HAVE TO INSTALL LATEX ON YOUR SERVER !)
  13. FIELDSET BB Code: This BB Code inserts a [fieldset] with a custom title
Don't worry : even though these BB Codes are many, displaying them won't mess up your editor. Just have a look to the pictures.

Demonstration
Style normal
Style sombre

How to install
Very hard ! Unzip, upload, import and configure the module options (in vB options).

How to update
Uninstall the product and re-install it again. Don't forget to configure the options if you've got styles with dark background.

How to use Text Box
Let's consider that you want to have a main text and a box text at his right. In order to display this, your members have to insert at first the Text Box, then the Main Text. Here is what the code looks like:
Code:
[ENCADRE]BLA BLA BLA[/ENCADRE]TEXTE
Things to know
All the BB Code installation is automatic. Their Editor buttons use javascript to display popups in order to help your members.

I do want to thank Viper007Bond for his hack "Embed XHTML valid YouTube and Google Video into your posts". Thanks to him I manage to understand how to make mine works. And, of course, I really want to thank this great young retired coder who is TheGeek for his module GARS. Thanks to his "New page" button I manage to use javascript.

Information
This hack belongs to vBulletin-fr and I. If you want to distribute it elsewhere, you have to ask permission. If you're an other French team board, don't ask. The answer will be "no".

I hope this hack will work immediately for you because I won't have get time to support it. Sorry for this.

Show Your Support

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

Comments
  #2  
Old 08-05-2009, 09:26 PM
erel34's Avatar
erel34 erel34 is offline
 
Join Date: Dec 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #3  
Old 08-05-2009, 09:39 PM
bposner bposner is offline
 
Join Date: Feb 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried resize picture, shut down server
Reply With Quote
  #4  
Old 08-06-2009, 01:36 AM
meraia meraia is offline
 
Join Date: Aug 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thxxx i,ll try it

paaa
Reply With Quote
  #5  
Old 08-06-2009, 05:56 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill watch this one. An upgraded tool bar menu with better editor features has been seriously long over do for VB and seriously neglected.
Reply With Quote
  #6  
Old 08-06-2009, 07:03 AM
Cybertims Cybertims is offline
 
Join Date: Nov 2005
Location: Bedfordshire
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesnt seem to show in the quick reply though
Reply With Quote
  #7  
Old 08-06-2009, 09:15 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bposner View Post
Tried resize picture, shut down server
...Are these new BB Codes on the BB Codes Manager ? If it's the case, i don't see why this would shut down your server. This hack is just a way to design some BB CODES. What was the message?

Quote:
Originally Posted by Cybertims View Post
It doesnt seem to show in the quick reply though
Yes. A quick reply is made to reply quick, not to create a layout in a tiny window.
Reply With Quote
  #8  
Old 08-06-2009, 02:16 PM
bposner bposner is offline
 
Join Date: Feb 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout View Post
...Are these new BB Codes on the BB Codes Manager ? If it's the case, i don't see why this would shut down your server. This hack is just a way to design some BB CODES. What was the message?
I don't know either. I took a really big picture, then put in a bunch of text ( more than that's alllowed by VB) and the combination of too much text and the resizing crashed the db. I tried to take worse case scenario a user would do. Normally if text is too much VB will let you know that it exceeded the limit. I don't have a message, sorry. I will try this again to see if I can replicated during an off time. But let me ask. Is there a way to limit BBCODE use to user groups? More of a general question.

Thank you for doing this for free and supplying support. I appreciate anything that's done at no charge and look forward to using some of these codes. I just want to keep them way from people that may abuse them
Thanks!!!
Reply With Quote
  #9  
Old 08-06-2009, 02:47 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The idea to limit the display of this toolbar for usergroups ID is a good. I was expecting this request ^^. As soon as i get time, I will do it.

Could you please send me by email the test message that might have caused a server crash. Because French vB users have been using this hack for 2 years, and I never heard this kind of problem before. And please, try to do the test of the Very big Picture With & Without my hack ; BB Codes are just CSS or javascript (spoiler), there are not supposed to kill your website. If a problem exists, it might come from my installation code.


mail: cedric.claerhout@free.fr
Reply With Quote
  #10  
Old 08-06-2009, 02:57 PM
bposner bposner is offline
 
Join Date: Feb 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cclaerhout View Post
The idea to limit the display of this toolbar for usergroups ID is a good. I was expecting this request ^^. As soon as i get time, I will do it.

Could you please send me by email the test message that might have caused a server crash. Because French vB users have been using this hack for 2 years, and I never heard this kind of problem before. And please, try to do the test of the Very big Picture With & Without my hack ; BB Codes are just CSS or javascript (spoiler), there are not supposed to kill your website. If a problem exists, it might come from my installation code.


mail: cedric.claerhout@free.fr

I will when I get time, just I have no test system, just a live system. I think it was a combination of trying to A. justify text, B. resize a picture and C. deal with too much text in the message. I was doing a preview when it crashed, so it was never saved. Some of these codes are very nice, however my regular users may inadvertently abuse them or combine them in a conflicting way and we'll have a crazy mess of formatted posts That's why I'd like to see a permissions option. This is no way criticizing your work, just know who our users are
Reply With Quote
Reply

Thread Tools

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 11:34 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.04400 seconds
  • Memory Usage 2,302KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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