[Who Viewed My Profile] Anonymous Delete?

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen

Moderator: Moderatoren

Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!

[Who Viewed My Profile] Anonymous Delete?

Beitragvon DaggaMaster » Mo 05.Feb, 2007 15:13 • Beitrag als PDF

Hello,,

Is there a possibility to hide ( non logged in users ) Anonymous in the list of Last Viewed.

Because if i make profiles public, most of the time Anonymous will be on top.
I Just want something like to "HIDE" the anonymous user in the last viewed list

Sorry for my English.
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Mo 05.Feb, 2007 15:17 • Beitrag als PDF

Try this file:

[ Attachment gelöscht am Mo 05.Feb, 2007 16:04 von oxpus ]
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Beitragvon DaggaMaster » Mo 05.Feb, 2007 15:35 • Beitrag als PDF

Thanks for your quick reaction, but i get an error with your profile_view_user.php

Code: Alles auswählen
Could not read userdata.

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id <> -1 WHERE user_id = 2' at line 2

SELECT username FROM phpbb_users AND user_id <> -1 WHERE user_id = 2

Line : 39
File : profile_view_user.php
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Mo 05.Feb, 2007 17:06 • Beitrag als PDF

Oh yes :!: Wrong position.

Use this file:
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Yesss

Beitragvon DaggaMaster » Mo 05.Feb, 2007 18:16 • Beitrag als PDF

Yes Thanks You :)

Do you also have the modified version for profile_view_popup.php ?
with the HIDE Anonymous

Thanks in Advance
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Mo 05.Feb, 2007 18:52 • Beitrag als PDF

For doing this just replace the line
Code: Alles auswählen
if ($user <> $viewer_id)

in includes/usercp_viewprofile.php with
Code: Alles auswählen
if ($user <> $viewer_id && $viewer_id >= USER)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Thank YOU !!

Beitragvon DaggaMaster » Mo 05.Feb, 2007 22:04 • Beitrag als PDF

Thanks everything is Fixed :respect:
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Mo 05.Feb, 2007 22:44 • Beitrag als PDF

Fine to read.
Thanks for reply.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Beitragvon DaggaMaster » Mo 05.Feb, 2007 22:54 • Beitrag als PDF

Sorry Again for the next question.

But if i make the profiles Public, then the time doesn't work, only for the logged in users it works.

Is there any solution for this?
Zuletzt geändert von DaggaMaster am Di 06.Feb, 2007 00:48, insgesamt 1-mal geändert.
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Di 06.Feb, 2007 09:06 • Beitrag als PDF

Which time?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Time

Beitragvon DaggaMaster » Di 06.Feb, 2007 15:41 • Beitrag als PDF

The time when the user has visited your profile.

The time is only displayed when a member is logged in
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Di 06.Feb, 2007 15:46 • Beitrag als PDF

??? Not by my mod.
The profile visit times will only be displayed in the separate list, not on the user profile itself...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Beitragvon DaggaMaster » Di 06.Feb, 2007 15:55 • Beitrag als PDF

Yes its your mod Who Viewed My Profile....
In the file Profile_View_User.php

The times of the last visited members is only visible when the "viewer" is logged in.
If the viewer isn't logged in you dont see a time..

I guess it has something to do with.
Code: Alles auswählen
'STAMP' => create_date($userdata['user_dateformat'], $row['view_stamp'], $userdata['user_timezone']))
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26

Beitragvon oxpus » Di 06.Feb, 2007 16:00 • Beitrag als PDF

Normally the guests couldn't view this list ;)

Okay, replace this line with
Code: Alles auswählen
'STAMP' => create_date($board_config['default_dateformat'], $row['view_stamp'], $board_config['board_timezone']))

and everything will be good...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per ICQ, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per ICQ, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Administrator
Administrator
 
Beiträge: 28979
Registriert: Mo 27.Jan, 2003 23:13
Wohnort: Bad Wildungen

Beitragvon DaggaMaster » Di 06.Feb, 2007 18:15 • Beitrag als PDF

YESSSS :respect: :respect:

thanks you, so muchh

Everything Works :D
DaggaMaster
User
User
 
Beiträge: 8
Registriert: Mo 05.Feb, 2007 14:26


Zurück zu phpBB 2 Support Board + Modifikationen

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste