Author Topic: WHERE is user ? ...in memberprofile  (Read 2962 times)

0 Members and 1 Guest are viewing this topic.

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
WHERE is user ? ...in memberprofile
« on: July 15, 2009, 08:22:15 PM »
Hi there,

I've wondered by myself... but I couldn't find any thread to this question:

How to add a "where is user?"-function to the profile page to show for all?

It's like in the admin panel, where it show e.g. details.php?image_id=627
But here in the memberprofile also with a description, like:

Where is User XYZ?
IF user offline -> userXYZ is currently offline
IF user online -> userXYZ is viewing the picture title  /// userXYZ is viewing christian's profile /// userXYZ is uploading content ......

Is this possible? Maybe there is already a solution, but so far I found nothing like this.

Thx!

Offline Sebas Bonito

  • Sr. Member
  • ****
  • Posts: 271
  • Sebas Bonito
    • View Profile
Re: WHERE is user ? ...in memberprofile
« Reply #1 on: July 16, 2009, 09:12:40 PM »
Also in der Tabelle 4images_users gibt es ja wahrscheinlich die 2 passenden
Spalten, die wir dazu benötigen:

Das wäre zum einen das Feld "user_location", das einem die letzte Aktion als Link verrät,
und (jetzt weiß ich nicht, wie der Online-Status ermittelt wird, aber) vielleicht verrät die
"user_lastaction" über den Online-Status (von wegen die letzten 10 Minuten von "1245400500").

Wie können wir das nun verknüpfen und -wie gewünscht- ausgeben? Denn davon hab
ich leider gar keine Ahnung...  :oops: