PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Sep 24, 2017 11:26 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat May 30, 2009 1:39 am 
Offline
Forum Contributor
User avatar

Joined: Sun May 24, 2009 5:37 pm
Posts: 355
Location: Chester, UK
Hiya,

I've only been using these forums for a short while and I've already noticed that 90% of new users don't use the code tags correctly - granted that this is because it's been edited from default. A vast majorty of moderators time must be taken up going through new posts and formatting them correctly - I've noticed 'astions' (username) is constantly changing user posts to the PHP format.

Now, as this is a PHP forum, would it not make sense to have the code tags default to PHP? As far as I see it this is a 30 second task, just do:
Syntax: [ Download ] [ Hide ]
str_replace('[ code ]', '[ code=php ]', $post_body_var); // Obviously without the spaces


Just my ten cents worth anyway.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group