Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
[3.0.7 to 3.0.3] De-anonymizing Reputation Details »»
[3.0.7 to 3.0.3] De-anonymizing Reputation
Version: 1.00, by memobug memobug is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-20-2005 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

Background: The existing vB Reputation System is anonymous, which is fine in a perfect world, but here on earth this can lead to problems: Some users abuse the system by reputation "sniping," and others could potentially abuse its anonymity by "signing" a different username to their negative reps and stir up even more trouble.

With that in mind, here is an ultra simple hack that removes the anonymity of reputation by "signing" reputation comments with the username.

One code modification to reputation.php. Installation & test time is under five minutes.

Right before this bit near line 192:

Code:
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "reputation (postid, reputation, userid, whoadded, reason, dateline)
VALUES ($postid, $score, $userid, $bbuserinfo[userid], '" . addslashes(fetch_censored_text($reason)) . "','" . TIMENOW . "')
");
Insert this
Code:
	$reason.=" ({$vbphrase[leftby]} {$bbuserinfo[username]})";
Now send a rep to a test account and check it out through the existing admincp tool: User Reputation ->View Reputation Comments (BTW - I always have to set the end date a day forward to catch all of today's reps on that query tool. I think it had a bug at one time)


Notes:
1. Screenshot? See attachment (the first reputation was left before I found the right phrase. The circled one is how it comes out.
2. You might also want to add something to your reputationbit template and/or your FAQ to let people know that the reputation system is not anonymous. This could go somewhere like this (new part in italics
Quote:
Originally Posted by reputationbit template
[your_comments_on_this_post]:<br />
NOTE: Your username will be automatically signed!<br />
3. A more involved hack might display something akin to what the admin can see by viewing reputation - seeing the sender's clickable username in a column of its own. The main reason I can't do that is I don't want to reveal the senders of past reps made under the anonymous system, but I'd agree it is the "right way."

Regards,

Matt

P.S. The attachments below are different colors 'cause they came from two different templates!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-21-2005, 09:08 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I am missing something but...doesn't enabling the Group Permission 'Can See Who Left Reputation' kinda 'de anonymise' the reputation?
Reply With Quote
  #3  
Old 04-21-2005, 09:35 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks since i've disabled negative reputations my users would love to know who they recieve their comments / reputations from

One question since moderators and above can see reputation comments by default isn't there a way to make this available to normal users instead of having the name signed as then all previous comments would also show who the comments were left by as now as an admin i got two places where it shows who its left by
Reply With Quote
  #4  
Old 04-21-2005, 09:46 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
Maybe I am missing something but...doesn't enabling the Group Permission 'Can See Who Left Reputation' kinda 'de anonymise' the reputation?
that's what i thought :happysad:
Reply With Quote
  #5  
Old 04-21-2005, 09:56 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
that's what i thought :happysad:
*points at post above sabe's*

Maybe it was only enabled in our versions...
Reply With Quote
  #6  
Old 04-21-2005, 10:24 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not enabled in 3.0 i had to change the templates around in which case i don't need this hack anymore either :P
Reply With Quote
  #7  
Old 04-21-2005, 12:11 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, my members can see who gone and up and done it anyhow.... hmmm
Reply With Quote
  #8  
Old 04-21-2005, 02:12 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice.. thanks for the contribution to the community...
Reply With Quote
  #9  
Old 04-21-2005, 03:11 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seeing who left rep comments is a standard feature of vB 3.0.x so I don't see what this is about. The comment "The existing vB Reputation System is anonymous" is simply not true.
Reply With Quote
  #10  
Old 04-21-2005, 04:31 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol is this a vb3 hack ? if yes then why it's in a beta of vb2 hacks ?!?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09318 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete