Note: This is not a tutorial and should be only for testing purposes!
Introduction:
Well, the code is very simple and everything is based on a small change in the profile preferences - visitor messages on profile and notifications - which makes it possible to transform the "Visitor messages" in a true database to store the "Latest Visitors"!;
Initial Configuration:
Members need to configure only two items in the profile, see below:
1- Go in the tab [Preferences] and find the option Allow visitor messages on my profile : and select (*) All members
Save this setting!
2- Then go on the tab [Notifications] and find the item The incoming of a profile message and uncheck both options
Save this setting!
Go to the ACP -> Users -> Profiles -> General Options -> Include signature in profile messages : No
Note: The profile should be in advanced mode.
If you have messages on your profile, you must remove them all.
Code:
Below is the code that should be added with placement "In all the pages":
Link: https://www.dropbox.com/s/kri9cp0nxxcg6lm/LatestVisitors.js?dl=1
Result:
So long,
JS
Last edited by JScript on February 28th 2015, 10:52 pm; edited 1 time in total (Reason for editing : *** Added support for deleting! ***)