Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2012, 02:23 PM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 10-30-2012, 11:16 AM
DrPrepper DrPrepper is offline
 
Join Date: Jan 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-30-2012, 12:07 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried running the cron and see if it updates them?
Reply With Quote
  #4  
Old 10-30-2012, 12:16 PM
DrPrepper DrPrepper is offline
 
Join Date: Jan 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
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?
Reply With Quote
  #5  
Old 10-30-2012, 12:34 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
DrPrepper
  #6  
Old 10-30-2012, 12:49 PM
DrPrepper DrPrepper is offline
 
Join Date: Jan 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
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!
Reply With Quote
  #7  
Old 10-30-2012, 02:29 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 10-30-2012, 05:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #9  
Old 10-31-2012, 01:30 PM
DrPrepper DrPrepper is offline
 
Join Date: Jan 2012
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 08:35 PM.


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.05930 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete