Are there any open source scripting engines that allow you to give your users the ability to perform light scripting on pages via a web based interface?
(some objects/collections would be pre-populated, and have security in place so users can't hack into the web application's inner workings etc.)
Examples:
http://wiki.shopify.com/UsingLiquid
Also I think vBulletin has some custom scripting engine and tags where you can do things like:
<if: user.isloggedin>
</if>