Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

[ah]Custom Mycode

Create custom mycode in the acp

Version:
Author: harmor
Submitted: 15th October 2005
With this mod you can create custom mycodes that can be used on your forums.

The "Test Area" in the ACP does not work but I'll fix it in a future release.


Here's a testing area I made to test out the functionality of this mod
http://www.axbb.zeeblo.com/mybb/mycode.php
----------------------------------------------------------------------------------------------------------
Note:
I'll give you an example of how to write a custom mycode
---------------------------------------------------------------------------------------------
Tag: iframe
Replacement: <iframe src"$1" width="500" height="300"></iframe>
---------------------------------------------------------------------------------------------

When you type out the tag on your forums use [iframe]http://site.com[/iframe]
That will convert to <iframe src"http://site.com" width="500" height="300"></iframe>
-------------------------------------------------------------------------------------------------------------


Here are some screenshots of the ACP
http://www.axbb.zeeblo.com/mybb/mymods/custom_mycode/

(I removed the equal sign after "src" so it doesn't parse it. the iframe)