Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Oct 2017, 05:50
ChefBryardee ChefBryardee is offline
 
Join Date: Sep 2017
HTML Table Converted to BBCode

I posted an HTML table in one of my threads and it converted the coding from the standard <td> elements to [TD] elements and it completely disregarded all the <style> coding I made. I enabled HTML coding in the forum, but it still went haywire.

Any ideas?
Reply With Quote
  #2  
Old 15 Oct 2017, 07:59
ChefBryardee ChefBryardee is offline
 
Join Date: Sep 2017
Bump
Reply With Quote
  #3  
Old 19 Oct 2017, 01:48
ChefBryardee ChefBryardee is offline
 
Join Date: Sep 2017
Any help?
Reply With Quote
  #4  
Old 19 Oct 2017, 12:10
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Show us your bbcode for this please.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #5  
Old 20 Oct 2017, 02:45
ChefBryardee ChefBryardee is offline
 
Join Date: Sep 2017
It changes this original coding;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Into this coding, and none of the styling is applying properly in the resulting table:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 20 Oct 2017, 03:40
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
First, I would highly recommend against allowing HTML to be posted, unless you are the only one allowed to post in the forum where you have it allowed.

I would move the CSS to your additional.css template, with the appropriate id/class selectors so that it affects table elements in your posts/post previews only.

I think the way I would go about it would be to create custom BBCodes to construct custom tables.

By the way, I tested your code on my local dev site, and while it was a mess, the HTML was not converted to BBCodes...I have no idea how that's happening unless you have custom code doing that.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 08:42.

Layout Options | Width: Wide Color: