PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu May 24, 2018 8:47 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Default Code Rendering
PostPosted: Mon Feb 09, 2009 12:08 am 
Offline
Site Administrator
User avatar

Joined: Sun May 19, 2002 10:24 pm
Posts: 6887
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?

_________________
Image


Top
 Profile  
 
PostPosted: Mon Feb 09, 2009 11:18 pm 
Offline
Site Admin
User avatar

Joined: Tue Dec 23, 2003 3:10 am
Posts: 11470
Location: Toronto
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.


Top
 Profile  
 
PostPosted: Sun Mar 15, 2009 9:57 am 
Offline
Forum Commoner

Joined: Mon Dec 08, 2008 8:40 pm
Posts: 82
Location: Shokan, New York
Could a plugin be written to detect if <?php ?> tags are in a post and append and prepend the tags ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group