Archive for Walkthough guides for myfreeforum phpbb 2 forums
  Forum Index -> Portal Hacks

Popular Topics

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 POPULAR 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 POPULAR 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


Now copy this code into that file

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_popular_title -->     
        <th colspan="1"  class="thTop" nowrap="nowrap">{POPULAR_TITLE}</th>
<!--END switch_popular_title -->          
  <!-- BEGIN popular -->
   <td class="row1"><span class="topictitle"><a href="{popular.U_TITLE}" class="topictitle">{popular.TITLE}</a></span></td>
  <!-- END popular -->

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

Please note [POPULAR] is case sensitive


Count = how many to display
Topics = how many recent topics to check

Please remember to keep the amount of topics down to a sensible number this would mean that ongoing "word association" threads that have been running since the beginning of the forum will not show up, neither will other threads that were popular in the dim distant past.

Now you have done that you have to add


Into cms_index_body.tpl or where ever you wish it to appear Forum Index -> Portal Hacks
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum