attitude mod
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!
attitude mod
I did installed this attitude MOD, a while ago, but I have a problem.
It should be that you can only once rate one user, but here not I can rate it as many time I want.
I try with author of this MOD, but he doesn't want to solve a problem.
Does anybody try to install this mod?
Is it working for you?
It should be that you can only once rate one user, but here not I can rate it as many time I want.
I try with author of this MOD, but he doesn't want to solve a problem.
Does anybody try to install this mod?
Is it working for you?
- oxpus
- Administrator
- Beiträge: 28735
- Registriert: Mo 27.Jan, 2003 22:13
- Wohnort: Bad Wildungen
- Kontaktdaten:
I've installed this mod now on my local test board and i just can vote once per user.
A click in the vote link will open the popup and just tell me, I already have voted for this user.
Will you not get this message?
Okay, the better way: Disable the link for users, which already have voted the specially user. Displaying here just the text...
A click in the vote link will open the popup and just tell me, I already have voted for this user.
Will you not get this message?
Okay, the better way: Disable the link for users, which already have voted the specially user. Displaying here just the text...
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:
No problem. I'll check it and give you the changes as soon as I can.What do you think about disablink the Link for users, where?
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:
Sorry, some wrong typos.
I'll fix the mod to disable the link for already voted users.

You just can double check the installation, but the popup will produced by the file attitude.php so something may be curious on your board...
I'll fix the mod to disable the link for already voted users.
Maybe on a plus this mod will work not errorfreeIf that works on your forum, than must be something, why doesn't work on mine?
You just can double check the installation, but the popup will produced by the file attitude.php so something may be curious on your board...
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:
Sorry, some wrong typos.
I'll fix the mod to disable the link for already voted users.

You just can double check the installation, but the popup will produced by the file attitude.php so something may be curious on your board...
I'll fix the mod to disable the link for already voted users.
Maybe on a plus this mod will work not errorfreeIf that works on your forum, than must be something, why doesn't work on mine?
You just can double check the installation, but the popup will produced by the file attitude.php so something may be curious on your board...
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:
I can't fix something I don't have 
But I will disable the link for existing votes.
The only thing I can do (the next days).
EDIT
Here the changes to replace the link with text, if a user have already vote the poster:
But I will disable the link for existing votes.
The only thing I can do (the next days).
EDIT
Here the changes to replace the link with text, if a user have already vote the poster:
Code: Alles auswählen
#
#-----[ OPEN ]-----
#
functions.php
#
#-----[ FIND ]-----
#
function GetUsersAttitude($attitude, $user)
{
global $lang, $phpEx, $userdata;
#
#-----[ AFTER, ADD ]-----
#
global $db;
#
#-----[ FIND ]-----
#
($userdata['user_id'] != $user) ? $attitude_link = "<a href=\"javascript:Attitude('attitude.". $phpEx ."?u=". $user ."', 'New_Window', '400', '50', 'no')\" onclick=\"blur()\">". $parts[0] ."</a>: ". $parts[1] : $attitude_link = $parts[0] .': '. $parts[1];
#
#-----[ REPLACE WITH ]-----
#
$q = "SELECT *
FROM ". $table_prefix ."attitude_mod
WHERE user_id_from = '". $userdata['user_id'] ."'
AND user_id_to = '". $user ."'";
$r = $db -> sql_query($q);
$found = $db -> sql_fetchrow($r);
($userdata['user_id'] != $user && !$found['user_id_to'] && !$found['user_id_from']) ? $attitude_link = "<a href=\"javascript:Attitude('attitude.". $phpEx ."?u=". $user ."', 'New_Window', '400', '50', 'no')\" onclick=\"blur()\">". $parts[0] ."</a>: ". $parts[1] : $attitude_link = $parts[0] .': '. $parts[1];
#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoMKarsten 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:
It has no separate table for woting
And what will this do:
Code: Alles auswählen
CREATE TABLE `phpbb_attitude_mod` (
`user_id_from` int(10) NOT NULL default '0',
`user_id_to` int(10) NOT NULL default '0'
) TYPE=MyISAM;
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!