vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)

pspcrazy 08-28-2007 04:20 PM

I'm having some odd glitches with this software as of yet. With the rate thread feature i can get 500 points from one rate when i set the multiplyer to 0 and the rate feature to 5. Also i woke up today and someone had -45000 points randomly and that person was a mod :|

pspcrazy 08-28-2007 04:22 PM

Very nice i can't wait for vbcommerce until then i'll keep the shop software nothing :)

harmor19 08-28-2007 05:46 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1327212)
add their own link? right now theres really only one link (two in 1.4) so i dont know what good a full menu would be. perhaps for vbcommerce though.

I meant for people creating add-ons to vBCredits. For example let's say I'm developing an add-on for a lottery system (I know it's been done before). I can use a hook to add a link under a central menu that links to my lottery script.

Darkwaltz4 08-28-2007 06:35 PM

Quote:

Originally Posted by pspcrazy (Post 1327449)
I'm having some odd glitches with this software as of yet. With the rate thread feature i can get 500 points from one rate when i set the multiplyer to 0 and the rate feature to 5. Also i woke up today and someone had -45000 points randomly and that person was a mod :|

oh yeah, there was a thread rating bug :D did that mod have lots of referrals?

Quote:

Originally Posted by harmor19 (Post 1327507)
I meant for people creating add-ons to vBCredits. For example let's say I'm developing an add-on for a lottery system (I know it's been done before). I can use a hook to add a link under a central menu that links to my lottery script.

oh....well thats not a life or death thing :-p depends if i think it needs a menu yet

harmor19 08-28-2007 06:56 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1327541)
oh....well thats not a life or death thing :-p depends if i think it needs a menu yet

I just thought it would be better than having people edit their navbar template to add a link for the add-on. Well keep doing what you're doing :-p

pspcrazy 08-28-2007 08:50 PM

Yea she did, but i removed all the multipliers so im a bit confused :|

Darkwaltz4 08-28-2007 09:13 PM

yeah - i know all about that bug.

to fix:
Edit Plugin: Thread Rate Credit Application
FIND
PHP Code:

$reward = ($this->registry->userinfo['permissions']['credit_threadrate'] * $this->registry->userinfo['credits_numrefs']) * $this->registry->userinfo['permissions']['credit_threadrate']; 

replace with
PHP Code:

$reward = ($this->registry->userinfo['permissions']['credit_refbonus'] * $this->registry->userinfo['credits_numrefs']) * $this->registry->userinfo['permissions']['credit_threadrate']; 

might want to recalc everyone's credits afterwards

davewmack 08-29-2007 04:16 PM

Is there anyways to have vbcredits add points for everyones posts/referrals retroactively?

thanks

vitrag24 08-29-2007 04:19 PM

Quote:

Originally Posted by davewmack (Post 1328196)
Is there anyways to have vbcredits add points for everyones posts/referrals retroactively?

thanks

It is there already.
Check global settings and settings for each usergroup from ACP.

vitrag24 08-29-2007 04:20 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1327664)
yeah - i know all about that bug.

to fix:
Edit Plugin: Thread Rate Credit Application
FIND
PHP Code:

$reward = ($this->registry->userinfo['permissions']['credit_threadrate'] * $this->registry->userinfo['credits_numrefs']) * $this->registry->userinfo['permissions']['credit_threadrate']; 

replace with
PHP Code:

$reward = ($this->registry->userinfo['permissions']['credit_refbonus'] * $this->registry->userinfo['credits_numrefs']) * $this->registry->userinfo['permissions']['credit_threadrate']; 

might want to recalc everyone's credits afterwards


Hi
what is this fox for?
do i need to edit ?


All times are GMT. The time now is 01:19 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.02495 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete