Text

Visits In Last 24 Hours

 
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: Fri Aug 04, 2006 12:42 pm    Post subject: Visits In Last 24 Hours 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 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

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