Author Topic: .  (Read 172725 times)

0 Members and 1 Guest are viewing this topic.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Letze aktive User / Last active users
« Reply #45 on: October 13, 2005, 07:49:42 PM »
Nur mal so zur Info, in der Datei von Dir war das Datum auch nicht mit drin.
Soll ich Dir das jetzt frickeln oder wie?

Offline Toso

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Lachs & Leder
Re: [Mod] Letze aktive User / Last active users
« Reply #46 on: October 13, 2005, 07:56:30 PM »
Nur mal so zur Info, in der Datei von Dir war das Datum auch nicht mit drin.
Soll ich Dir das jetzt frickeln oder wie?

Sorry, das Datum war in der allerersten Version drin. In meiner geposteten war es auch nicht da. Völlig übersehen. Brauchst nix frickeln. Wollte dir hier nicht immer mehr unterjubeln.
Trotzdem Danke. Klappt ja auch soweit...

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Letze aktive User / Last active users
« Reply #47 on: October 13, 2005, 08:00:37 PM »
Code: [Select]
//-----------------------------------------------------
//--- Last active User --------------------------------
//-----------------------------------------------------
$sql = "SELECT user_name, user_id, user_lastaction, userpic FROM ".USERS_TABLE."
                 WHERE user_level >= '".GUEST."'
                    ORDER BY user_lastaction DESC
                 LIMIT 10";
$result = $site_db->query($sql);

while ($row = $site_db->fetch_array($result)) {
if(date("dmy", $row['user_lastaction']) == date("dmy")) {
$last_user_date = $lang['lang_user_last_today']." ".format_date($config['time_format'], $row['user_lastaction']);
}else {
$last_user_date = format_date($config['date_format']." ".$config['time_format'], $row['user_lastaction']);
}
$userpic = $image_row['userpic'];
$last_action_user_list .= '<table border="0" width="100%" id="table1"><tr><td><img src="'.ROOT_PATH.'/data/userpic/'.((empty($userpic)) ? "member.jpg" : $row['userpic']).'" width="30" height="30">&nbsp;&nbsp;<a href ="'.ROOT_PATH.'member.php?action=showprofile&user_id='.$row['user_id'].'"><b>'.$row['user_name'].'</b></a> <span class="smalltext">'.$row['user_t_images'].'</span></td></tr></table><br><span class=\"smalltext\">'.$last_user_date.'</span>';
}

Und das?

Offline Toso

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Lachs & Leder
Re: [Mod] Letze aktive User / Last active users
« Reply #48 on: October 13, 2005, 08:13:29 PM »
Nö.. :cry:

Offline Nasser

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #49 on: November 08, 2005, 05:54:41 PM »
I installed this MOD .. wonderfull thank you ..
but I have a small problem which I'm looking for a help here please :

I installed this MOD (( and )) an other MOD which is " Top 25 Uploaders "
it's here : http://www.4homepages.de/forum/index.php?topic=7678.0

the results are :

2 results ...
the first is : Most 25 Uploaders --> working fine
the second is : Last Active Users ---> not ! this group shows (( Top Uploaders + Last Active Users )) together in the same group!

can you help in this please ..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Letze aktive User / Last active users
« Reply #50 on: November 09, 2005, 02:58:06 AM »
* V@no didnt understand the problem
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nasser

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #51 on: November 09, 2005, 07:52:30 PM »
ok .. sorry for my poor english ;)
this is what I mean :



Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Letze aktive User / Last active users
« Reply #52 on: November 10, 2005, 12:06:55 AM »
for this mod:
Above the code from Step 1 insert this line:
Code: [Select]
$last_action_user_list = "";
for "Top 25 Uploaders" mod:
Above the code from Step 2 insert this line:
Code: [Select]
$last_action_user_list = "";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nasser

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #53 on: November 10, 2005, 01:19:20 AM »
that was very helpful
it's working great now :D:D

thank you !

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Letze aktive User / Last active users
« Reply #54 on: November 10, 2005, 01:25:06 AM »
it's working great now :D:D
To avoid this happend to somebody else, I've updated both mods :)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Jako

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #55 on: November 16, 2005, 06:11:47 PM »
funktioniert das nur mit der v1.7 ?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [Mod] Letze aktive User / Last active users
« Reply #56 on: November 19, 2005, 03:13:05 PM »
read the Post from V@no in this Thread:
http://www.4homepages.de/forum/index.php?topic=5911.msg32228#msg32228

With this modification this Mod will work for 1.71 i think...

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #57 on: November 19, 2005, 03:17:56 PM »
With this modification this Mod will work for 1.71 i think...

Yes, I have it running with 1.7.1.

Offline Jako

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #58 on: November 23, 2005, 05:38:28 PM »
ist es möglich diesen mod zu erweitern so das jeder user sehen kann wer zuletzt sein profil besucht hat?

Offline Jako

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: [Mod] Letze aktive User / Last active users
« Reply #59 on: November 28, 2005, 03:57:02 PM »
well, maybe in english

is it possible to change this mod so that every user can see on his profile who last visited it?