|
Page 1 of 2
|
Inactive User
|
[MOD IPv1.3.0.*] User Reputation System
This MOD is a full-blown reputation system for your Icy Phoenix forum.
If you don't know how to set it up? Please read the "html" in the Docs folder.
Setup: ACP > Menu > Modifications > Reputation System.
The contrib folder contains an additional application for showing the User with the most reputation on the forum whosonline etc.
Download here: Beta User Reputation System
And PLEASE DO read ALL of the instructions from top to bottom BEFORE you start.
Last edited by Guest on Mon 11 Jan, 2010 11:11; edited 1 time in total |
#1 Sat 19 Sep, 2009 06:54 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: [MOD IPv1.3.0.*] User Reputation System
I don´t know, why lot of this code sound´s familiar to me .
Could it be that this is similar to the Karma Mod of ip.27 ?
With a few changes?
Anyway. great stuff Lopa
____________ Out of Order
|
#2 Sat 19 Sep, 2009 11:34 |
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
Re: [MOD IPv1.3.0.*] User Reputation System
As always, great job Lopalong!
I'll give this a go later in the week!
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#3 Sat 19 Sep, 2009 22:05 |
|
novice programmer
Joined: June 2007
Posts: 1030
Location:
|
Re: [MOD IPv1.3.0.*] User Reputation System
We could have this on the customizations board...
I'll move it...
|
#4 Sun 20 Sep, 2009 01:19 |
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
Re: [MOD IPv1.3.0.*] User Reputation System
I got bored and decided to install this.
The install instructions are clear and precise and installation was successful. The only problem I saw was clicking submit to give a member reputation points. This error popped up:
Could not insert/update private message sent text.
DEBUG MODE
SQL Error : 1196 Warning: Some non-transactional changed tables couldn't be rolled back
INSERT INTO phpbb_privmsgs (privmsgs_type, privmsgs_subject, privmsgs_from_userid, privmsgs_to_userid, privmsgs_date, privmsgs_ip, privmsgs_enable_html, privmsgs_enable_bbcode, privmsgs_enable_smilies, privmsgs_attach_sig) VALUES (1, 'You have received new reputation points!' , 2, 3, 1253407466, '4435f94e', 0, 1, 0, 0)
Line : 109
File : functions_reputation.php
I checked and the user I gave + reputation to did receive the right amount. I guess it just didn't want to send them a private message informing them they received new reputation points. I am, of course, using the latest Icy Phoenix version.
I also want to say this MOD is a lot nicer than the former reputation MOD released for Icy Phoenix .27.
Great job in porting this over, Lopalong! I'll definitely be using this MOD!
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#5 Sun 20 Sep, 2009 02:56 |
|
Inactive User
|
Re: [MOD IPv1.3.0.*] User Reputation System
The trials and tribulations of trying to get this stuff working with so many changes from v27 is going to wear me down - - - - - One Day!
And Mmmm! Yep, there's no such table as PRIVMSGS_TEXT_TABLE
Find in functions_reputation.php
$privmsg_message = sprintf($lang['PM_notify_text'], $rep_sum);
$sql = "INSERT INTO " . PRIVMSGS_TEXT_TABLE . " (privmsgs_text_id, privmsgs_bbcode_uid, privmsgs_text)
VALUES ($next_id, '" . $bbcode_uid . "', '" . str_replace("\'", "''", $privmsg_message) . "')";
if ( !$db->sql_query($sql, END_TRANSACTION) )
{
message_die(GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql_info);
}
Replace with this, and could you let me know if PM's are being received etc.
$privmsg_message = sprintf($lang['PM_notify_text'], $rep_sum);
$sql = "INSERT INTO " . PRIVMSGS_TABLE . " (privmsgs_id, privmsgs_bbcode_uid, privmsgs_text)
VALUES ($next_id, '" . $bbcode_uid . "', '" . str_replace("\'", "''", $privmsg_message) . "')";
I've killed the message_die, else the error message would still be coming up even though I can verify that the info is going into the Db.
I also think it may be $bbcode_uid that is an unknown quantity here and I'll have to figure out how MG replaces this.
Oh! And re the "Karma" MOD for ipv27 - With the permission of The KuKa to take over his work - - - - I've done that too! And fixed it up some.
It's not as heavy as the Rep mod, but may suit those who want something lighter.
Edit:
EEEEEK I don't know if the "Enable Email" is a good option or not and whether it should in fact be removed from the script and the ACP options - - - - Why? 100 people x 5 reps = 500 probably really unnecessary db entries in the PRIVMSGS_TABLE! That's why!
|
#6 Sun 20 Sep, 2009 11:54 |
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
Re: [MOD IPv1.3.0.*] User Reputation System
I made the change that you posted, but received this error when trying to click on any topic on my website:
General Error
Could not update private message new/read status for user
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 'WHERE user_id =' at line 3
UPDATE phpbb_users SET user_new_privmsg = user_new_privmsg + 1, user_last_privmsg = WHERE user_id =
Line : 117
File : functions_reputation.php
I PM'ed a member and asked if they had received PM notification of any new reputation points being added to their account and they said no. I checked the PM feature in the ACP -> Users and I saw a PM was sent, but was not seen in the member's actual inbox:
Are you talking about removing the PM function from this MOD? I see you said EMAIL...are you talking about members that have notifications turned on in their profile so they receive e-mail notification of PM's and posts? They would receive notifications of new reputation on their account? If so, I think it'd be a good idea to turn that off, but leaving the function for PM's on in case of new addition to reputation. Since the link to add new reputation is so small, member's are probably not going to notice how to send reputation and having a PM sent to them and others reminds them about this system.
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#7 Sun 20 Sep, 2009 21:46 |
|
Inactive User
|
Re: [MOD IPv1.3.0.*] User Reputation System
This is one problem with not having a live site where other users can test these things.
I've been in and out of localhost with so many AKA's that today I don't really know who I am!
Hehehehe!
The .zip has been updated in the first post and you need to replace:
functions_reputation.php
lang_extend_mod_reputation.php (Re-Translated )
reputation.tpl (Much Nicer)
And hopefully - You should be good to go!
And to be honest, with a crucial VAR missing from a string, I can't see that the PM system originally worked anyway!
And re Email? That was Pop who wrote that instead of PM's. Musta' been tired!
|
#8 Mon 21 Sep, 2009 03:07 |
|
Chaotic
Joined: January 2008
Posts: 1369
Location: Georgia
|
Re: [MOD IPv1.3.0.*] User Reputation System
It's working fine now!
I hope more people install this MOD. It's too robust and cool to pass up!
____________ | Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
|
#9 Mon 21 Sep, 2009 11:02 |
|
Inactive User
|
Re: [MOD IPv1.3.0.*] User Reputation System
Thanks for testing it Gary,
And do note that the preciseness of the feedback made it a lot easier to see what the problem actually was.
And which I hope is an example that will NOT be wasted on other users.
|
#10 Mon 21 Sep, 2009 11:33 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: [MOD IPv1.3.0.*] User Reputation System
Here goes lang_spanish
Description: |
|
Download |
Filename: |
lang_spanish.rar |
Filesize: |
2.41 KB |
Downloaded: |
238 Time(s) |
____________ Out of Order
|
#11 Mon 21 Sep, 2009 13:44 |
|
Danielc
Joined: August 2006
Posts: 248
Location:
|
Re: [MOD IPv1.3.0.*] User Reputation System
I have a question... In the readme, it talks about includes/mg_viewonline.php but it doesn't exists!!! I think you are talking about viewonline.php, aren't you?
EDIT:
I think i found the file, is it functions_mg_online.php?
I have found the text of the readme there..
EDIT 2:
I have installed the mod, but i had an error in the last step... The file i should run gave me an error in the line 27 of reputation_common.php... I have replaced that line with
$sql = "SELECT * FROM ". ip_reputation_config;
instead of
$sql = "SELECT * FROM ". REPUTATION_CONFIG_TABLE;
and that worked for me..
Thanks!
|
#12 Tue 22 Sep, 2009 01:14 |
|
Juve
Joined: June 2008
Posts: 79
Location: Iasi
|
Re: [MOD IPv1.3.0.*] User Reputation System
Sorry for double posting
I have a problem
I installed the module "User Reputation System" but in my profile does not appear reputation,
I think I installed correctly, where do you think was wrong?
Correct picture:
Edited by Juve, Tue 22 Sep, 2009 17:38: 1. solving |
#13 Tue 22 Sep, 2009 16:51 |
|
Haruhi-sempai
Joined: March 2008
Posts: 25
Location:
|
Re: [MOD IPv1.3.0.*] User Reputation System
Hi, the mod works perfectly in my forum.
Gracie ^^
|
#14 Mon 28 Sep, 2009 22:48 |
|
Danielc
Joined: August 2006
Posts: 248
Location:
|
Re: [MOD IPv1.3.0.*] User Reputation System
I like this mod, except for one thing: When an user wants to give a reputation point to another user, he loses one reputation point.. I'm trying to change that so that user doesn't lose any point..
|
#15 Tue 29 Sep, 2009 19:04 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|