This is fantastic!!! May I ask a few little questions?
1) Can I include vb code in the html file and will it be parsed? For example, can I set the parameters of a table to: cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" and so on?
Another example, can I include a signature using:
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
I think you get the picture.
2) Specifically I would like to use css styles that match my vb style. Is it simply a question of linking the html file to the vb stylesheet?
3) Can you add a little variable that allows specific users as well usergroups to integrate files?
If the parsing does not work at this time, please may I request you add it to the next version? To be able to utilize all the benefits of html, combined with vb functionality and style settings will be superlative.
-------------------------------------------------
One last thing...would it be possible to create a version of this hack which allows you to integrate html into a specific post? The use of html in the message editor is very limited. For example, using tables and div or span tags throws the layout way off (I guess this is because the message editor recognizes a hard return as a line break). To have specific users and/or usergroups (overriding the forum html posting defaults) able to include a separate html file (with full vb parsing enabled) would make you the KING in my opinion. It would be one of the most useful additions I can think of. If you can do this, may I ask you bear in mind the thread previews, which show non-parsed html when you mouseover them? Perhaps in the message editor, you can include a bbcode that wraps around text, which is just for the thread preview and is automatically hidden in the post. Perhaps another bbcode links to the html file and is automatically hidden from the thread preview? I know thousands of vb users would worship the ground you walk on for this!
Thanks again for all your amazing work,
Rob.
|