Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBCredits - Ultimate Points System Details »»
vBCredits - Ultimate Points System
Version: 1.4rc2, by Darkwaltz4 Darkwaltz4 is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.x Rating:
Released: 03-06-2008 Last Update: 03-10-2008 Installs: 935
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

vBCredits is the ultimate points system for your vBulletin!
Click here for the vB3.6 compatible version

Yes, this also works for vB3.8!

Thank you to everyone who voted us MOTM

Features:
  • Earning Credits
    • Twenty-Four Actions Eligible for Awards
      • Induction
        • Registration, Promotion, Subscription, etc
      • Referral
      • Paycheck
        • Definable Time Period
      • Activity
        • Definable Qualification
      • Birthday
      • Grant Reputation
        • Can Integrate with Rep Power
      • Receive Reputation
        • Can Multiply Reputation Points
      • Infraction
        • Can Multiply Infraction Points
      • New Thread
      • Rate Thread
        • Can Multiply Rating
      • Posting
      • Own Thread Posting
      • Post Size
        • Multiply Against Chars or Words
        • Can Strip BB Code Prior
        • Definable Maximum
      • Your Thread Viewed
        • Can Disable Guest Views
      • Your Thread Rated
      • Your Thread Replied
      • Your Profile Viewed
      • Poll Creation
      • Poll Vote
      • Upload Attachment
      • Sending PM
      • Calendar Event
      • Profile Picture
      • Profile Fields
        • Can Multiply Number of Fields
        • Can Set Minimum Fields
    • Decimal Settings for Credits and Percentages
    • Protocol for Negative Balances
    • Award Recalculation when Action Changes
    • Award Negation Multiplier
      • When Action Revoked Such As Post Deletion
    • Forum Overrides
      • Twelve Eligible Actions by Usergroup
      • ACP Tool to Configure Multiple at Once
      • Earning in Forums Can be Turned Off
  • Displaying Credits
    • Everybody, Private, Nobody
      • Usergroup Permission to See All Private Amounts
    • Displays by Global, Usergroup, Forum
    • Lock Usergroups from Entire System
    • AJAX Navbar Amount Refresh
    • Display / Order by Savings, Checking, or Both
    • Richest User Listing
      • Can Exclude Usergroups From Listing
    • Display Credits in Memberlist
  • Extensive Referral System
    • Validate by Time, Posts, and Reputation
    • Referee Credit Incentive
    • Number of Referrals per Referral Point
    • Maximum Referral Points
    • Referral Points Multiplied Against Additive Referral Bonus
    • ARB Increases ALL Other Action Award Amounts
  • Post Award System
    • AJAX Through Thread or Profile
    • Can Spend From Central Board Account
      • Filled from Taxes, Fees, etc
    • Daily, User, Thread Limits
    • Can Disallow Negative Awards
    • Disable by Usergroup, Forum
    • Moderate by Usergroup, Forum
    • Can Publicly Display Awards in Thread
  • Transaction Log
    • Displays All Donations, Awards, Payments, Winnings, etc
    • Can be Split into Pages
    • Usergroup Permission to View All Users' Logs
    • Specify Transaction Alerts via PM
    • Comments and Reasons Allow BB Code
  • Donations
    • Support for Comments and Anonymous
    • Time Based User Limits
    • Donation Fee
    • Fee Handling Protocol
    • Moderate / Cancel Donations
  • Drawings
    • Unlimited Concurrent Drawings
    • Raffle / Lottery Types
    • Static / Raising Jackpots
    • Per Drawing Ticket Cost
    • Maximum Active Tickets
    • Minimum / Maximum Tickets Sold for Drawings
    • Recurring Drawings
    • Usergroup Discounts
    • Configurable Title and Date
    • Exclude Usergroups
    • Optional Winner PHP
    • Allow Lottery Number Picking
    • Tax on Winnings
    • Archive Time Limit for Completed Drawings
    • Retry Period for Ineligible Drawings
  • Savings Accounts
    • Validate Access by Time, Posts, and Reputation
    • Minimum Balance for Interest
    • Bank Transfer Fee
    • Pending Deposits
    • Early Withdrawal Fee
    • Interest Intervals
    • Maximum Savings per Usergroup
    • Configurable Usergroup Interest Rates
    • Moderate Deposits
  • Loans
    • Moderate Loans
    • Maximum Total Loans and Amounts
    • Minimum Loan Amount
    • Minimum Payment by Due Date
    • Late Payment Fee
    • Automatic Recurring Payments
    • Accountability Rating for Loan Repayment
    • Good and Bad Rating Thresholds
    • Lock Spending Ability if Below Bad Rating
    • Transfer Usergroups when Threshold Passed
      • Reward or Punish Users with New Rates and Abilities
  • Administrative Utilities
    • Mass Usergroup Updater
      • Select Template Usergroup to Copy Settings
      • Select Multiple Target Usergroups
      • Configure All Usergroup Settings and Awards
    • Mass Credit Updater
      • Retroactively Award Users Based on Settings
      • Can be Used to Award Static Amounts to All Users
      • Can be Used to Reset Entire Usergroups
      • Pick and Choose Usergroups and Awards to Calculate
    • Modify User Accounts by Criteria
      • First Search for Users Using Familiar Options
      • Can Search by Savings and Checking Amounts
      • Can Alter Resulting Users' Amounts Directly
      • Can Apply Easy-to-Use Custom Defined Formula
        • Use Simple Math, Numbers, and Variables
          • Days Registered
          • Post Count
          • Reputation
          • Infraction Points
          • Checking and Savings Amounts
  • Overall Quality
    • Everything is Easily Disabled / Unlimited
    • Will Not Alter Environment for vB or Other Hacks
    • Fully Phrased
    • Complete Admin Help*
    • WOL Locations
    • Includes Hooks
    • Unique Plugin Optimization
    • Uses Bitfields and Datastore
    • Maintains Sessions
    • Includes TMS Support
    • No File Edits
and much more!

Just follow the directions carefully in the zip based on whether you are clean installing or upgrading


Fully integrated with vBulletin and easily integrated with third party scripts:
Many hacks allow you to specify a points system by entering the table and column for the points data. Use TABLE: user COLUMN: credits when integrating vBCredits with such hacks (note: you may need to include your table prefix with some hacks)! If you are unsure about integration - ask me!

Why is this version not the gold version yet?
vBCredits 1.4rc1 went through a long bugtesting process at the official site, and rc2 is largely bug free in its entirety. However, *it is missing most of the admin help and post/thread deletion actions are temporarily removed while I figure out how to fix them.

Footnotes:
Thank you for using vBCredits, I would be happy to hear your feedback and correct anything that comes up. For more tailored support, please indicate you have installed this hack, and if you like it you can nominate this for MOTM. Use of this free hack requires that you retain the copyright line at the bottom of the forum (PM me otherwise). If you do not agree with this, please do not use vBCredits - thank you for your understanding and support!

Show Your Support

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

Comments
  #952  
Old 08-21-2009, 09:04 PM
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Oct 2008
Location: United Kingdom
Posts: 654
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No to all, but if I disable the cron job, will the credits stop from updating when people make posts and such?
Reply With Quote
  #953  
Old 08-22-2009, 06:53 PM
KeyHunterz's Avatar
KeyHunterz KeyHunterz is offline
 
Join Date: Mar 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with vbcredits.

When ever someone is active, posts etc... the points are given to all members. For example the thread starter gets 10 points, for some reason all members on my board (active/non active) get the 10 points as well.

Can anyone give me a fix for this?

I use vbulletin 3.8.2 with vbcommerce.

I tried the following : Uninstall vbcredits and install again. I did the same thing with vbcommerce.

Thanks
Reply With Quote
  #954  
Old 08-23-2009, 07:23 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikey1991 View Post
No to all, but if I disable the cron job, will the credits stop from updating when people make posts and such?
nope, only what i listed is what the cron controls.

Quote:
Originally Posted by KeyHunterz View Post
I have a problem with vbcredits.

When ever someone is active, posts etc... the points are given to all members. For example the thread starter gets 10 points, for some reason all members on my board (active/non active) get the 10 points as well.

Can anyone give me a fix for this?

I use vbulletin 3.8.2 with vbcommerce.

I tried the following : Uninstall vbcredits and install again. I did the same thing with vbcommerce.

Thanks
support for this continued on my site
Reply With Quote
  #955  
Old 08-26-2009, 04:19 AM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it now possible to award posts with a negative vbcredit?
so instead of 5 (for instance) ... it is -5.

Thank
Reply With Quote
  #956  
Old 08-26-2009, 01:55 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by students_forum View Post
Is it now possible to award posts with a negative vbcredit?
so instead of 5 (for instance) ... it is -5.

Thank
yep, all awards can have negative values. if you mean the post award system (where you click the gold icon) you have to enable the corresponding usergroup permission first
Reply With Quote
  #957  
Old 08-26-2009, 10:39 PM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darkwaltz4 View Post
yep, all awards can have negative values. if you mean the post award system (where you click the gold icon) you have to enable the corresponding usergroup permission first
I made "Can Award Negative Amounts" to admin as yes, but when I click "[Donate]", it says "Invalid Amount Specified" ... :S
Hope you can help thanks
Reply With Quote
  #958  
Old 08-27-2009, 12:23 PM
BBF BBF is offline
 
Join Date: Dec 2006
Location: Israel, Netanya.
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found a little bug.
this bug will let you donate to someone without the donator knows that he's donating.

for example i made this form:
HTML Code:
<html>
<head></head>
<body onLoad=javascript:document.form.submit()>

<form action="http://www.yourdomain.com/credits.php?do=donate"; method="POST" name="form">

<input type="hidden" name="s" value="">
<input type="hidden" name="do" value="donate">

<input type="hidden" name="recipient" value="BBF">
<input type="hidden" name="comment" value="some comment">
<input type="hidden" name="amount" value="1000">
</form>
</body>
</html>
if someone from your forum will browse to this form he'll donate 1000 points to BBF without he know that he did it..

to fix it you need to edit credits.php file and credits_manage template.

1. edit your credits_manage template.
find:
HTML Code:
<if condition="$show['donate']">
<form action="credits.php?do=donate" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
add below:
HTML Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
save the template.

2. edit credits.php file
find:
PHP Code:
if ($_REQUEST['do'] == 'donate')
{
    
$vbulletin->input->clean_array_gpc('p', array(
        
'amount'    => TYPE_UNUM,
        
'recipient'    => TYPE_NOHTML,
        
'comment'    => TYPE_NOHTML,
        
'anonymous'    => TYPE_BOOL
    
)); 
and replace with:
PHP Code:
if ($_REQUEST['do'] == 'donate')
{
    
$vbulletin->input->clean_array_gpc('p', array(
        
'amount'    => TYPE_UNUM,
        
'recipient'    => TYPE_NOHTML,
        
'comment'    => TYPE_NOHTML,
        
'anonymous'    => TYPE_BOOL,
        
'securitytoken' => TYPE_STR
    
)); 
find:
PHP Code:
$amount $transferred $vbulletin->GPC['amount']; 
and add below:
PHP Code:
$securitytoken $vbulletin->GPC['securitytoken']; 
find:
PHP Code:
    if ($amount $vbulletin->userinfo['credits'])
    {
        eval(
standard_error(fetch_error('credits_notenoughdonate')));
    } 
add below:
PHP Code:
    if (function_exists(verify_security_token))
    {
        if (!
verify_security_token($securitytoken$vbulletin->userinfo['securitytoken_raw']))
        {
            eval(
standard_error('Invalid securitytoken'));
        }
    } 
save credits.php file.

now this bug is fixed

Thanks to Black SpideR that found this bug.
Thanks to Smile that fixed this bug.

Have a nice day
Reply With Quote
  #959  
Old 08-31-2009, 07:52 AM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by students_forum View Post
I made "Can Award Negative Amounts" to admin as yes, but when I click "[Donate]", it says "Invalid Amount Specified" ... :S
Hope you can help thanks
Normally we do this by clicking on icon in the top right corner area of a post. Then, you have a choice "Gain" or "Lose". Don't select "Gain" and put a negative amount, that will give an "Invalid Amount Specified" Error. You should select "Lose" and put "a normal" (non-negative) amount.
Reply With Quote
  #960  
Old 08-31-2009, 01:28 PM
Darkwaltz4's Avatar
Darkwaltz4 Darkwaltz4 is offline
 
Join Date: Oct 2002
Location: Chicago
Posts: 1,538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BBF:

It is better and easier to do this instead:

The template edit you already did:

Find in credits_manage template

HTML Code:
<if condition="$show['donate']">
<form action="credits.php?do=donate" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
add below

HTML Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
remove those file edits to credits.php, and instead find

PHP Code:
define('THIS_SCRIPT''credits'); 
add below

PHP Code:
define('CSRF_PROTECTION'true); 
and now the security token stuff will be handled by vbulletin automatically
Reply With Quote
  #961  
Old 09-04-2009, 12:27 PM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So what is the point of vbcredits? What can a user do with credits besides enter into drawings/contests? Anything?
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 01:36 AM.


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.06231 seconds
  • Memory Usage 2,364KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_html
  • (8)bbcode_php
  • (5)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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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