Archive for howtodoit.myfastforum.org Walkthough guides for myfreeforum phpbb 2 forums
 


       howtodoit.myfastforum.org Forum Index -> Portal Hacks
Symon

Visits In Last 24 Hours

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 VISITS then (if you do then goto Step 5)

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

Now you see a screen like this





2.Add VISITS 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_visits.tpl

Now replace all the text in there with this code (That means delete all the text not the file and just copy and paste the code below).

Code:
<span class="genmsall">
<!--BEGIN switch_visits_title -->     
   <b>{VISITS_TOTAL}</b>&nbsp;{VISITS_TITLE}:
<!--END switch_visits_title -->           
  <!-- BEGIN visits -->
 
   <a href="{visits.U_PROFILE}" class="gensmall">{visits.NAME}</a>&nbsp;
  <!-- END visits -->
</span>


Now click submit, which will take you back to the main editing screen.

Now look at the top in the area marked Choose Forum template/javascript/css File to Edit use the drop down bar and find the correct .tpl file you need, by following the guide below.



6.OK now if you wish it to look like it does on Support Forum then you must put this code in index_body.tpl

Code:
<br/>{MYFF.VISITS}


After

Code:
{LOGGED_IN_USER_LIST}


So it could look like this

Code:
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ <strong>{L_WHOSONLINE_ADMIN}</strong>
] &nbsp; [ <strong>{L_WHOSONLINE_MOD}</strong> ]<br />
{RECORD_USERS}<br /> 
{LOGGED_IN_USER_LIST}<br/>{MYFF.VISITS}</span></td>
</tr>
 


OK now if you wish it to look like it does on theghosthousegang then you must put this code in index_body.tpl

Code:
{MYFF.VISITS}


After

Code:
{L_ONLINE_EXPLAIN}


So it could look like this

Code:
<strong>{L_WHOSONLINE_ADMIN}</strong>
] &nbsp; [ <strong>{L_WHOSONLINE_MOD}</strong> ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST} </span></td>
</tr>
<tr>
 <td height="20" class="row1"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
{MYFF.VISITS}
<!-- BEGIN switch_user_logged_out -->


And thats HOWTODOIT

       howtodoit.myfastforum.org Forum Index -> Portal Hacks
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum