a few suggestions 1) Category names. A way to put category names on each post. 2) News archive. A page that has all the news every posted in order of newest to oldest. 3) Selective caching. Disable caching of certain areas only. 4) Fix include(). I can't use include properly, even using the methods mentioned here. It includes the text <?php include("blah");?> on the page, it's not parsed. Maybe an internal include command would work better? 5) Universal disable comments and/or anonymous comments. I believe in free speech, i dont care what my visitors post. Let it be free, i say! 6) Link pages. Links on seperate categorized pages. That's all I can think of for now. Nice program, Phillip.
a few suggestions Hello Greg, thanks for your suggestions This is already supported on the main index page. Just add $insert[story_category] to the news template. There is already a news archive. I think you mean an option to display the entire news archive on one page? Added to my do list The main problem here is the caching system. However, I can take a look at your script. Feel free to send it to me. Added to the do list This is already planned for one of the next releases. Additional date options are already planned. However, this could be also done with the templates. Add the following line to the news and story template after global $insert; Code: $insert[story_time] = preg_replace("/(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/i","\$2 \$3, \$1 \$4:\$5",$insert[story_time]);
a few suggestions Hi again, the code you gave me doesn't change the date to MM-DD-YYYY, it's still YYYY-MM-DD. Any ideas?
a few suggestions Hmm.. it seems like that vB's PHP code tag break the regex with some white characters Here the code again: $insert[story_time] = preg_replace("/(\d+)-(\d+)-(\d+) (\d+)\d+)\d+)/i","\$2 \$3, \$1 \$4:\$5", $insert[story_time]); This will change the date format to MM DD, YY HH:MM To change it to MM-DD-YYYY HH:MM: $insert[story_time] = preg_replace("/(\d+)-(\d+)-(\d+) (\d+)\d+)\d+)/i","\$2-\$3-\$1 \$4:\$5", $insert[story_time]);
a few suggestions Found a better way for the date format $insert[story_time] = date("m-d-Y h:iA",strtotime($insert[story_time])); for MM-DD-YYYY HH:MM AM/PM