Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
[Beta] bbcode Table Maker Details »»
[Beta] bbcode Table Maker
Version: 0.3, by Souli Souli is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

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.

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:
[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

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 11-28-2005, 09:26 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice job.. how'd I miss this?

/me installs
Reply With Quote
  #33  
Old 12-18-2005, 05:51 PM
yessir's Avatar
yessir yessir is offline
 
Join Date: Jul 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for someone should help develop this great hack.
Reply With Quote
  #34  
Old 12-18-2005, 06:47 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fine work!

Thanks and...... installed
Reply With Quote
  #35  
Old 12-20-2005, 06:50 AM
D.Ilyin D.Ilyin is offline
 
Join Date: Oct 2005
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 01-05-2006, 06:33 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

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.
Reply With Quote
  #37  
Old 01-05-2006, 09:09 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is an awesome hack!
Reply With Quote
  #38  
Old 01-06-2006, 07:20 PM
kadafi_alive kadafi_alive is offline
 
Join Date: Dec 2004
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tried making it work with wysiwyg editor?
Reply With Quote
  #39  
Old 01-15-2006, 01:17 AM
Blind Guardian's Avatar
Blind Guardian Blind Guardian is offline
 
Join Date: Mar 2004
Location: South Carolina
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #40  
Old 01-19-2006, 09:41 AM
AshokForums.com AshokForums.com is offline
 
Join Date: Nov 2005
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please improve and develop this hack.. Merging cells is veyr important for me.. Someone please do it..
Reply With Quote
  #41  
Old 08-17-2006, 02:15 PM
yessir's Avatar
yessir yessir is offline
 
Join Date: Jul 2005
Location: Canada
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for 3.6 and further development please!
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 06:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08378 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
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_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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