Akex
08-26-2004, 10:00 PM
Beta 2 News :
- Not necessary to use { } anymore. If you want to use them, then you must insert them in the tag definition
- Options added. Defined in the code replacement with {*number} and then replaced in post when viewing it. See the description and teh screenshots for more details.
- Html preview of the rcode when processign post preview
- Keep in mind that if you want to put an url as parameter you MUST untick the parse url option when writting the post.
--------------------------------------------------------------------------
Description :
-------------
This hack allows you to insert somes tags in post which will be then replaced by html output.
How to use it
-------------
- Fill the tag field when adding a new tag. e.g. {test} or test or whatever else.
- Add some options in the code replacement. Options are definied by this way : {*number} e.g. {*1} {*2} ...
- The first option must be {*1} aso ... if the first option is not {*1} then the script will correct it and
order all the other options.
- When writting a post you can insert a rcode tag : if you defined a {htaccess} tag, then put
{htaccess}(options seperated by ,), if it's htaccess (without { } ) then put htaccess(options separated by ,).
Well I will give an exemple :
title : table
tag : table
replacement : <table><tr><td>{*1}</td><td>{*2}</td></tr></table>
In the post I will put : table(option1, option2)
then when viewing the thread this code will be replaced by this : <table><tr><td>option1</td><td>option2</td></tr></table> directly parsed when viewing so no html code will be visible.
Note that you can use in your html replacement code, css classes from your board (alt1, alt2, tcat ... )
Then you can imagine, it will be easy to insert in post some forms, html outputs ...
Well, see the screenshots for more details :)
Copyright
This script was built by Akex
This hack is NOT to be re-distributed in any way or placed on a website for download without permission.
All copyright notes in the script files must remain unchanged.
NB : for beta purposes, instructions are in a text files, I will do an automatic installation script for next time.
Instructions
Query : 1
Phrases : 13
Files to modify : 4
Files to add : 1
Beta 2 today :)
- Not necessary to use { } anymore. If you want to use them, then you must insert them in the tag definition
- Options added. Defined in the code replacement with {*number} and then replaced in post when viewing it. See the description and teh screenshots for more details.
- Html preview of the rcode when processign post preview
- Keep in mind that if you want to put an url as parameter you MUST untick the parse url option when writting the post.
--------------------------------------------------------------------------
Description :
-------------
This hack allows you to insert somes tags in post which will be then replaced by html output.
How to use it
-------------
- Fill the tag field when adding a new tag. e.g. {test} or test or whatever else.
- Add some options in the code replacement. Options are definied by this way : {*number} e.g. {*1} {*2} ...
- The first option must be {*1} aso ... if the first option is not {*1} then the script will correct it and
order all the other options.
- When writting a post you can insert a rcode tag : if you defined a {htaccess} tag, then put
{htaccess}(options seperated by ,), if it's htaccess (without { } ) then put htaccess(options separated by ,).
Well I will give an exemple :
title : table
tag : table
replacement : <table><tr><td>{*1}</td><td>{*2}</td></tr></table>
In the post I will put : table(option1, option2)
then when viewing the thread this code will be replaced by this : <table><tr><td>option1</td><td>option2</td></tr></table> directly parsed when viewing so no html code will be visible.
Note that you can use in your html replacement code, css classes from your board (alt1, alt2, tcat ... )
Then you can imagine, it will be easy to insert in post some forms, html outputs ...
Well, see the screenshots for more details :)
Copyright
This script was built by Akex
This hack is NOT to be re-distributed in any way or placed on a website for download without permission.
All copyright notes in the script files must remain unchanged.
NB : for beta purposes, instructions are in a text files, I will do an automatic installation script for next time.
Instructions
Query : 1
Phrases : 13
Files to modify : 4
Files to add : 1
Beta 2 today :)