PHP Developers Network

Default Code Rendering
Page 1 of 1

Author:  Benjamin [ Mon Feb 09, 2009 12:08 am ]
Post subject:  Default Code Rendering

Can we please change the default code rendering from text to php? I mean... this being a PHP forum and all, it just makes sense and I can't imagine that this is a hard mod. Users just don't know they need to add =php in the [code ] tag. It's a lot easier to read the code and answer questions when the code is highlighted.

Has anyone looked into this? Do we need a volunteer?

Author:  John Cartwright [ Mon Feb 09, 2009 11:18 pm ]
Post subject:  Re: Default Code Rendering

We try to keep our forum software vanilla to allow for painless upgrades (since we want to keep our forums up to date). We have learned from past experience modd'ing the forums just isn't practical under our circumstances.

Although I do agree. Such a change would not take much effort and will probably present more properly formatted posts. However, I believe we had a discussion about adding a php button, but wasn't implemented for the above mentioned reason.

Author:  socket1 [ Sun Mar 15, 2009 9:57 am ]
Post subject:  Re: Default Code Rendering

Could a plugin be written to detect if <?php ?> tags are in a post and append and prepend the tags ?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group