1

Topic: Last Visitor Call and Fix to Download

First off, a big thank you to Ramil (radioact) for his help and fix.  It would of not happen without his help. Thanks Ramil.  This is for 2.5.3.

Just in case vlad does not get around to updating the file right away you can download the fix at: http://www.filipina-lady.net/test253/fix.zip

The fix is to ext.members.php. After downloading, uzip the file and upload ext.members.php to the includes/ext/ folder.

Now you can properly use the Last Visitor call in 2.5.3 and display only the group you want being displayed. I'm always logging in to my site, so I don' want my image (admin ID=1) to be constantly displaying in latest visitor call. Instead, I only want regular members to display - ID=2 (check your CP for group IDs).

To use, place the following call in a template. I like to put it in the header.tpl so it displays on the side.

{members:limit=4,photos=1,orderby="lastvisit",groups=2,cache_time=0,cache_name="sidelarge"}

In the above call, you can change 4 to how many you want to display. For the groups=2 it is using the group ID of the group. In my case, 2 = regular members.

Easy enough to find the ID of a group. Just look in your CP - Settings - Member Groups - look at the ID column for the group number.

http://www.filipina-lady.net/test253/fix02.jpg

Last edited by db3204 (2009-05-24 12:47:04)