Also, i only wanted to show only 10 recent viewers.... please help? pretty, pretty please
Who viewed my profile
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!
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
how can i make it to show in the users profile instead of a popup?
Also, i only wanted to show only 10 recent viewers.... please help? pretty, pretty please
Also, i only wanted to show only 10 recent viewers.... please help? pretty, pretty please
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
The list will be already in the profile. Regard the "eye" icon on the right side of the username.
And you can disable the popup by yourself on your profile.
And you can disable the popup by yourself on your profile.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
@found21
What should be disabled? The popup? The mod itself?
@mayona
I must take a look to change the sql-statement in the special file.
I will post the solution later on...
What should be disabled? The popup? The mod itself?
@mayona
I must take a look to change the sql-statement in the special file.
I will post the solution later on...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Hi
Sorry for not being clearer.....i was wondering if admin could disable the image from showing per user......and then enable it if required......
thanx for replying
Sorry for not being clearer.....i was wondering if admin could disable the image from showing per user......and then enable it if required......
thanx for replying
Zuletzt geändert von found21 am Do 24.Feb, 2005 09:54, insgesamt 1-mal geändert.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Hm, I think it's better to let the users decide themselfes to display the popup or not.
Disabling this by the admin unable the users to get informations about profile views by other users until they will open their profile view stats.
Disabling this by the admin unable the users to get informations about profile views by other users until they will open their profile view stats.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Hi
sorry to bother you again with this but i was wondering if it was at all possible to make this so that the linked appeared if the user was in a group.....using this piece of code from profilecp/profilecp_public_base.php
That way when i use auto group everyone who post their first post can use this feature
Thanx again for your time...
sorry to bother you again with this but i was wondering if it was at all possible to make this so that the linked appeared if the user was in a group.....using this piece of code from profilecp/profilecp_public_base.php
Code: Alles auswählen
#
# #-----[ AFTER, ADD ]------------------------------------------
# #
# 'U_VISITS' => '<a href="' . append_sid("profile_view_user.$phpEx?".POST_USERS_URL."=" . $view_userdata['user_id'] . "&".POST_POST_URL."=0").'"><img src="' . $images['icon_view'] . '" border="0" alt="'.$lang['Views'].'"></a>',
#
# #
# #-----[ OPEN ]------------------------------------------
# #
# templates/subSilver/profilecp/public_base_body.tpl
#
# #
# #-----[ FIND ]------------------------------------------
# #
# <th valign="middle">{L_PUBLIC_TITLE}</th>
#
# #
# #-----[ REPLACE WITH ]------------------------------------------
# #
# <th colspan="2" height="25" nowrap="nowrap">
# <table width="100%" cellspacing="0" border="0">
# <tr>
# <th align="center">{L_PUBLIC_TITLE}</th>
# <th align="center">{U_VISITS}</th>
# </tr>
# </table>
# </th>Thanx again for your time...
Hiya oxpus...
I am getting an error

thanks
I am getting an error
what syntaxCould not read profile views.
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 '*) as total FROM phpbb_profile_view p, phpbb_users u WHERE p.
SELECT count(p.*) as total FROM phpbb_profile_view p, phpbb_users u WHERE p.user_id = 710 AND u.user_level <> 1
Line : 55
File : profile_view_user.php
thanks
Zuletzt geändert von mayona am Mi 16.Mär, 2005 06:08, insgesamt 1-mal geändert.
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
Okay, then replace
with
and retry...
Code: Alles auswählen
$sql = "SELECT count(p.*) as total FROM ".PROFILE_VIEW_TABLE." p, ".USERS_TABLE." u
WHERE p.user_id = ".$user_id."
AND u.user_level <> ".ADMIN;Code: Alles auswählen
$sql = "SELECT count(p.user_id) as total FROM ".PROFILE_VIEW_TABLE." p, ".USERS_TABLE." u
WHERE p.user_id = ".$user_id."
AND u.user_level <> ".ADMIN;Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!