Cel PHP in Custom BBCode
This addon allows for PHP-Code to be used in Custom BBCodes It offers a framework for the easy integration and sharing of custom BBCodes that are based on PHP processing of the data entered by the user. It could, for example, be used to develop BBCodes that work with multiple options or to poll database information. It does allow for the Admin to use PHP in the Backend - it does, of course, not allow this to forum visitors. You need to know PHP to use this Addon to develop your own PHP based bbcodes, however it would be possible to share them as an extension to this addon. Installation: - install the product file - done. Using PHP in Custom BBCodes: Create your Custom BBCode as always, and just put your PHP into the Replacement box (where the HTML used to go). Just remember two things:For coders: include instead of eval If you'd rather store the PHP for your new BBCodes in the file system for ease of development, that's possible, too:
No Support for your PHP-Code! ### See the example BBCodes in the second post (Click Spoiler (click to open)
PHP BBCode Examples:
To test them, go to AdminCP->Custom BB Codes->Add new BB Code and fill in the form: --------------------------------------------------------------------
PHP Code:
<?php
PHP Code:
<?php
Close
### Don't forget to click ! ### (No support if you don't) Download
product-cel_php_bbcodes-3.001.zip (1.0 KB, 91 downloads) Screenshots |
Similar Mods
BB Code Enhancements Cel PHP in Custom BBCode | vBulletin 4.x Add-ons |
Miscellaneous Hacks Cel Show Primary Usergroups Only on showgroups.php | vBulletin 3.8 Add-ons |