PDA

View Full Version : Profile Enhancements - Display reputation comments on members profile page.


Paul M
08-07-2006, 10:00 PM
This modification is no longer available or supported.

When a members profile is shown, this adds a display (at the bottom) of reputation comments that the member has received.

ACP Options are provided to ;

1. Turn the display on/off.
2. Limit the display to certain usergroups.
3. Limit the number of comments shown.
4. Restrict the display of who gave comments (in addition to the viewers existing permission).
5. Will not display comments for threads the member does not have permission to view.

The ACP options for this hack are in the vBulletin User Reputation settings.

To install - unzip the XML file and import it into vbulletin via the ACP Product Manager.


History:

v1.10 : First vb 3.6 version.
v1.11 : Minor code changes.
v1.12 : Updated for Version Checking.
v1.13 : Thread permission checking added.
v1.14 : Dependancies updated, URL's updated (not released).
v1.15 : SQL changed to use slave.
v1.16 : Minor SQL changes.
v1.17 : Minor template change.

Mudvayne
08-08-2006, 07:46 PM
w00t.. 1st install :D..

Stromba
08-08-2006, 08:58 PM
Ok have instal it but dont now where i need to look,
Do we have Screenshots..

FleaBag
08-08-2006, 09:14 PM
I love it! Thanks a lot! :)

Stromba: Look at the profile of someone who has repuation comments. ;)

G_Man
08-26-2006, 01:52 AM
What a GREAT hack!!!

Thanks, Paul !!!

davelacey
09-02-2006, 11:40 AM
Thankyou yet again. :)

*clicks install*

GrendelKhan{TSU
09-04-2006, 06:10 PM
:) installed!

asj
09-04-2006, 11:06 PM
thanks

Masiello
09-20-2006, 11:10 AM
INSTALLED, Thanks Paul, your hacks are really the best!

G_Man
09-21-2006, 01:23 AM
Hey Paul,

Found something that I would like changed if possible... Permissions. I have parts of my forum that are not accessible to everyone, yet when a Rep Comment is made in those forums everyone can view the comment and see the link to the forum. Of course, they cannot get into the forum, but I'd rather they didn't see it.

Cheers,

G_Man

Paul M
09-21-2006, 02:25 AM
I suspect that would add a layer of complication, and as such, is unlikely to be fixed. I'll have a look if I get time.

Paul M
09-23-2006, 09:12 PM
Well it did add a bit of complication, but not as much as I suspected - try the new version 1.13.

G_Man
09-23-2006, 09:39 PM
Well it did add a bit of complication, but not as much as I suspected - try the new version 1.13.

Sweet... will try it out right now! Cheers Paul!!


*** Works perfectly as far as I can tell ***

Thanks again, Paul.

Masiello
09-24-2006, 06:18 AM
How to upgrade? Just Install product with Overwite Option enabled?

G_Man
09-24-2006, 07:17 AM
How to upgrade? Just Install product with Overwite Option enabled?


Yep. That would do it. ;)

Masiello
09-24-2006, 07:21 AM
Thank you :)

Masiello
10-04-2006, 07:14 PM
Can this works fine with vB 3.6.2?

Minha
10-08-2006, 07:45 PM
Installed ;)

Good Work :D

Equinox6
10-11-2006, 06:12 PM
Does enyone no if this will work with 3.5.4? or if there is a hack like that for that version?

Paul M
10-11-2006, 06:32 PM
The 3.5 version is listed in the similar threads at the bottom of the page.

Jealousy10312
10-26-2006, 12:59 AM
This doesnt work on my board. We're using 3.6.2

Jealousy10312
10-26-2006, 01:00 AM
Is there something I should add in the profile template?

Paul M
10-26-2006, 03:08 AM
Nope.

Handbag
11-24-2006, 02:18 PM
Quick q - do you think this can be easily modified to display latest user notes on profile (roughly by changing references to rep to notes) or is it more complicated than that? :)

da420
11-24-2006, 03:47 PM
I get this database error when installing. Nothing shows up in the users profile.


Database error in vBulletin 3.6.4:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'mprshow',
'reputation',
'1',
'1',
'boolean',
'yesno',
152,
0,
1,
'',
0,
'paulm_20060801'
),
(
'mprcomments',
'reputation',
'20',
'10',
'number',
'',
154,
0,
1,
'',
0,
'paulm_20060801'
),
(
'mprshowgrps',
'reputation',
'0',
'0',
'free',
'',
156,
0,
1,
'',
0,
'paulm_20060801'
),
(
'mprshowratergrps',
'reputation',
'0',
'0',
'free',
'',
158,
0,
1,
'',
0,
'paulm_20060801'
);

MySQL Error : Duplicate entry 'mprshow' for key 1
Error Number : 1062
Date : Friday, November 24th 2006 @ 09:44:36 AM
Script : http://www.xxxxxxxxx.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.xxxxxxxxx.com/forum/admincp/plugin.php?do=productadd
IP Address : 135.214.40.162
Username : xxxxx
Classname : vb_database

* da420 clicks install

da420
11-24-2006, 03:52 PM
lol I just reinstalled the 3.5.x version for it and no database errors and seems to work fine. I just saw that it was updated for 3.6.x so I figured I'd upgrade, but I guess the 3.5.x version will do for now.

Paul M
11-24-2006, 11:05 PM
That's some bizarre oddity on your forum, it's complaining that one of the mods settings already exists, did you uninstall the old version first ?

da420
11-25-2006, 02:59 AM
Yep, I tried over writing it. Then when that didn't go so well, I tried doing an uninstall, and re-upload of the product with the same result.

da420
11-25-2006, 04:14 AM
heh, that's funny... I just tried it again at home after it failed at work, and it installed fine. Funny though, because I did a complete uninstall of it, and then did tried to install it without overwrite to test if there was something left there from the uninstall, and certainly even after a clean uninstall it wouldnt let me install it without over write. Once I picked to over write it worked fine.

caliman
12-13-2006, 04:36 AM
Paul I got the same database error as da420.

I selected 'overwrite.'

May be worth mentioning I have zoints local mod installed.

EDIT - Uninstalled old one and reinstalled new one. WORKS!

RealitYYY
12-27-2006, 03:12 AM
Great hack and thanks much for this. We have this setup so just Staff can view what members posted rep points. This way its not public who posted the rep for a member. Would there be a way so that when a member looks at their own profile they can view who posted rep for them.

Paul M
12-27-2006, 09:34 AM
That would be a bit pointless really - they can already view that in their usercp - it would just be duplication.

parabat
12-27-2006, 10:00 AM
Nice on Paul. Always a pleasure doing "business" :D

-PB

RealitYYY
12-28-2006, 04:10 AM
Thanks for the quick reply and we have a question on this.
How can we remove thread title and the time and date.

EDIT: We edit plugin and templates and are set now...

TheBlacki
01-17-2007, 06:33 AM
WOW!!!

Paul M. you are the best vBulletin Hack Coder I know!!!

rjmjr69
02-08-2007, 09:49 AM
Wow works great can not ask for an easier install. Thank you very much sir. Once again a great mod. Keep up the good work keep those hacks coming.

basketmen
02-25-2007, 01:48 PM
hmm i still dont get it

my vbulletin 3.6.4

i had install this hack for 2 weeks, but i think there is no diference at all if i enable or disable this hack in usercp member

can someone tell me what is the different?

Paul M
02-25-2007, 02:31 PM
This has nothing to do with the usercp - this adds the display to the members profile page.

projectego
02-28-2007, 02:18 PM
Thank you very much, Paul! ;)

* projectego clicks install

stinger2
03-07-2007, 08:56 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=141373&highlight=pm+reputation" target="_blank">https://vborg.vbsupport.ru/showt...=pm+reputation</a>

any chance this could be added.......it would be great to have a pm notification also

thanks

Paul M
03-07-2007, 10:45 AM
Sorry, there is no chance that such a feature would be added to this modification.

This is a reputation display enhancement, not related to the giving of reputation.

stinger2
03-07-2007, 01:05 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=122592&page=4" target="_blank">https://vborg.vbsupport.ru/showt...=122592&page=4</a>

sorry...i meant to reply to this thread ....also YOUR hack......

but do you think it is possible to be as a new hack maybe?

KrisP
03-12-2007, 09:46 PM
almost all users have show reputation level turnned off in their cp' s - how do i enable these ?

Terminatoronly
04-04-2007, 12:36 PM
cool i like it must installed :D

deezelpope
04-05-2007, 03:49 PM
Very nice! Installed...thank you!

Makc666
04-17-2007, 06:35 AM
Paul M, there is some mess up in this mod for option "Reputation Display in Profiles - Allowed Groups".
1. User Test made a post.
2. User Pocket gave a reputation for Test's post.
3. Moderator Soft deleted Test's post.
4. When we go to Test profile we will not see Pocket's reputation given to Test's post.

In VB's ACP->View Reputation Comments such reputation comments can be seen.

P.S. I didn't make tests with Physically remove option. Only with 'Soft' delete :)

Can you add one more option, please, like:
Reputation Display in Profiles - Groups allowed to see deleted reputation.

Thanks

Paul M
04-17-2007, 06:54 AM
There is no "mess up", that is standard vb behavior for rep comments when a post is deleted, and won't be altered.

croportal
04-25-2007, 06:42 PM
i cant download attachment

Paul M
04-25-2007, 06:58 PM
Try again ?

Makc666
05-14-2007, 12:25 PM
in vBulletin 3.6.6
in template
USERCP
there was change:

3.6.5
<tr>
<td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>

3.6.6
<tr>
<td class="thead">&nbsp;</td>
<td class="thead">$vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>


According to this change I propose to change in this modification to make tables headers look the same way:
From:
<tr>
<td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>

To:
<tr>
<td class="thead">&nbsp;</td>
<td class="thead">$vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>

Paul M
05-14-2007, 08:51 PM
Seems reasonable, I'll release an update in a bit.

Mudvayne
05-15-2007, 07:18 AM
Thanks Paul. Updated!

croportal
05-17-2007, 03:02 PM
works great

DWDYEM2001
06-07-2007, 12:03 PM
Works nice. The commets in the hack work great.

What I dont understand is the basic reputation levels. Where are the basic Reputation Levels displayed? I don't see them anywhere.

Paul M
06-07-2007, 03:22 PM
Basic Reputation Levels ?

lasto
08-05-2007, 05:01 PM
this is good but is there one to show in posts reputation remarks ??

Paul M
08-05-2007, 05:18 PM
Installed this and it works great, but when I went into my admin cp to delete some comments I got this message


Fatal error: Existing data passed is not an array
Called set_existing in /var/www/vhosts/eroticspice.com/httpdocs/forums/xxxxx/adminreputation.php on line 605
in /includes/class_dm.php on line 235

What do I need to do to fix this? Thanks.

No idea since the ACP reputation controls have nothing to do with this modification. :)

wickland
08-10-2007, 11:15 PM
Nice hack, easy to install and extremely useful. Installed :)

Thanks

pauloo
08-17-2007, 05:32 PM
Thank you

megamoose
09-07-2007, 04:53 PM
This is a fantastic mod ;) Thanks so much for making it.

Works like a charm.

Mark

VADOS
11-28-2007, 12:47 PM
Thanx man, mod works great!

coffee
11-28-2007, 04:31 PM
Installed on 3.6.8PL2!

Pathfinder
11-28-2007, 05:32 PM
Works perfectly, I love this mod! :)

alexgeek
01-01-2008, 05:38 PM
Thanks mate!

Alfa1
01-05-2008, 07:16 AM
Great mod Paul. Are you planning to port it?

Paul M
01-05-2008, 10:02 AM
Yes.

Alfa1
01-05-2008, 03:41 PM
Thanks in advance then.

*subscribes*

parash
01-06-2008, 05:50 PM
thanks...

RealitYYY
01-07-2008, 09:12 PM
Noticed with the new vb update that now this shows in all members profiles now. This wouldnt show before the update for members that chose not to show reputation in their options. Might be overlooking an option perhaps. How could this be setup so members have a choice if their reputation is shown to others in their profile. The simplest would be something based on their choice for reputation in the options they select...

mfyvie
01-09-2008, 10:42 AM
As always, excellent work Paul M.

I made one small modification to show the actual number of points given when you hover over the green, red or black icon. It's pretty simple, just edit Memberinfo_reputation_bit and search for:

<td class="alt2"><img src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" border="0" alt="" /></td>replace with:
<td class="alt2"><img src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" border="0" alt="Points given: $reputation[reputation]" /></td>Might be an idea for future versions?

AngelBlue
02-27-2008, 01:57 PM
As always, excellent work Paul M.

I made one small modification to show the actual number of points given when you hover over the green, red or black icon. It's pretty simple, just edit Memberinfo_reputation_bit and search for:

<td class="alt2"><img src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" border="0" alt="" /></td>replace with:
<td class="alt2"><img src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" border="0" alt="Points given: $reputation[reputation]" /></td>Might be an idea for future versions?


How about :


<td class="alt2">
<if condition="(($reputation['reputation'] < -1) || ($reputation['reputation'] > 1))">
<B><if condition="$reputation['reputation'] > 0">+</if>$reputation[reputation]</B>
<else />
<img src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" border="0" alt="$reputation[reputation]">
</if>
</td>

karlm
09-16-2008, 09:11 PM
Uninstalled, so I can use the 3.7.x version (https://vborg.vbsupport.ru/showthread.php?t=169555)...