PDA

View Full Version : How do I install the Top 10 Posters mod?


pillow
07-03-2006, 10:38 PM
I am new at the whole cmps...
I recently downloaded the "Top 10 Posters" mod, and the readme says to create 2 new templates:

Top 10 Posters Module

This module was originally created by Adico for vBA CMPS 1.x on 3.0.x, I am just porting it to CMPS 2.x on vBulletin 3.5.x. Full credit goes to Acido for creation of this module, and the original can be found here: http://www.vbadvanced.com/forum/showthread.php?t=889

Installation Instructions:
1] Upload the topten.php file to your /forums/modules/ folder.
2] Create two new templates, adv_portal_topposters and top_posters and fill them in with the template information listed below.
3] Create a new PHP type CMPS module in your AdminCP, which includes the topten.php file and adv_portal_topposters templates.
4] You're done!

Templates:

=======================adv_portal_topposters=======================
$top_stats[top_posters]


============================top_posters============================
<tr class="alt1">
<td><span class="smallfont"><a href="/forums/member.php?u=$top_poster[userid]">$top_poster[username]</a></span></td>
<td><span class="smallfont">[$top_poster[posts]]</span></td>
</tr>
So could someone create a clearer step by step guide on doing everything it says here? that would help alot. Thanks!

pillow
07-04-2006, 02:52 PM
can anyone help???
:(
it's still not working!

Our Sponsors
 

Bree
08-03-2006, 12:36 AM
Wish I could help you AND myself... I'm stuck on step 2...

where, how do you create the templates? I don't get it =0(

Bree
08-03-2006, 02:09 AM
Ok, I finally figured it out... Gonna try to walk you through this - don't know how well I will do with that =0) But here goes...

1.) the topten.php needs to be uploaded to your server... I don't know how to explain that any differently than they did... Inside your Forum folder on your server should be a folder titled "modules".. FTP the topten.php there.

2.) Then sign into your Admin Control Panel (on your forum).. Under "Styles & Templates" Click on "Style Manager"... There is a scroll box to the right of each of the styles you have installed... Choose the style that you use for your CMPS (If you use more than one, you may have to do this for each one, I really don't know). Title = The Template name... And then in the big box "TEMPLATE" you copy and paste what they told you to...

3.) Still in your Admin Control Panel... Click on "Add Module" under vBa CMPS then choose "PHP File" from the list.... Give your module a name (Module Title)... File 2 include.. choose the "topten.php" from the drop down menu... in the Templates Used field add in there "adv_portal_topposters" and "top_posters".. I put them on seperate lines... I left everything else the same and then saved =0)

Works fine for me now hehe Thankgoodness hehe
Hope that help. Always - Bree