Text

Top Poster

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Portal Hacks
View previous topic :: View next topic  
Author Message
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866
Location: Hampshire Add Karma

PostPosted: Mon Jun 19, 2006 8:11 pm    Post subject: Top Poster Reply with quote

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
You will now see a screen that looks like this




If you do not already see a portal named TOPPOSTER then (if you do then goto Step 6)

1.Click on the Blank box icon that looks like this

Now you see a screen like this





2.Add TOPPOSTER to the name

3.And then what you want in the Title.

4. Click Create New Portal

5. Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find

cms_topposter.tpl

Now copy this code into that file

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_topposters_title -->     
   <tr>
        <th colspan="2"  class="thTop" nowrap="nowrap">{TOPPOSTERS_TITLE}</th>
     </tr>
<!--END switch_topposters_title -->          
  <!-- BEGIN topposters -->
  <tr>
   <td class="row2"><span class="topictitle"><a href="{topposters.U_PROFILE}" class="topictitle">{topposters.NAME}</a></span></td>
   <td class="row2"><span class="topictitle">{topposters.POSTS}</a></span></td>
  </tr>
  <!-- END topposters -->
</table>


6.You Can Change The bit below in bold in admin panel --- 3. Styles --- Portal Settings --- TOPPOSTER

[TOPPOSTERS]
count=5


count="5" is the part you change to show how many you want


Or

[/b] In your template where you added {MYFF.TOPPOSTERS} just change It to {MYFF.TOPPOSTERS count="5"}


Now you have done that you have to add

Code:
{MYFF.TOPPOSTER}


Into cms_index_body.tpl or where ever you wish it to appear

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Portal Hacks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 

Create your own free forum | Buy a domain to use with your forum