This mod works with phpFoX versions 1.09 and 1.1.
Installation instructions for phpFoX version 1.0.9
Step 1
Run the
SQL in
database.mysql (included in the mod package) on your phpFoX database.
Step 2
Step 3
You now need to upload
top_rated.tpl into the
/inc/template/new/ folder of your phpFoX installation. If you have clean URLs enabled (i.e.
http://yoursite.com/username) then use the
top_rated.tpl in the included
/for_clean_urls/ folder. If you do not have clean URLs enabled, use the file in
/for_messy_urls/1.09/.
Step 4
Next, open up
profile_index.tpl (still in the
/inc/template/new/ folder), scroll down to where you see the following code for the first time and insert the contents of
rate_me.easymods.co.uk.v0.1.php just below.
<!-- member_in_START --!>
<br />
Step 5
Add a menu link to the table of rated users in your
main_header.tpl file in the
/inc/template/new/ folder of your phpFoX installation using the following code:
<!-- member_in_START --!>
<td class="menu" onclick="javascript:window.location.href='toprated.php';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
<a href="{%HOME%}/toprated.php" title="See a table of the top rated users">TOP RATED</a>
</td>
<!-- member_in_END --!>
Tip: a good place to put it is just below where you see the following code for the first time:
<!-- SECTION_BROWSE_END --!>
Installation instructions for phpFoX version 1.1
Step 1
Run the
SQL in the
database.mysql on your phpFoX database.
Step 2
Step 3
You now need to upload
top_rated.tpl into the
/inc/template/new/ folder of your phpFoX installation. If you have clean URLs enabled (i.e.
http://yoursite.com/username) then use the
top_rated.tpl in the included
/for_clean_urls/ folder. If you do not have clean URLs enabled, use the file in
/for_messy_urls/1.1/.
Step 4
Open up
profile_index.php (still in the
/inc/template/new/ folder) and scroll down to where the following code is displayed. Insert a <br /> below, then insert the contents of
rate_me.easymods.co.uk.v0.1.php below that.
<!-- DISPLAY_POINTS_END --!>
</td>
</tr>
</table>
Step 5
Add a menu link to the table of rated users in your
main_header.tpl file in the
/inc/template/new/ folder of your phpFoX installation using the following code:
<td class="menu" onclick="javascript:window.location.href='toprated.php';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
<a href="{%HOME%}/toprated.php" title="See a table of the top rated users">TOP RATED</a>
</td>
Tip: a good place to put it is just below where you see the following code for the first time:
<!-- SECTION_BROWSE_END --!>