Ramil, the wizard, helped me with some coding and I thought I would share it with you here on vldCrows as well.
When a member is logged in they will see a cluster of thumbnails of people who recently logged in to the site. I think that many members would be perhaps more curious to know who actually visited their profile. There's a link in the profile menu but having a quick glance visual is always nice, too. Here is what I wrote: If someone is logged in the sidebar will show the last visitors to their profile. If someone is browsing the site without being logged in it will still show the last people to visit the site. I am working on version 2.5.5 but am sure that this can be adapted to earlier versions, if needed. First you want to make a distinction between the latest visitors to the site which shows in the logged-out version versus the latest visitors to the profile which is what someone sees when logged in: 1. open yoursite.com\includes\languages\the_language_you_use\lang.core.php 2. search for: home_latest_visitors 3. after the lines: "home_latest_visitors" => "Latest visitors", add the following or change wording to suit your needs: "home_latest_profilevisitors" => "Latest visitors to your profile", 4. open: yourdomain.com\templates\your_template\ext.members_online.tpl 5. Around line 3 you may see: <h5><span>{lang:"core","home_latest_profilevisitors"}</span></h5> 6. Replace that line with: <!-- IF loggedin --> <h5><span>{lang:"core","home_latest_profilevisitors"}</span></h5> <!-- ELSE --> <h5><span>{lang:"core","home_latest_visitors"}</span></h5> <!-- ENDIF --> 7. of course "home_latest_profilevisitors" must match what you entered in step 3 above in case you renamed it. That's basically it. Hope you find use for it. Thanks again Ramil! Little Moosie |
vldCrowd Stats
- Members: 651
- Online Now: 0
- Blogs:622
- Files: 41
- Pictures:140
- Videos:89
Support vldCrowd
LuvPoint.com
Premium Dating Templates
for Your vldPersonals Website.
Serving Community for
Almost 3 Years!
- + Easy to Install & Activate
- + Full Documentation
- + Free Lifetime Updates
- + Visit LuvPoint.com






Comments
Log in to leave a comment