Archive for portalogy.myfastforum.org For all your portal needs
 



       portalogy.myfastforum.org Forum Index -> Forum Portals Currently Available
admin(Nick_NR)

Recent Visitors

*UPDATED*
In keeping with the new portal system that is now in place.


First you need to enter your admin panel, open up number 3, and click portal settings.

figure1.


Now from that list click visits, You will now be able to enter the components parameters.

The parameters breakdown:
count=100 => How many items to show.
Minutes=1440 => Number of minutes to show over.
Date Format=j M H:i => php style date format.

Code:
{MYFF.VISITS}

It shows recently online members.

In this state it will show as a portal that can appear on the side of a forum, if you wish it to appear in a line below the registered users in the who is online section of the index page as shown on this very forums index page then follow the instructions below.

in cms_visits.tpl replace all that is currently there with:

Code:

<span class="gensmall">
<!--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>



The in index_body.tpl I added :

Code:

<br />{MYFF.VISITS}


This was added after the {LOGGED_IN_USER_LIST} macro, to give something that looks similar to this:
Code:
<td class="tabletop" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span><br />
      {MYFF.VISITS}</td>
  </tr>
bazfalty

Hi, thanks for pointing me in the direction of this forum. I've just upgraded to phpbb3 but i's not used portals on my phpbb2 site but would like to install this feature, I've put in the above as an editor and cleared the cach but I still can not get it to work.

Any help would be gratefull thanks.

       portalogy.myfastforum.org Forum Index -> Forum Portals Currently Available
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum
If you feel that PORTALOGY has been helpful and would like to say thank you then please click the donation button below.