The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[Beta] bbcode Table Maker Details »» | ||||||||||||||||||||||||||
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 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: [ Flash DEMO ] 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: Quote:
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 will try to give my best support to you ... :nervous: Don?t forget to click Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
|||
|
|||
Awesome works great now
|
#23
|
||||
|
||||
How to change the permissions so registered members can use this also?
|
#24
|
|||
|
|||
You can delete the follow code in the plugin "bbcode_table_code":
PHP Code:
|
#25
|
|||
|
|||
Hello ,
Sir , I was try to create more than 15 row but there is no , i mean we can't creat more than 15 row , please let me know if i need to creat more than 20 row how can i do that , Regards |
#26
|
|||
|
|||
Quote:
|
#27
|
|||
|
|||
It is a litte security code - so nobody can include 10.000 rows or something else
but you can change it: - Open your AdminCp - Plugin Manager - Search in the List of Plugin the Plugin = "bbcode_table_code" - Edit "bbcode_table_code" - Open the big texteditor - Go to Line 13 and 15 Line 13: PHP Code:
PHP Code:
- Save the Plugin For later version i will set this lines and splits to 25. |
#28
|
||||
|
||||
Is there any way to get this to be able to merge cells, ignore the <cr> and not need to be one continuous string to work?
It's a fine table hack don't get me wong, but it works more like a formatted list than an actual table at the moment and it's seriously limiting with the use of the tables it can make. I'm not having a go, please don't think I am. https://vborg.vbsupport.ru/showthread.php?t=72741 Is there no way someone could port that one over to 3.5 as well, giving us more options? That one allows you to have borders, cell spacing, merged cells, etc. I've tried to get it working in 3.5.x but can't I aint good enough. |
#29
|
|||
|
|||
I will include some more functions in later versions
|
#30
|
|||
|
|||
hmm no attachment for the image
|
#31
|
|||
|
|||
nm im retarded..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|