plugin settings aren't stored as arrays. You could do that and store it as a serialized array if you want to pretend we're in wordpress ;)
Annotations would probably be the best bet here - listen to Dries, just make sure you're... view reply
and in the case you only want the latest one (I thought I read somewhere you wanted the last 10 visits, but can't find it anymore)
It would be:
$user_guid = elgg_get_logged_in_user_guid();
if... view reply
I'm thinking updating isn't a good approach here, it might be better to just delete the oldest one and create a new one, just thinking with you...
that would be this then:
$user_guid = elgg_get_logged_in_user_guid()
$count =... view reply
I honestly don't know, I'm sure there are better experts to answer your question then I, but you 'could' do something like this, to store only the last 10 annotation and only update the oldest one:
But again, I don't know if... view reply
hmm ithink use Mautic plugin is not necessary for my web, now .
i just want to get the last visited page of my user,
okay i will use annotation (like what you said)
create_annotation ($entity_guid, $name, $value, $value_type=... view reply
Don't think so, but I think there are more efficient ways of tracking a user.
You could look at something like Mautic, there is an elgg plugin somewhere on github for Mautic.
It gives you a lot more options, is more scalable and you can... view reply
db credentials are fine. I setup them up very simple. I dont even get a blank page or wrong info. Just the page refreshes itself everytime.
I have plenty of accounts on the same server and never had a db issue. view reply