Back to vBulletin 3.5 Add-ons

[Beta] bbcode Table Maker
Mod Version: 0.3, by Souli

This modification is in the archives.
vB Version: 3.5.1 Rating: (3 votes - 5.00 average) Installs: 41
Released: 11 Nov 2005 Last Update: 13 Nov 2005 Downloads: 128
Not Supported Uses Plugins Is in Beta Stage  

This Hack is in BETA Status!

Version: 0.3
I have test it in vb3.5.0 / vb3.5.1 and it works perfectly! :laugh:

Changelog:
*[12.11.2005] Version 0.3
- correct some code to insert the new vbcode tags
- build new bbcode cache
- set new permissions (only Admin, Mods and Supermods can use the popup)

On a german wbb board community http://www.web-dynamic.de i found a little javascript code (Thanks to Snoopy for this nice code) - that can translate the given html code to bbcode - and here is now my vb3.5.x Version.

To see how this hack works: [ http://www.clanforen.de/clanforen/images/eigene_Bilder/demos/bbcodetable.htm ]

Description:
We all can include own vbcodes like [table], [td] or [tr] but it is very hard to create a table because you need a lot of code like the follow:
[table=50%][tr=tcat][td]1[/td][td]2[/td][td]3[/td][/tr][tr=alt2][td]A[/td][td]B[/td][td]C[/td][/tr][tr=alt1][td]F[/td][td]E[/td][td]WE[/td][/tr][tr=alt2][td]2w[/td][td]dd[/td][td]w[/td][/tr][/table]
Permissions:
When a user create a new tablecode and after he had transfered the code to the editor, he can delete some tags and your forum looks very bad after he save the post - i have set the permissons for the Popup so that only Admins, Mods and Supermods can use the PopUp.
=> product-bbcode-table-03.xml (15.2 KB) = only admins & mods can use the PopUp
=> product-bbcode-table-03_no_perm.xml (15.0 KB) = all usergroups can use this Popup

Installation:
After the Product Import you must only upload a small gif file for the Editor (look at the Attachments)
(copy it to ..../YOURFORUM/images/bbcode_table.gif)

Known BUGS:
The transfer from the popup to the WYSIWYG Editor doesn´t work at this time - i have try to find the correct code but i have no more time now . So when you have any ideas please help me to fix it.

Here is the old code from vb3.0.x :
HTML Code:
var bname = navigator.appName;
 if (bname == "Microsoft Internet Explorer")
 {
 var newins = opener.document.frames["htmlwindow"].innerHTML + insert;
 opener.document.frames["htmlwindow"].innerHTML = newins;
 opener.document.frames["htmlwindow"].focus();
 self.close();
 }
 else
 {
 var newins = opener.htmlbox.body.innerHTML + insert;
 opener.htmlbox.body.innerHTML = newins;
 opener.htmlbox.body.focus();
 self.close();
 }
I hope somebody can change it to run in the vb3.5.1 WYSIWYG Editor :ermm:

I will try to give my best support to you ... :nervous:

Don´t forget to click

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • Souli

Screenshots


vblts.ru supports vBulletin®, 2022-2025