phpBB Mod View Previous and Next PM has been accepted in the MOD-DB.
Archive for November, 2006
I submitted the phpBB Mod Deny Posting Text and BBcode Until x Posts v1.0.0 to the MOD-DB and it has been denied for a number of reasons.
One of the reasons was I was using preg_replace when it would be better to just be using sprintf.
$patterns = '/%s/'; $patterns = '/%i/'; $replacements = $deny_text[$x]; $replacements = $board_config['deny_post_restrict']; $deny_text_error = preg_replace($patterns, $replacements, $lang['Deny_text_bbcode_error_text']);
Another reason was I included text which already existing in the phpBB 2 default.
$lang['Deny_text_bbcode_delete_text'] = 'Delete'; $lang['Deny_text_bbcode_information_text'] = 'Information';
Also because I used < BR /> instead of < br / > in:
$output_message .= $lang['Deny_text_bbcode_restriction_text'] . " " . $lang['Deny_text_bbcode_error_more_than_zero'] . " ";
And because I used htmlspecialchars() instead of intval():
$id = htmlspecialchars($id);
Another reason is some characters weren’t been entering into the database properly.
Finally the last reason is that not all BBcode use the $bbcode_uid.
I’m happy to say that all these problems are now fixed and I’ve submittted v1.0.1 to the MOD-DB.
I haven’t blogged for a while mostly because I’ve purchased a second hand Canon 300D last week and have been viewing/reading lots of photography materials. Materials include e-books, lots of websites, reviews, a video on photography and a videoblog of a photographer doing some photowalking.
There is just so much information about photography to learn and to take the time out to experiment trying out the techniques for yourself.
I’m heading of overseas for 2 months which is mainly why I’ve bought the 300D and am trying to get all the information I can about photography before I leave so I’m able to get some decent shots. For those two months I probably won’t be able to do any more blogging.
There are lots of accessories to be bought for the camera and so far I’ve got a camera bag (came with the camera), 2 GB CF card, 2 additional batteries and am waiting for my Digimate II 40GB portable storage device which for vacations is a must. Too bad I’ve only got the kits lens but nevertheless, I should still be able to get reasonable pictures.
Since I’ll be leaving shortly I’ve set michaelwest from Westscript as the Forum Moderator, so he can keep my forum clean of spam and be able to fill in for me while I’m away.
Just one more week to wait until I’m off…