News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

More HTML Tags

Started by Sheepy, June 24, 2005, 12:29:14 PM

Previous topic - Next topic

Sheepy

Link to Mod

This mod expands the simple html tags allowed in posts to include headings, more styles, lists, etc.
Table, span, and div are not added since they may disturb the theme.

If simple HTML tags are not allowed, this mod has no effect.  It just adds onto the list of tags.

Works with or without Faster Parsecode, but this mod should be installed after Faster Parsecode.

Tested on SMF 1.0.4

dtm.exe

Nice mod; good thinking :).

-Dan The Man

Pause

There's already a table tag anyway - not in HTML but BBCode, so that's nothing to worry about  ;)
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

[Unknown]

Why is this locked?

-[Unknown]

dtm.exe

Quote from: [Unknown] on June 29, 2005, 01:18:24 PM
Why is this locked?

-[Unknown]

No clue...weird...

-Dan The Man

Owdy

Quote from: [Unknown] on June 29, 2005, 01:18:24 PM
Why is this locked?

-[Unknown]
SMF comes with powerfull moderation log you know. ;D
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

[Unknown]

That doesn't tell me *why*.  I've unlocked it for the time being.

-[Unknown]

Sheepy

I updated the mod so it now works with 1.1 Beta 3 Public.  (Some new simple tags are added in 1.1)
I submitted it to the mod list, but I'm not certain that's the correct way.
The latest version is at http://www.anetcity.com/bbs/index.php?topic=743.0

Thanks for the encouragement.  I created this mod because I wanted to copy some web page, and realise that many simple tags are not supported... thus born this mod. ^_^

Owdy

Quote from: [Unknown] on June 29, 2005, 05:07:50 PM
That doesn't tell me *why*.  I've unlocked it for the time being.

-[Unknown]
But you can ask that directly from that person :D
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

MTO

I need table html code...
I know the users can break the page layout, but I need to allow this.

I added: 'table', 'tr', 'td', 'span', 'div'
to the script, but it doesnt work well.

When a tag has variables such as border="0" it breaks.

Can anyone help? Thanks.

Pause

Quote from: MTO on December 01, 2005, 07:01:39 PM
I need table html code...
I know the users can break the page layout, but I need to allow this.

I added: 'table', 'tr', 'td', 'span', 'div'
to the script, but it doesnt work well.

When a tag has variables such as border="0" it breaks.

Can anyone help? Thanks.
The 'table', 'tr' and 'td' tags are already available in SMF, and you do not need to add them using this mod (that's how the Team Members have such tidy signatures ;))
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

MTO

Yeah... but not exactly.

It's a table code [ table ] instead of <table> (html code).
I need posts with contents like this one to work:
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
  <caption>
  Table example
  </caption>
  <tr>
    <td bgcolor="#FFFFCC">cell 1</td>
    <td bgcolor="#FFFF99">cell 2 </td>
  </tr>
  <tr>
    <td bgcolor="#FFFF66">cell 3 </td>
    <td bgcolor="#FFFF33">cell 4 </td>
  </tr>
</table>


It doesnt, not even enabling html, with this mod installed, and including the 'table', 'tr', 'td', 'span', 'div' to the list in the mod.

Sheepy

#12
SMF does not come with a comprehensive HTML parser, since it is designed to handle BBC, not HTML.  Thus it is limited in its ability to deal with tags with properties.  Sadly this mod merly expands the list of tags it recognise.   I would advice you clean up the HTML before pasting with regular expression (Word or any programmer's editor), or use the [ html ]  tag in SMF 1.1.

ltdeta

Donwload-Link not work  :o

Sheepy

No problem here... Try again?

shadow82x

I updated this to version 1.1.3 rather than people using version emulate.

Please note: I have not tested it so please give feedback.


Colin B
Former Spammer, Customize, & Support Team Member

zushiba

I get an error when trying to install the newest version for 1.1.3 in the above post.

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

   Type     Action     Description
1.    Execute Modification    ./Sources/Subs.php    Test failed

TrueSatan

Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file in question and that you thus need to do a manual installation of this mod. Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Mirrored on http://www.smfhacks.com/smf-package-parser.html

falguni1

I want to use this mod and it says

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

please help

zepfms

Quote from: falguni1 on December 05, 2007, 01:32:12 PM
I want to use this mod and it says

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

please help

This mod is outdated,

BTW is there any change to see it working for the latest version of smf?

Advertisement: