MOD: New Review Info Locations

Various mods to change or add features.

MOD: New Review Info Locations

Postby psyblast » 2004-07-28 03:56 pm

what this mod does is changes the <#reviews> tag in the stats.html page to allow you to be able to post the Date, ID, and Review wherever you would like them to go.

First things first find this code in sources/stats.php



Code: Select all
  $TMPL['reviews'] .= "<b>".$review_id." - ".$review_date."</b><br />\n".$review."<br /><br />\n";
}


replace it with this code

Code: Select all
  $TMPL['review_date'] .= "$review_date";
  $TMPL['review_id'] .= "$review_id";
  $TMPL['review'] .= "$review";
}


this mod really has no use if your using the default template cause it looks fine, but with a modded topsite like mine this was a must have :)

now in stats.html place <#review_date>, <#review_id>, and <#review> where you want them to go.

P.S. this is moded on my 4.1.1 topsite, so if this doesnt work on your newer version, I'm sure Jeremy will be glad to give you the help you need.


******UPDATE******
There is a little problem with this for now, so please dont use it till its fixed.
psyblast
Advanced Member
 
Posts: 64
Joined: 2004-02-23 12:16 am

Return to Mods

Who is online

Users browsing this forum: No registered users and 2 guests

cron