vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   reputation re-calculation (https://vborg.vbsupport.ru/showthread.php?t=288172)

squishi 09-22-2012 02:23 PM

reputation re-calculation
 
I have extended the functionality of the moderation panel to allow to edit individual reputation comments and the reputation points.

Is there a function available in vbulletin that allows to re-calculate the reputation of the member after making changes to one of the reputation comments?

DrPrepper 10-30-2012 11:16 AM

Am looking for this too. Just activated Reputation on a forum that's running for 10 months now and I want early members and members with lots of post receive their 'missed' reputation so far, based on the settings (like +1 for every day you're a member etc).

Is there a way to recalculate reputation points, based on settings in admincp and combined with individual user activity?

PS: Running 4.2.0 so I'm in the wrong subforum here, but seemed logical to me to write in existing thread

Simon Lloyd 10-30-2012 12:07 PM

Have you tried running the cron and see if it updates them?

DrPrepper 10-30-2012 12:16 PM

Quote:

Originally Posted by Simon Lloyd (Post 2377034)
Have you tried running the cron and see if it updates them?

What I did in the Admincp is: Maintenance > Update Counters > Regenerate user reputation.
But that had no effect for settings like extra reputation for x days member, x postcount.

Is that what you ment by the cron? Or can I manually trigger a cron that might do the trick?

Simon Lloyd 10-30-2012 12:34 PM

The cron is the scheduled task to update users...etc you can simply go to http://www.YOURSITE.com/forum/adminc....php?do=modify and run the cron, when turned on it should calculate for all members.

DrPrepper 10-30-2012 12:49 PM

Quote:

Originally Posted by Simon Lloyd (Post 2377042)
The cron is the scheduled task to update users...etc

I only see 'User Promotions' but nothing like Update Users ... could it be a cron is missing?

Also, are you sure this will recalc Reputation, or is a guess that it might ...?
Thanks for your help so far!

Simon Lloyd 10-30-2012 02:29 PM

i dont understand why rebuilding reputations in the maintainance>update counters isn't doing it for you as that should work for everyone!, I'll see what i can come up with but it will probably be a query the same as admincp!

--------------- Added [DATE]1351607883[/DATE] at [TIME]1351607883[/TIME] ---------------

Do you have the usergroups set to use reputations?

Lynne 10-30-2012 05:19 PM

Quote:

Rebuild User Reputation
This function recalculates user reputation using the value that you specify below then adds the total reputation the user has received so far. This will remove any custom reputation that has been given to the user through the user editor.
That should rebuild your Reputation Level which is a number based on all the reputation that is given to the user by others. There is also the users Reputation Power which is how much reputation he can give to others. Most of the stuff under AdminCP > Settings > Options > Reputation Options, like Register Date Factor and Post Count Factor, etc, have to do with the users Reputation Power (how much they give), not their Level (how much they got).

DrPrepper 10-31-2012 01:30 PM

Ah thanks Lynne, I see I misinterpreted the meaning of Reputation (i.e. I didn't get the diff between RL and RP). Now I see it worked just fine, thanks for assisting me.


All times are GMT. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01042 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete