PDA

View Full Version : Display Reputation Comments Given


Paul M
31 Jul 2006, 01:03
This modification is no longer supported.
It will remain available for download and use, but the thread is no longer monitored.

This shows members who their last few reputation comments have been given to - in the same manner as their received comments. The list is collapsable and appears in the usercp under the reputation received list. The users current repping power is also displayed, in the same manner as their points total.

The number of comments to display is a setting in the reputation section of vb Options.

If upgrading from the 3.5 version you will need to remove the template edit (or just revert the usercp template).

From version 2.47 onwards users can delete reputation they have given within a certain timeperiod (default = 5 minutes). This allows the removal of comments given in error (or regretted !). This was from a suggestion by Makc666 (http://www.vbulletin.org/forum/showpost.php?p=1139710).


History:

v2.40 : First release for vb 3.6, template edit replaced by template injection.
v2.41 : Dependancies updated for 3.6.0 Gold.
v2.42 : Updated for Version Checking.
v2.43 : Dependancies updated, URL's updated (not released).
v2.44 : SQL changed to use slave.
v2.45 : Phrase errors fixed.
v2.46 : Internal Development Version (not released).
v2.47 : Added ability for member to delete reputation given.
v2.48 : Fixed display permission issue (see posts 50 & 51).
v2.49 : Minor template change.

Posof
31 Jul 2006, 03:03
Wooow first post,

Thanks for the hack.. ;)

A_N_K_A_R_A
31 Jul 2006, 06:45
woowww nice hack thanks

Snake
31 Jul 2006, 11:32
Excellent! :)

Mudvayne
01 Aug 2006, 10:03
/me clicks install..
Thnx Paul M.. :)..

h_kakashi
02 Aug 2006, 02:32
Very nice :) works fine on RC3

h_kakashi
04 Aug 2006, 01:41
I cannot see the Reputation Given section in UserCP.

All the templates were reverted prior to installation. Installation was done and I can see the option of how many to display in vbulletin Options -> User Reputation (Default = 10). However can't see anything T_T

Edit : Nevermind found the problem. Had the Plugin based Template Cache installed, and needed to include USERCP as a template not to be cached.

Thanks :)

Breathex
04 Aug 2006, 12:23
what should i do to see who gave me rep. points?

Mudvayne
12 Aug 2006, 08:09
Thrs another hack by Paul M ;).. Try that one.. U can see on ur profile that who give u reputation.. Infact all user can see :D..

version2
24 Aug 2006, 02:07
Someone want to tell me how I can get the:

"New Posts since your last visit: XXX"

BELOW the:

"You have no new reputation comments."

Or above it. I just don't like it right under the Welcome message.

Paul M
24 Aug 2006, 02:40
Erm, you might want to check what thread you are in.

version2
24 Aug 2006, 02:57
Erm, you might want to check what thread you are in.
Doh! Thanks! =]

G_Man
27 Aug 2006, 21:19
I need a Mod that automatically tells me when you've released another hack. ;)

thanks again, Paul.

Paul M
28 Aug 2006, 00:27
I need a Mod that automatically tells me when you've released another hack. ;)

thanks again, Paul.I think that's called "Get New Posts" ;)

Takkero
28 Aug 2006, 10:30
installed but doesn't work....

what shuld i do to see this?

p.s. i see the option in the Admin CP (set to 10 by default)

Paul M
28 Aug 2006, 21:31
You don't need to do anything. Have you given anyone reputation ? Are you looking in your usercp (under the received) ?

davelacey
31 Aug 2006, 18:10
Thanks.

*clicks install*

Insert Username
19 Sep 2006, 20:07
I get the following error after installing when I go to my CP:

Database error in vBulletin 3.6.1:

Invalid SQL:

SELECT user.username, reputation.userid, reputation.postid as postid, reputation.reputation,
reputation.reason, post.threadid as threadid, reputation.dateline as dateline, thread.title as title
FROM reputation AS reputation
LEFT JOIN post AS post ON(reputation.postid = post.postid)
LEFT JOIN thread AS thread ON(post.threadid = thread.threadid)
LEFT JOIN user AS user ON(user.userid = reputation.userid)
WHERE reputation.whoadded = 6
ORDER BY reputation.dateline DESC
LIMIT;

MySQL Error : 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 '' at line 9
Error Number : 1064


I'll have to dive into the code a bit, but if anyone has a quick answer, that would be great.

Paul M
19 Sep 2006, 20:28
Either the vb options were not imported properly, or you have a blank setting (it needs to be a number).

Insert Username
19 Sep 2006, 20:33
Either the vb options were not imported properly, or you have a blank setting (it needs to be a number).
Not sure what you mean. A blank setting where? Not sure if it was imported properly.

I wonder if an existing mod to the CP got in the way of this one properly placing the code?

Paul M
19 Sep 2006, 20:39
On import, this creates a setting in vBulletin Options > User Reputation Options called "Number of Reputation Given Comments to Display" with a default value of 10.

Insert Username
19 Sep 2006, 20:43
Interesting. Third time's a charm, I guess. Imported just fine this time. Far as I know, anyway. ;)

Thanks!

ESADCG
08 Oct 2006, 05:48
Installed, cool mod!

Nathan2006
17 Oct 2006, 04:10
Thank you Paul

Install

SideDraft260
23 Nov 2006, 21:00
For some reason I've installed it several times, but can not get it show the "reputation given" options in AdminCP, nor does it show in the user profiles. My reputation received works just fine, however. Any ideas?

Paul M
24 Nov 2006, 09:40
There is only one option (max number of comments to display) which appears in the reputation settings above the Administrator's Reputation Power setting.

soulface
13 Dec 2006, 17:35
the auto templates edit settings kinda bad i think..



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



its catching every table in usercp. when i installed it first, i got 5 'reputation given box' in usercp. so i change it to



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Paul M
13 Dec 2006, 19:12
What other tables ?

I cannot replicate any such occurance on any of my forums.

Checking the default USERCP template, the code searched for only appears once, so you must have a customised template.

soulface
13 Dec 2006, 19:42
Yes. I use a customized template, may be thats why. :S

Paul M
13 Dec 2006, 23:47
Yes. I use a customized template, may be thats why. :SThere is no "maybe" - that is the reason why. :)

I cannot predict what will happen in customised templates. :cool:

weindians
15 Dec 2006, 01:04
Thanks for this hack

Makc666
16 Dec 2006, 14:54
Paul M
Can you, please, add one more future to this hack.
Some times when usera give reputation they make mistakes.
Can you add a (Delete) URL after last reputation comment in usercp.
This will allow user to delete his LAST reputation comment after XX minutes after its adding.

In other words.
1. User adds a reputation comment.
2. He understands that he made a mistake.
3. He goes to usercp.
4. See that his comment.
5. See URL/LINK (Delete) after that his comment.
6. Click it.
7. Comment is erased/deleted.

The link (Delete) is visible for user for xx minutes which is set in ACP.

Thanks.

P.S. I saw this working on one of the forums, but it was a hand made add-on special for that forum.

Paul M
16 Dec 2006, 19:37
Interesting idea, I will consider it when I next look at updating this.

Makc666
18 Dec 2006, 15:59
Paul M

1.
In template:
Display_Reputation_Given
In line:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Given To doesn't have translation string :(

2.
Also language translation string:
$vbphrase[points]
has word:
Points

So we have in CP:
Your Reputation Power is 10 Points

But below default VB's language uses:
32 point(s) total

So maybe it is better to make
$vbphrase[points]
this way:
point(s)

3.
And there is a misprint here:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Must be:
The

Paul M
18 Dec 2006, 17:05
Given To doesn't have translation string :(
Hmm, that obviously got missed.

Also language translation string:
$vbphrase[points]
has word:
Points

So we have in CP:
Your Reputation Power is 10 Points

But below default VB's language uses:
32 point(s) total

So maybe it is better to make
$vbphrase[points]
this way:
point(s)
Since it's a phrase then you are free to alter it, the default will stay as it is because I prefer it that way.

And there is a misprint here ...Yep, that'll get fixed in the next release.

KURTZ
19 Dec 2006, 19:17
Paul just INSTALLED another great/simple hack by you ... :) thx

Nathan2006
24 Dec 2006, 08:37
Thanks for the update Paul :)

KURTZ
25 Dec 2006, 15:15
updated!

thx Paul

parabat
27 Dec 2006, 12:02
Nice additions Paul.

You ever consider consolidating your 3 "Display Reputation Comments" mods into one mod??

-PB

Paul M
27 Dec 2006, 12:59
Nope, keeping them seperate means people can choose what they want.

Paul M
21 Jan 2007, 13:56
Version 2.47 adds the ability for members to delete comments they have made (within a set time period). The default is 5 minutes. This is to allow members to remove comments they may have made by mistake. The feature was requested by Makc666.

Mudvayne
21 Jan 2007, 14:18
Updated :D. Thanks Paul. Just one request can you make this & your other rep based hack option unique? I mean not in Users Repuation Option. Just like Member Visited Today or Guest Visited Today.

Paul M
21 Jan 2007, 18:33
Why ?

Mudvayne
21 Jan 2007, 18:36
Nothing special. Just an idea :S.

akulion
29 Jan 2007, 05:55
Thank you for this - you really make very useful mods :)

KURTZ
29 Jan 2007, 16:57
updated!

masterross
02 Feb 2007, 22:02
seems dont works for me
nothing is shown in userCP
even i use default template :(

Paul M
02 Feb 2007, 23:26
Then you have either done something wrong or you have a broken plugin somewhere.

masterross
03 Feb 2007, 02:17
I've created new syle, disable all plugins but still doesn appear :(

Paul M
03 Feb 2007, 17:26
Are you sure you have actually given any reputation, and not disabled your display of reputation in your profile ?

Other than that then I can't help you without access to your forum.

masterross
03 Feb 2007, 20:37
hi,
u were right my reputation show was disabled!
But why reputation given is conected with show reputation?

Paul M
03 Feb 2007, 22:25
It shouldn't be really, but that's they way it is for the moment. I'll fix it in a future update.

Tanabe
24 Feb 2007, 15:25
Ok I have a problem and wondering if you could help. I installed this hack, Enhanced reputation checks hack, and New posts and rep comments hack. Awsome hacks and Thanks by the way.

I can't seem to get the reputation posted by column in the User CP. This is a new forum so I'm still trying to work things out and not sure if it's just me or it was the hacks. I really don't think its the hack though.

How can I make this option available?

Paul M
24 Feb 2007, 15:29
If you mean the person who gave the reputation - it's a usergroup permission.

BTW - please click on the "Mark as Installed" for all the mods you have installed - you are still showing as "Status: Not Installed"

Tanabe
24 Feb 2007, 15:38
Sorry about that and thank you much. Looking foward to future updates.

Aimee1969
28 Apr 2007, 12:52
Thanks...I like this mod

KURTZ
28 Apr 2007, 15:13
updated!

Makc666
14 May 2007, 14:23
in vBulletin 3.6.6
in template
USERCP
there was change:

3.6.5


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



3.6.6


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




According to this change I propose to change in this modification to make tables headers look the same way:
From:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



To:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Paul M
14 May 2007, 22:51
Seems reasonable, I'll release an update in a bit.

croportal
17 May 2007, 16:51
nice hack, works like a charm ;)

Mrdby
18 May 2007, 21:40
i still don't see anything!

karlm
23 May 2007, 06:19
Hi Paul M, great hack - thank you kindly.
I've installed and it works flawlessly in vb3.6.7

Would you have any ideas on how I might be able to apply the reputation given to a member so it appears on their member-profile page, linking to the person who gave it them?

ETA, found it (http://www.vbulletin.org/forum/showthread.php?t=123425)! :rolleyes:

IceFanatic
28 May 2007, 02:56
Anyway to change it so that it shows the rep given first and then the rep received after that?

Paul M
28 May 2007, 11:42
Not unless you want to manually edit templates.

masterross
08 Jul 2007, 22:19
Hi Paul,

How to upgrade from 2.33 to current version?

thanks

Paul M
09 Jul 2007, 00:22
2.33 ? - that's a vb 3.5.x version I believe, so you just import it, and follow the note in the main post.

masterross
09 Jul 2007, 01:03
yes it's vb 3.5.x version but i use it on 3.6.7
So I just need to overwrite the old version and delete template modification?

Paul M
09 Jul 2007, 03:05
Yep.

marlena
09 Jul 2007, 06:05
ok call me stupid here but how do you see the rep comments RECEIVED if you dont have any new ones and therefore no button to click to display new rep comments?

Paul M
09 Jul 2007, 12:36
Go to your usercp.

wickland
11 Aug 2007, 01:12
Awsome nice and simple to install hack, love it and installed :)

Thanks

josepheseven
22 Aug 2007, 13:57
installed :)

Martyn2k6
10 Oct 2007, 00:09
any screenshots?

deezelpope
10 Oct 2007, 01:26
I dunno what you need a screenshot for...it just shows the reputation you've given to other members in your User Control Panel...but, I'm feeling nice today, and I love Paul's mods, so here ya be:

http://i23.tinypic.com/2dloh9g.gif

Freak0204
18 Oct 2007, 15:50
This was working fine until I installed a new style. Now the display tables show up multiple times. I have tried uninstalling and reinstalling but that didn't help. Any suggestions?

Paul M
18 Oct 2007, 17:06
Your custom style probably has multiple occurances of the code the template insertion looks for. The only way to fix that is to manually add a comment into the usercp template and update the settings to look for it.

Freak0204
04 Nov 2007, 15:15
manually add a comment into the usercp template and update the settings to look for it.

How would I go about doing that?

hyppa
29 Dec 2007, 19:24
Does this work for 3.6.8 to?

hyppa
29 Dec 2007, 20:35
Maybe im blond ;) but which folder do i upload it to/in?

hyppa
29 Dec 2007, 20:50
Fixed, got help from an angel. :)

mmmender
31 Dec 2007, 14:03
Excellent hack - installed

dashed
02 May 2008, 02:47
Does this work for vb 3.7?

Paul M
02 May 2008, 10:19
The 3.7 version does ....

Aclikyano
03 May 2008, 21:13
http://www.vbulletin.org/forum/showthread.php?t=168303&highlight=Display+reputation+comments+given
isnt this the same product but with a extra little mod?

no wonder the thing appeared twice

Paul M
04 May 2008, 12:21
Nope, two entirely different things.

deLi_kurT
07 May 2008, 15:52
Thanks - installed

DominicG
21 May 2008, 00:11
I have no idea how to install a hack! I'm very computer illiterate in this department. Being a recent problem came up on our forums we need something like this.

Can you give detailed install instructions? Remember you're talking to someone who has no clue. I know how to sign into my cpanel that is it.

Thank you so much!

Dominic is my son (I used his name as a sign in) my name is Kat :)

Paul M
21 May 2008, 08:57
http://www.vbulletin.com/docs/html/main/import_product

DominicG
21 May 2008, 16:30
Thank you so much for answering :) I'm still lost but that's not your problem lol...

Konstantinos
16 Jun 2008, 10:26
why is the thread titble being cut off . it displays the half title and after ... although the title isnt big and there is a huge space untill the next table ?? where to change this

Paul M
16 Jun 2008, 10:42
Just because its a big gap for you does not mean its the same for everyone - it depends on your screen size, text size etc. The current setting should work for just about anyone, but obviously if you have a wide screen and small text, your going to have a big gap.

Konstantinos
16 Jun 2008, 11:29
but is there any way to increase the characters shown there?

Paul M
16 Jun 2008, 13:41
No.