Version: 0.3, by Souli
Developer Last Online: Dec 2008
Version: 3.5.1
Rating:
Released: 11-10-2005
Last Update: 11-11-2005
Installs: 41
Uses Plugins
Is in Beta Stage
No support by the author.
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.
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:
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:
Nice, installed
and have some questions\sugestions
Quote:
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)
Maybe the "rigth" pass for copy this button : ./images/editor/bbcode_table.gif
and second...... is there any way to add colspan option? Maybe not in popup, but manualy with bbcode editing.
I was going to install this, but there is a problem with this and my site. lol
I am an admin. (I own my sites) I am running 3.5.2 so this may be the reason btw. I imported the product, uploaded the gif and then gave it a whirl. No matter what forum I am in, I get this error:
"Sorry! This forum is not accepting new posts."
Considering i set up every forum, I know this is not a true statement. lol If this gets corrected, I may find it useful.
Parse error: parse error, unexpected T_STRING in /home/otiluke/public_html/forums/includes/functions_editor.php(349) : eval()'d code on line 2
[s]That's what I got after ramming it up on the product manager. All I did to edit the code was remove the permission for moderators to use it and change the image to point to somewhere outside of the forumserver.
Any ideas?[/s]
Forget that, I missed a \ infront of a " somewhere.