PlugIn for running PHP-code
Posted by marc_jentsch
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
bbcode_php.zip | 3.2 KB | open | download | marc_jentsch | 01/12/2011 | Read message |
bbcode_php_1.1.1.zip | 3.1 KB | open | download | marc_jentsch | 01/12/2011 | Read message |
PlugIn for running PHP-code January 12, 2011 09:57AM |
Registered: 8 years ago Posts: 5 |
Hello,
I'm new here ...
i wrote a module for running PHP-code inside of a post. I use PHORUM like a CMS and find it useful to be more "flexible" in my posts. The plugin allows administrators and users of a special group (defined in the module-settings) to run PHP-code in their posts.
Usage / Example:
Attention:
It might be useful to switch off the auto-url/email-completetion of the bbCode-module. It can crash the php-code.
have fun
Marc :)
I'm new here ...

i wrote a module for running PHP-code inside of a post. I use PHORUM like a CMS and find it useful to be more "flexible" in my posts. The plugin allows administrators and users of a special group (defined in the module-settings) to run PHP-code in their posts.
Usage / Example:
[php]<?php echo time(); ?>[/php]
Attention:
It might be useful to switch off the auto-url/email-completetion of the bbCode-module. It can crash the php-code.
have fun
Marc :)
January 12, 2011 10:41AM |
Admin Registered: 16 years ago Posts: 9,239 |
This is a module in my opinion and therefore should be posted in the modules forum in the format defined there.
Also it seems like you allow/disallow to *see* parsed php code depending on the user looking at a post, not depending on the posting user.
Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Also it seems like you allow/disallow to *see* parsed php code depending on the user looking at a post, not depending on the posting user.
Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de


Re: PlugIn for running PHP-code January 12, 2011 11:29AM |
Registered: 8 years ago Posts: 5 |
Sorry, only registered users may post in this forum.