View Single Post
  #18  
Old 19th August 2008, 23:27
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default
there really wouldnt be any need for a one click install module system .. your just thinking too posh now .. its a simple case of PHP includes ... rather than having lets say the "x last forum posts" block on the home page .. you would instead have

Code:
if($show_lastposts)
  include("modules/index/lastposts.php");
then you'd have a config file which is editable from the staff panel and in that config file you'd have

Code:
$show_lastposts = true;
no need for some complex module system .. and no need to worry about coding styles .. all the mods that would fit hard coded into a source would drop in such a module system in the same way .. the only problem you;d have it where a mod needs you to change the values of things outside of teh main block of the module or even change the placement of things .. but with a little thought thats easy enough to overcome using IF statements and ternary operators where needed
Reply With Quote