Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 04-21-2005, 07:11 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deathemperor
lol is this a vb3 hack ? if yes then why it's in a beta of vb2 hacks ?!?

I would like a mod that would insert a smart remark when I do this <insert a smart remark> .......
Reply With Quote
  #13  
Old 04-21-2005, 07:37 PM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry.

1. I can't blithely TURN ON the reputation display feature because we have a mature board with 100s of "anonymous" reputation comments. If I turn that on now it would start a range war.

2. I posted a request on this about four months ago but no one said anything. So maybe this hack will be useful for someone. Maybe not.

3. But I do agree it should be moved to the right section (Vb3 beta hacks or trash!) in locating the hack I noticed that the picklist let me select vb3.0.7 so I thought I was in the right forum.

If this isn't of any use please delete it. Given this response i think my first hack will be my last.

bye,

Matt
Reply With Quote
  #14  
Old 04-21-2005, 07:50 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awww cmon.... What about my request?
Reply With Quote
  #15  
Old 04-23-2005, 09:19 PM
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 memobug
3. But I do agree it should be moved to the right section (Vb3 beta hacks or trash!) in locating the hack I noticed that the picklist let me select vb3.0.7 so I thought I was in the right forum.

If this isn't of any use please delete it. Given this response i think my first hack will be my last.
"Releasing" a feature that is standard to all versions post 3.0.4 as a "hack" and saying it is for 3.0.7 is a little pointless, that's all.
Reply With Quote
Reply


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 09:01 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.04128 seconds
  • Memory Usage 2,249KB
  • Queries Executed 19 (?)
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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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