![]() |
Optimize BBCodes and BBCodeImages in Editor
1 Attachment(s)
What does vBulletin do with BB Codes ?
vB simply adds any BBCode that used an image to the standard images inside the editor. What happend, when I have a lot of BB Codes ? My Editor width, grows wider and wider *g What does this mod do ? It allows you to optimize your custom BBCodes. That means:
I've added three fields to the database table "bbcode". They called: "active", "separator" and "sortorder". After installing the Product, all avaible custom BB Codes will become active. Attention: You need to edit 3 files (there are no HOOKs to do that). After editing the files, go into the AdminCP, click on BB Codes, click on edit and save it. That's only for caching the BBCodes. For editing the files, rename the READ.ME.txt into READ.ME.html. And follow the instructions. Edit changes for v1.1 are marked with red color in the READ.ME |
A small explanation 'bout the Images (left -> right)
|
Another very very quick edit:
BB Codes can have a sort order. Usefull for arranging the icons inside the editor |
great mod .... *installed*
|
Good work, thank you :up:
installed |
I forgott a changing in the READ.ME.
This will show the BB Codes (do='modify') in your sortorder. search for: Code:
$bbcodes = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "bbcode"); Code:
$bbcodes = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "bbcode ORDER BY sortorder ASC"); search for: Code:
$bbcodes = $db->query_read_slave("SELECT * FROM " . TABLE_PREFIX . "bbcode ORDER BY bbcodetag, twoparams"); Code:
$bbcodes = $db->query_read_slave("SELECT * FROM " . TABLE_PREFIX . "bbcode WHERE active=1 ORDER BY bbcodetag, twoparams"); |
Thank You so much, it's a great mod! *Installed*
The only thing is, first after install I wanted 16 icons in one row. But then I changed to 18, but it doesn't change any more. Now there are 16 icons in one row and it will not change to 18 or something else.... I don't know which mistake I did. Greetings Karin |
Umm, the function to do an "image wrap" is in the functions_editor.php
PHP Code:
You also can say: PHP Code:
|
1 Attachment(s)
seems to work fine however the seperator option adds a large blank space after the seperator. Other than that wotrks great - just what I needed
Thanks in advance |
Hallo Coroner!
I'm sorry, it doesn't work for me. I tried it with "20"and "18", but the wrap ist after 16 images (my first decision). https://vborg.vbsupport.ru/external/2009/03/43.png Greetings Karin |
@powersilie:
You only have 5 custom BBCodes. The custom BBCodes starts now in the 3rd line (your 1st is the "think" BBCode. For testing set it to 3 and you will see, that it works. 1st and 2nd line are the vBulletin BBCodes. @Raptor: The seperator is a vB images (6x20 px), the editor images should have a dimension of (21x20 px). Take a look at the first vB BBCodes (B, I, U). the Seperator is after underline. you placed a seperator after you fist one (better do it after the third, too). Cheers Coroner |
Hi Coroner!
Silly me! It was a logical error of mine :o Thanks a lot, of course it works! Greetings Karin |
Thanks Coroner, installed and working perfectly
Installed |
Install, very good hack!
Nominated! Thank you. |
great mod, Installed, but now I need bbcode for my forum.
|
Quote:
I also have this problem. I place the separator after the second and the fourth too, but it looks like this pic. greez Karin |
Could you pls post a picture ?
|
Hallo!
It's exactly the same pic like that from "Raptor" in posting nr. 9 -> https://vborg.vbsupport.ru/showpost....47&postcount=9 A separator after each image is not possible. And if I do not place any separator, they are very close. greetings Karin |
Ok, In the line above, find the seperators. I think, when all seperators blocking each other, this looks better
|
I was looking for this :)
It should already be a default option in vb script.. installed and nominated ;) |
I noticed a small discrepancy.
Install instructions say: Quote:
PHP Code:
A few other small discrepancies, but that's the biggest one and it's keeping me from installing right now :( V3.8.2 |
in vB3.8.1 there is only one line starting with:
Code:
twoparams = '" |
Wonderfully mod. Installed and nominated. I was looking for a very long time for this. Just great, and the instructions are so clear that even I, who never tried to edit a php, managed to do it without troubles.
|
Hi , im using version 3.8.4 ,i have edited all files installed product but
1- I cant see any "Optimizing BB Codes" anywhere in admin CP. 2- cant understand these steps under instalion. --------------------------------------------------------------------------------------------------- 3. If you are using more than one Language, follow the next Step 4. Languages & Phrases -> Download / Upload Languages Now choose the Languagefile Add Language (choose Language) -> import ---------------------------------------------------------------------------------------------------- what im importing in language ? and what files in include folder as it mentioned in How to start: # Upack the ZIP/RAR File into a folder on your Harddisc. # Upload all Files of the Folder "upload" incl. all Subfolders onto your Server. # Now, enter your AdminCP. I am all confused , any help ? |
1.) You can't ! See under BB Codes
2. + 3. + 4.) Only if you have a multilanguage Forum. That means, more than one language |
Does exactly what it says on the box, nice one, thank you for the share.
|
Where is the zip file in download there is only xml and read me file where is the zip/rar file
How to start: Upack the ZIP/RAR File into a folder on your Harddisc. Upload all Files of the Folder "upload" incl. all Subfolders onto your Server. Now, enter your AdminCP. |
Sorry,'bout this. It's my standard text :)
Ignore it. |
It is hard to install
|
Very thanks for the mod! :)
|
this work thx...
installed |
1 Attachment(s)
Aqui esta la traduccion del "las instrucciones " de este Add on :
https://vborg.vbsupport.ru/attachmen...1&d=1299448505 Saludos sukubis (: ! |
Rather involved Install, but well worth the time. This really should be standard in vBulletin.
|
Definitely would have liked to see these options in vBulletin by default. Tagging for now, will install after I upgrade to 3.8.7 since I won't have to worry about any more upgrades after that. :) Ever.
|
works on 3.8.2 but not on 3.8.7
|
All times are GMT. The time now is 07:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|