View Full Version : Profile Enhancements - Reputation Extras - Rep Archives, Rep Given, Edit Rep
phlogiston
10-21-2007, 10:00 PM
This mod will add a couple of extra reputation features & options to your forums, including:
A Reputation Archive of all old comments & ratings given and received.
Showing the most recent reputation given in UserCP.
Filter reputation to show only positive, negative or balanced.
Filter reputation to show a specific user only.
Browse other users reputation (suggest Moderators only!)
Edit/Delete Reputation Comments. (With optional time limit.)All options are controlled on/off via usergroup permissions.
Admincp options include setting a time limit for editing reputation as well as globally enabling/disabling the extra features.
Links to the Reputation Archives will be shown in your main UserCP page (in the header of the reputation areas - see screenshots) via automatic template edits or you may wish to manually add a link to the new file elsewhere by linking to www.your.domain/forum/repextras.php.
Install Instructions:
Download & unpack the .zip file; upload the files in the 'upload' folder to your forum directory; import the product-spoilt_repextras.xml file via your admincp product manager. You'll then need to edit admincp options and usergroup permissions to allow access to the new features :)
Thanks to dutchbb for his continued interest spurring me to release an updated version of a very old mod. Special Thanks to Dogtanian for keeping me amused during the re-coding due to using a test rep comment of "one for all and all for one"!
http://content.altnation.com/gallery/files/4/8/0/ss710210vbs_reparchive-anim_original.gif
Changelog:
v2.2
* Fixed sessionid variable typo.
* Added missing phrase 'view_archive'.
* Cached rep given template for usercp.
* New archive page length option.
* admincp on/off for rep editing.
* "Guess reppower" feature for editing older comments.
* "Anonymise" option for archived reputations.
* More thorough on/off permissions checking.
* Fixed miscount of total reps related to ignorelist.
v2.1
* First public release.
* Stripped to rep archives, rep given & rep editting.
v2.0
* Initial recoding for vB 3.5 & www.altnation.com (http://www.altnation.com)
v1.0
* Historic original version.
Similar Mods:
The Reputation Given in UserCP feature can also be found in Paul M's mod at 122592 which may well be a better choice if the extra features here are unwanted.
aycan555
10-21-2007, 10:57 PM
fırst post reserved;) thank you...
Stingray27
10-21-2007, 11:06 PM
Nice .. and yet this seems to have a lot of code "borrowed" from this, without any mention ;
https://vborg.vbsupport.ru/showthread.php?t=122592
phlogiston
10-21-2007, 11:15 PM
Nice .. and yet this seems to have a lot of code "borrowed" from this, without any mention ;
https://vborg.vbsupport.ru/showthread.php?t=122592
None of the code was "borrowed" from that mod although it shares similar ideas so I can understand you see a resemblance even before you've downloaded this one! (I even made a point of not downloading the other mod when checking if there already existed a mod offering all that this one does so that I didn't unintentionally crib!). I did however borrow heavily from vbulletin's own reputation handling in the admincp and simply transferred the edit/delete ability to the user front-end. :)
This is in fact an update of my own code from years ago at 60496.
My aim here is to develop this further and to add such features as rep ranking by reputation per post and stats on the most repped post, find who your best rep friend is, etc, etc
Paul M
10-21-2007, 11:59 PM
Hmmmmm, I think some parts share a bit more than just similar ideas ;)
A lot of it does indeed originate from vb itself (as does my various versions) so it is bound to look similar, but interestingly, one or two minor changes I made from the original vb code seem to have transferred themselves into this version. :)
Some nice additions on top of what mine does though. Might be one less I need to port to future versions. :cool:
Spank
10-22-2007, 12:03 AM
Looks like a nice mod. I'll install later. "It's just a rep to the left..." lmao
FreshFroot
10-22-2007, 12:15 AM
really neat mod, will try it out shortly :)
projectego
10-22-2007, 08:09 AM
* projectego clicks install :D
dutchbb
10-22-2007, 10:37 AM
Thank you phlogiston, it looks perfect on the screens. However I can't see the archive options on my board, usergroup settings are all set to yes?
Pocket Aces
10-22-2007, 10:59 AM
Thank you phlogiston, it looks perfect on the screens. However I can't see the archive options on my board, usergroup settings are all set to yes?
Same here. I cant see the 'view all' option. I have another hack related to rep system... https://vborg.vbsupport.ru/showthread.php?t=146438 Could it be causing any conflict?
dutchbb
10-22-2007, 11:20 AM
Same here. I cant see the 'view all' option. I have another hack related to rep system... https://vborg.vbsupport.ru/showthread.php?t=146438 Could it be causing any conflict?
I don't have that hack installed but I do have one other rep hack installed: 'Enhanced Reputation Checks' but when this product is disabled the rep archive still does not show.
[EDIT] tried it on a fresh install, also no archive?
princeedward
10-22-2007, 12:07 PM
Nice & Thanks....Install According To All Instructions...But.....
71356
phlogiston
10-23-2007, 04:02 PM
Looks like a nice mod. I'll install later. "It's just a rep to the left..." lmaoIt's always good to have a bit of Rocky Horror sometime during the day ;)
really neat mod, will try it out shortly :)* projectego clicks install :Dthank you both :)
phlogiston
10-23-2007, 04:15 PM
Same here. I cant see the 'view all' option. I have another hack related to rep system... https://vborg.vbsupport.ru/showthread.php?t=146438 Could it be causing any conflict?I'd imagine no conflict with that mod although I will check myself this evening.
'View All' turned out to be a missing phrase, can you see the brackets that would surround the text link? If so we'll be sorted when I update later this evening :)
If not then can you view the actual repextras.php file and the archives okay? The "View All" link is added automatically and if you have a customised usercp template you may have to add it manually - if you need help then give me a shout and I'll write up proper instructions.
Thank you phlogiston, it looks perfect on the screens. However I can't see the archive options on my board, usergroup settings are all set to yes?tried it on a fresh install, also no archive?I forgot to mention (to you especially) that the url addrtess will have changed, you should uninstall my old old version and revert the files & templates if needed. The new archived rep pages will be at www.your.domain/forum/repextras.php.
After that check the admincp options under "Extra Reputation Options" - make sure things are turned on there. Ensure that usergroups can view & use the reputation
system normally.
I'll be uploading a new release package (to fix the missing phrase and a couple other things I originally missed) later this evening when my main live "test site" gets back online and I've performed an upgrade myself just to double check everything.
phlogiston
10-23-2007, 04:18 PM
Nice & Thanks....Install According To All Instructions...But.....
71356
Okay tht's an odd one...!
Do you mean just the "go" button is missing or the whole line of options?
The options only show on the main archive pages at www.your.domain/forum/repextras.php and not in the usercp.
Also check to ensure the admincp options are set to 'yes' to enable the archive features and also that all usergroup permissions have been changed to allow members at least view access to them.
Let me know if that helps or if I need to dig further to help you. :)
dutchbb
10-23-2007, 06:15 PM
Ok it's working but I needed to hardcode/change the 'View All' in the plugin/template, because the installation did not make a new phrase. I'm not sure where this phrase should be manually made. It's working though so thanks, awesome hack and members will love it :)
phlogiston
10-23-2007, 06:32 PM
Ok it's working but I needed to hardcode/change the 'View All' in the plugin/template, because the installation did not make a new phrase. I'm not sure where this phrase should be manually made. It's working though so thanks, awesome hack and members will love it :)
:D good stuff that it's working fine now & yeah the phrase was my fault - the 'View All' phrase exists in vB Project Tools and I forgot to test the product with that disabled... oops!
(PS: remember to mark as installed so you get notice of updates ;))
I'll upload a sorted version in a few hours for those not wanting or able to fix the phrase themselves :)
phlogiston
10-23-2007, 09:46 PM
I've now updated the first post with a simple maintenance release to fix a couple of issues and a request.
Main points to note are:
- New seperate admincp page length option for the archives rather than defaulting to the same number shown in UserCP
- There is now an option in the admincp to set a date before which reputations will be anonymised. This avoids the situation of older reputations which were originally anonymous at the time revealing their authors when viewed in the archives. Simply set a date and any reputations left before then will retain their anonymity.
- Editting older reputations causes problems in figuring out the exact points value to use if changing the repuation from positive to negative or vice-versa. There is no fool-proof way around this (impossible to know the admincp settings, post counts & usergroup status at the time of the original rep) so we have to estimate & guess by doubling or halving the original value.
There is now a setting in the admincp to select when to use the currently calculated rep power and when to estimate using the halving/doubling method.
IR15H
10-24-2007, 02:02 PM
Very nice!
Is it possible that for viewing/editing others there's a link somewhere on their user profile (that takes you to editing their reputations), or, have a link next to "(View Archive)" that takes you to repextras.php, if the user has permission (rather than manually navigate each time)? If done the second way, maybe also use the thing that you get on PM'ing, where when you start to type in the user name it comes down with a drop down of all those user names.
phlogiston
10-24-2007, 02:44 PM
The link on profiles (for those with permission) is a good idea - and I think there should be a template hook in vBulletin to make it very easy so I'll definitely add that on my to-do list.
The PM style auto-complete for usernames I would also like to implement, I admittedly simply didn't bother with it for the initial release just so that I could get the code out and released before I tinkered with any more fancy bells & whistles! Also on the to-do list for next release version.
Cheers for the feedback & good suggestions :)
IR15H
10-24-2007, 11:16 PM
Hello,
Glad that my suggestions are on your to-do list :).
I found a problem however, when editing (switching I approve/disapprove, and/or the comment) nothing happens, same when trying to delete reputations. This happens with both my own reputation (in both User CP or repextras.php), or others. There's no error, it looks like it's processed it and returns you to the page, but the reputation is completely unaltered. All permissions are set to yes in usergroup management.
phlogiston
10-25-2007, 08:35 AM
Ahh, where's the big embarrassed face smiley? I'd left a debug mode on in the file I uploaded.
For those who installed the 2.1.1 version and who wish to edit reputations the fix is either:
redownload the zip package and upload the repextras.php file to your server
OR in your existing repextras.php file:
FIND (line 14)//$doquery = false;and REPLACE with$doquery = true;
:o
IR15H
10-25-2007, 02:15 PM
That did the trick, works great now :).
princeedward
10-25-2007, 05:23 PM
Okay tht's an odd one...!
Do you mean just the "go" button is missing or the whole line of options?
The options only show on the main archive pages at www.your.domain/forum/repextras.php and not in the usercp.
Also check to ensure the admincp options are set to 'yes' to enable the archive features and also that all usergroup permissions have been changed to allow members at least view access to them.
Let me know if that helps or if I need to dig further to help you. :)A-OK! Now...after the update...thanks...work like a charm now....wonderful idea...keep it up bro....;)
yahoooh
12-03-2007, 11:39 PM
thanks ,great work
thefullmaza
12-08-2007, 03:01 PM
Thanks....Install
katie hunter
12-09-2007, 10:19 AM
Nice hack ! but I've received this error after i install it and went to the admin cp > option and saved my setting it shows this while saving ?
http://i222.photobucket.com/albums/dd237/mizuki09/rp.jpg
clayh456
12-14-2007, 05:16 AM
At first when I installed this I was able to use the archive while having my own reputation disabled in User CP > Edit Options.
I don't like mine to show in my profile but I used the archive link to access my own archive (since people can still give reputation when you have its display disabled). I was able to use the archive viewer to view other people's and etc.
However... suddenly tonight, I can't use the archive while I have my own reputation disabled.
Is there a way to get around this? Currently, while having my reputation disabled (but I'm an administrator, and the administrator usergroup does have all permissions set to "yes"), I am presented with a blank white page when I try to perform any of the repextras.php?do=XXXXXXXXXX (XXXXXXXXXX being any of the functions of the archive, namely repin).
As an administrator I should be able to use the archive regardless of my own personal setting - at least in my opinion. I don't know why it's suddenly not working, as I've not changed any settings. :/
TCE Killa
12-25-2007, 10:00 PM
I get an error trying to view the archive in who I've given repped to and received rep. Great mod btw.
katie hunter
01-21-2008, 10:12 PM
Ahh, where's the big embarrassed face smiley? I'd left a debug mode on in the file I uploaded.
For those who installed the 2.1.1 version and who wish to edit reputations the fix is either:
redownload the zip package and upload the repextras.php file to your server
OR in your existing repextras.php file:
FIND (line 14)//$doquery = false;and REPLACE with$doquery = true;
:o
I am receiving this error when saving setting in the admin cp
Warning: gmmktime() expects parameter 5 to be long, string given in /admincp/options.php(1034) : eval()'d code on line 15
Tr@nsltr
01-25-2008, 12:59 AM
I'm getting a message that I don't have permission to view the archives. I have all the rep permissions set to "yes" and everything else seems to be fine. I didn't notice anything in admincp options and usergroup permissions that needed adjusting either.
[EDIT] This wasn't showing up on the admincp index page: Help SpoiltCat Reputation Extras Permissions
It's working now.
mahsazn
03-02-2008, 12:46 PM
I'm getting a message that I don't have permission to view the archives too! what should i do?
ult1lar
03-21-2008, 11:53 AM
I don't have permission to access the repextras.php page.
I have no edit features.
Skyrider
03-30-2008, 10:54 AM
Through the "what user is doing what", I'm getting:
FF|Skyrider --> Unknown Location
/repextras.php?user=DJ-Ready&posneg=0&do=repout&filter=
dutchbb
05-05-2008, 02:12 AM
It does not work with 3.7 :(
Please update this awesome mod :)
It does work with 3.7 I just installed it.
Terrie
05-11-2008, 06:28 PM
I have it on 3.7 gold and it works just fine :)
jilly
05-17-2008, 01:49 AM
On my board, anonymous rep is not turned on, and so members want to see who gave them the old rep comments in their archive. I tried setting a much older date for the start of 'anonymous' rep, like back when my board started - it started in April 2001 so I set the date to May 2001 - but it does not 'stick' - i hit save, and each time it clears it out of the options area in the admincp editing area.
How can I make it so that my users CAN see the names of who gave them all reputation?
Paul M
05-17-2008, 02:00 AM
Please update this awesome mod :)
Just a reminder, but its always worth checking when an author/coder was last online, in this case that was Dec 2007.
jilly
05-18-2008, 10:27 PM
Just a reminder, but its always worth checking when an author/coder was last online, in this case that was Dec 2007.
Ay caramba! Where's my time machine so I can go back to December and ask before he bails?? (looks around for the timeline platform)
Paul, you could just assimilate this into your mods then, right? I KNOW you are sitting around without much to do - borgify his code, since he stole yours to begin with :D:D
dutchbb
05-22-2008, 08:29 PM
It does work with 3.7 I just installed it.
I have it on 3.7 gold and it works just fine :)
I'm just seeing a blank page where the rep archive used to be :s
Just a reminder, but its always worth checking when an author/coder was last online, in this case that was Dec 2007.
Maybe he has a subscription and reads the notification pms. I still hope he will update, this is a great mod unfortunatly for some reason I can't get it to work in 3.7. :(
Adrian Schneider
07-11-2008, 08:03 PM
On my board, anonymous rep is not turned on, and so members want to see who gave them the old rep comments in their archive. I tried setting a much older date for the start of 'anonymous' rep, like back when my board started - it started in April 2001 so I set the date to May 2001 - but it does not 'stick' - i hit save, and each time it clears it out of the options area in the admincp editing area.
How can I make it so that my users CAN see the names of who gave them all reputation?
I just ran into this, and here is what I did to fix it,
1) Disable any duplicate plugins (it might have been my site, but two or three plugins had duplicates)
2) Edit the "Convert Fancy Admin Options" plugin, and change this if ($oldsetting['varname'] == 'screp_anondate')
{
$vbulletin->GPC['setting']['screp_anondate'] = gmmktime(0, 0, 0, $vbulletin->GPC['setting']['screp_anondate']['startmonth'], $vbulletin->GPC['setting']['screp_anondate']['startday'], $vbulletin->GPC['setting']['screp_anondate']['startyear']);
} to this if ($oldsetting['varname'] == 'screp_anondate')
{
$settings[$oldsetting['varname']] = $vbulletin->GPC['setting']['screp_anondate'] = gmmktime(0, 0, 0, $vbulletin->GPC['setting']['screp_anondate']['startmonth'], $vbulletin->GPC['setting']['screp_anondate']['startday'], $vbulletin->GPC['setting']['screp_anondate']['startyear']);
}Note I added a simple $settings[$oldsetting['varname']] = to the already existing assignment not to muck any other dependencies on it.
This will fix the "N/A"s showing up where they aren't supposed to.
Cheers
steve71
10-05-2008, 12:31 AM
First of all, thanks for this mod. Circle repping has been a major problem with our forum, so this mod enables us to max out the user spread, so members are forced to edit, or delete their previous rep instead of giving a new one. Major thumbs up for having the points from an increased rep power be applied when editing a rep..even if the edit is positive to positive, or negative to negative.
One thing that could be a great addition to this mod would be if members attempt a second rep, the pop up box states:
You have already given Joe Blow 12 Reputation points. Currently your reputation power is 18 points..do you wish to apply your (6) new points?
Positive (+6 points)
Negative (-30 points) (-12 and -18)
Delete (-12 points)
Check this box if you'd like the member notified.
We use the rep system for our members to self moderate...at -25 a member can no longer post in certain forums. This mod makes the whole system a lot more credible.
Also..instead of maxing the user spread..an option to not allow multiple reps would be cool.
Again, Thank you!
dutchbb
11-02-2008, 06:13 PM
Still seeing a blank page .... what could be the reason for this?
mikey1991
12-08-2008, 09:36 PM
I have a duplicate of the 'Reputation Given' Archive, can someone help me to remove this?
buro9
12-29-2009, 05:53 PM
Is this wonderful mod available for VB4? If it needs a donation to help it move along, then I'd be happy to help.
Thunderbird8
01-07-2010, 08:06 PM
I just set this up on the forum I help run, but I had to comment out references to the reputation anonymous date or else it threw DB errors trying to search. It appears on 3.8, the reputation anonymous date is not set properly.
PGP_Protector
05-05-2010, 03:44 AM
Anyone know what is required to get this working with 4.0.3
Thunderbird8
06-18-2012, 06:22 AM
Awhile back, I spent quite a bit of time converting this modification to vB4 as part of the process to move my board from vB3 to vB4. At the time, I didn't convert the edit part, because that option isn't in use on my board.
If there's interest (and if I get permission to do so, of course), I'd be willing to release what I have...after I finish fixing up the editing part.
Note that what I have currently only works on 4.1.12 (I've also run everything but the editing part on vB versions 4.1.5-4.1.11), I'm only about half done with the necessary changes for 4.2.
Charles_1
07-03-2012, 01:32 PM
Awhile back, I spent quite a bit of time converting this modification to vB4 as part of the process to move my board from vB3 to vB4. At the time, I didn't convert the edit part, because that option isn't in use on my board.
If there's interest (and if I get permission to do so, of course), I'd be willing to release what I have...after I finish fixing up the editing part.
Note that what I have currently only works on 4.1.12 (I've also run everything but the editing part on vB versions 4.1.5-4.1.11), I'm only about half done with the necessary changes for 4.2.
Thunderbird, I would be interested in your modification for vB4 for sure, becouse in vB3.x I was using this mod and since upgrade to vB4 it is not working anymore and users are still asking for it. Please, let us know if you can release it here.
friendlymela
10-05-2015, 04:14 AM
I want a point system plugin for my http://friendlymela.com :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.