vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=151924

vBCredits - Ultimate Points System
by Darkwaltz4
11 Jul 2007 00:00

1 Attachment(s)
vBCredits is the ultimate points system for your vBulletin!
Click here for the vB3.7 compatible version

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. 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!

rjmjr69 11 Jul 2007 00:05

Sweet work. Would be nice to integrate with VbPlaza

Darkwaltz4 11 Jul 2007 00:08

I'm not sure about vbplaza but ill look into it, I thought it had its own points system, which would make it difficult to have it use this one without modification of vbplaza

Vegetrunks 11 Jul 2007 00:14

Oh oh! Is it compatible with future Triad³?

Darkwaltz4 11 Jul 2007 00:20

yes, in fact i just posted in the tt thread that vbcredits will be the default setting for Triad³ :) so install this on your boards now so your users will have some points to use when Triad³ is released! :-p

Deepdog009 11 Jul 2007 01:18

Darkwaltz4 can U uplink some screenshots...?;)

Pc 1203 11 Jul 2007 01:29

Looks great. :D

// Pc Clicks Install

subnet_rx 11 Jul 2007 01:35

This looks like exactly what I've been waiting on. I'd love to know if it integrates with vBookie. Also, if it takes making this a paid addon to make sure it works with future versions of vB and gets updated, please do it. I know my community has felt sort of empty without a cash system to use.

I'd also suggest adding a lottery. It seems like a simple addition, but many members on my board love putting money into the pool everyday to see if they win.

I'm also not sure if it has this feature, but a donate feature would be great, so that richer members could give money to poorer ones.

Darkwaltz4 11 Jul 2007 01:38

:-p theres little use for screenshots, but ill see about adding some tomorrow if its that important...

also, ill look into the integration with vbookie. does it have an option to use an existing points hack?

edit:
i downloaded vbookie, ill put together instructions for integration tonight and post them tomorrow.

lottery/bank would be a good idea, but for the shop thing :)

donation of points is already included in this version :)

okay...apparently no vbplaza. if anyone has a copy to give me, please email me it and ill be able to take a look

asw 11 Jul 2007 01:57

Thanks very much for this great hack.

Just installed and receive this error.

Parse error: syntax error, unexpected ':' in /home/auctions/public_html/forum/includes/class_dm_user.php on line 1429

Any help will be appreciated.

Thanks

Darkwaltz4 11 Jul 2007 01:59

Ah, I think I forgot to highlight a row in the instructions

what you did was copy the next part for find: and then replace:

to fix, find:

//obsolete

asw 11 Jul 2007 02:01

Quote:

Originally Posted by Darkwaltz4 (Post 1288007)
Ah, I think I forgot to highlight a row in the instructions

what you did was copy the next part for find: and then replace:

So I should replace $this->set_registration_defaults();

with

the ADD BELOW: code?

Thanks for responding so fast!!

Darkwaltz4 11 Jul 2007 02:07

Sorry about the mixup, I converted my notes about file edits to the

Find:
====

stuff, and i missed highlighting that particular part.

if possible, you might want to start over with a fresh class_dm_user.php file and reapply the file edits to it. Basically, you have to undo the addition you made, and redo it correctly (which is what the previous posts instructions have you do.)

Anyway, I updated the download with the proper highlighting in the instructions file so this shouldnt happen again :-p

asw 11 Jul 2007 02:13

That's why it's always wise to backup!

I'll reinstall sir. Thanks for your outstanding support!

asw 11 Jul 2007 02:17

Worked like a charm!

I am sorry if I missed something but where do the members view or otherwise see their credits?

Thanks again-:up:

Darkwaltz4 11 Jul 2007 02:20

:) let me know how it goes, if you want me to fix up the file for you, check your PMs

instruction file problem, again this has been clarified in the download, so it doesnt look like the ADD BELOW block from the selection above it anymore.

asw 11 Jul 2007 02:23

Quote:

Originally Posted by Darkwaltz4 (Post 1288019)
:) let me know how it goes, if you want me to fix up the file for you, check your PMs

instruction file problem, again this has been clarified in the download, so it doesnt look like the ADD BELOW block from the selection above it anymore.

Thanks very much for your unbelievable support sir! :up:

Darkwaltz4 11 Jul 2007 02:25

Users can see their credits in their postbits and profiles if you have set the option to yes in the vBulletin Options screen under vBCredits Global Settings.

If you have altered your postbits or profiles and would like to include the credits, the variables are $vbphrase['credits'] for the word, and for the value is $post['credits'] for posts, $userinfo['credits'] for profiles, and $vbulletin->userinfo['credits'] for the currently logged in user ($bbuserinfo['credits'] for templates).

Also, in the usercp is a link to Manage Credits under subscriptions, which links to credits.php, which also displays the number of credits and is also where the donation portion of the script is.

Edit: :D no problem asw, I want this to work for you as much as you do.

asw 11 Jul 2007 02:32

Quote:

Originally Posted by Darkwaltz4 (Post 1288023)
Users can see their credits in their postbits and profiles if you have set the option to yes in the vBulletin Options screen under vBCredits Global Settings.

If you have altered your postbits or profiles and would like to include the credits, the variables are $vbphrase['credits'] for the word, and for the value is $post['credits'] for posts, $userinfo['credits'] for profiles, and $vbulletin->userinfo['credits'] for the currently logged in user ($bbuserinfo['credits'] for templates).

Also, in the usercp is a link to Manage Credits under subscriptions, which links to credits.php, which also displays the number of credits and is also where the donation portion of the script is.

Edit: :D no problem asw, I want this to work for you as much as you do.

Well,

Most of that went over my head but I did manage to locate the area and took a screenshot.

http://www.auctionsitewatch.com/images/credits.gif

Thanks again very much sir. :up:

Darkwaltz4 11 Jul 2007 02:39

The automatic template edits are for the default vbulletin style. I will be making screenshots tonight, and maybe adding in more linking :-p

If you have edited postbits, to make it display, put this in the postbit template:
$vbphrase[credits]: $post[credits]

for profiles, put this in the memberinfo template
$vbphrase[credits]: $userinfo[credits]

Comes out as, for example
Credits: 100

To display your own credits to yourself in any template, use $bbuserinfo[credits]

jasculs 11 Jul 2007 02:45

Do you have the ability to reset points if you need to?

OS Master 11 Jul 2007 02:49

Thanks for the mod. It's the best since vBux/vBplaza. I have it installed and I'll let you know if I come across anything.

Darkwaltz4 11 Jul 2007 02:51

you can manually edit anyone's points in the user manager in the ACP

you can also set everyone to 0 by using the tool at the bottom of the update counters screen. Just select all usergroups but dont select any award types, then make sure "Add credits to existing totals instead of starting over?" is on No. This effectively sets everyone to 0 :-p

Of course, selecting the types will reset everyone to what they should be, regardless of donations, purchases, spending, etc. (I recommend this be run once the usergroup settings are decided and you have just finished installing.)

DS MrSinister 11 Jul 2007 03:23

Thanks Bro.. going to install now.. Now looking forward to triple triad..

Keep up the good work!

chuchukuttie 11 Jul 2007 03:37

Awesome, looks great! Thank you.

AzzidReign 11 Jul 2007 03:41

Wow, this looks promising! Waiting to see how this develops as well as vbplaza since that is supposedly 80+% done.

Shazz 11 Jul 2007 03:44

This looks really good :)

jasculs 11 Jul 2007 03:55

Installed

I will play around with it. It would be nice to have a feature where I can calculate how many points/credits people received during a specified time frame.

Also a section where users can see who has the most points on a separate page.

subnet_rx 11 Jul 2007 04:22

Are you sure you have to do file edits? If I'm correct, vbPlaza, uCash, and iCash all did not require file edits.

FreshFroot 11 Jul 2007 04:26

great addon! Will try it out :D

Skyline_GT 11 Jul 2007 04:33

It would be nice to let staff to have the ability to give members extra credits if staff believe their posts are useful. Like on the top right of the postbit, it will show how many points have been given to the author of that post.

Vesica 11 Jul 2007 05:10

I don't know if it is just me and my bad luck with plugins, but for some reason, I installed it and it shows credits in the post bit, but I can not edit the credits or manage them anywhere.

Hornstar 11 Jul 2007 05:28

Nice work, will keep an eye on this one for sure.

reteep 11 Jul 2007 12:30

Great idea!

I'd plan to use this system for something like that:

To honor posts in a thread - in fact that's possible with the reputation system, too, but I need seperated credits. As far as I read through here that's possible with this hack? You just have to implent some kind of button with a postback like "honor this post!" and the script is managing the points?

Cheers!

Mecho 11 Jul 2007 14:22

That would be great if u add Screenshot or any live demo . sounds really good and useful to make users so active :D

Jibba Jabbas 11 Jul 2007 15:26

Sounds like a brilliant hack, awaiting instructions on vbookies :D

Vic123 11 Jul 2007 15:52

Is it compatible to ishop? Does it have an importer for icash money (otherwise all users would lose their hard earned icash money)?

If you will really develope a shop, please ensure that it has the feature that users can spend their credits purchasing real items (e.g. videogames, merchandise, etc) with form for address, email to admin with addressdata and so on. This feature has very often been requested for ishop, vbplaza and the other shopsystems.

bye
Vic

Capricia 11 Jul 2007 15:59

Hi there :wave:

I've just installed this hack and it looks great, I have both my postbit as well as my postbit legacy mod. and i can't for the love of god get the credits to show up in my postbit, any ideas? help?

DS MrSinister 11 Jul 2007 17:55

Quote:

Originally Posted by Capricia (Post 1288365)
Hi there :wave:

I've just installed this hack and it looks great, I have both my postbit as well as my postbit legacy mod. and i can't for the love of god get the credits to show up in my postbit, any ideas? help?

Yes

http://www.vbulletin.org/forum/showp...7&postcount=20

CMGU 11 Jul 2007 18:32

thank u very nice
excellent :up:

Install

Capricia 11 Jul 2007 19:18

Yes i saw that one, but i'm far from being a coder, I need to know how to fit that in the postbit, I have various custom fields in my postbit and i want the credit field to fit in between them, or under them, i've toyed around using those codes but i got all these errors that's why i'm asking.

Darkwaltz4 11 Jul 2007 22:01

hi everyone, im back, i have an update for all of you too :)

as well as the vbookie plugin, and screenshots

projectego 11 Jul 2007 22:02

/me clicks install :)

Darkwaltz4 11 Jul 2007 22:33

Okay, from everyone's feedback, I will put together a post award type of system.

I will look into some converters for icash and ishop, provided they still exist on vBulletin.org, I know a bunch of them have been abandoned and removed.... If anyone can email me a copy of these hacks I can work on conversions faster (next best thing would be phpmyadmin access to your databases...)

Also, I am still putting together what a companion shop would include, however a full-blown project purchasing system (like what vbulletin and others use for real online sales) is in the works, but will most likely not be a free hack due to the size and complexity. This is meant for using in other hacks such as vBookie (confirmed) and some other things I will release later.

Look back tomorrow for the update :) (Dont forget to update to today's v1.1 for the time being!)

Edit: Legacy or the new postbits should still show credits, as well as custom styles provided they still contain the $template_hook variable. If that is not there then the plugin cannot insert it into your postbit, and it will have to be added manually. Same goes for any custom profile edits. The instructions for manual inserts to both of them are located in this post.

kylek 11 Jul 2007 23:59

Two feature suggestions:

It would be great if it could be tied into ibproarcade for game play costs, jackpot, etc.

Also some type of a bank system where members could receive interest on their credits.

Its nice to see a new points system that is made for 3.6.7. Thanks!!

Darkwaltz4 12 Jul 2007 00:13

I downloaded a bunch of hacks to check for integration and ill post the results and instructions tomorrow.

AzzidReign 12 Jul 2007 00:57

I'm loving the progress here! Do you have an estimate as to how much your store will cost? And in the store, could people purchase points/credits with real money? If not, I'd like to request that feature.

OS Master 12 Jul 2007 01:32

I have just installed version 1.1, and I love it! Hope this mod develops even more. Thanks a bunch!

jasculs 12 Jul 2007 03:53

The updates are nice...What if you don't use the memberlist and it is inactive. Is there anyway that you can see who has the most credits then. Like a who has the most credits page or top credit statistics?

Darkwaltz4 12 Jul 2007 04:17

Well, I figured it went perfect with the memberlist, and seeing the top lowest credit owners is kind of pointless (since legions will have 0), which means just top 10 or so.

If you can come up with more statistics other than top 10 Ill think of something standalone.

I am going to go offline and work on the next version in about a half hour, and the next update should be in about 18 hours :-p stay tuned!

everyone submit your ideas and be on the lookout for things not working.

AzzidReign 12 Jul 2007 05:44

Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Like I said, I know I already mentioned about buying points, but cashing in on points would be great because it would be nice to give back to my community if they work hard :P

I know I'm prolly asking a ton, so I'm sorry. I know you PM'ed me about the paid version, but I'm willing to pay more depending on how much the paid version is, if these options are put into place.

PixelFx 12 Jul 2007 06:49

An additional note, Dark and I have a support section setup for all hacks we're working on, which I'll be able to do an extra line of support should people be interested. He and I are still putting things together, so feedback here on on our site, would be greatly appeciated :D Example: vBCredits, Attechment Limiter, Triad3, vbTopSites, vBTracker etc :D

PixelFX Scripts

I've been very busy scuba diving the last 3 days so haven't been able to get in till now... ;)

Some of the ideas john and I have been kicking around, would be things like making it possible to do systems or models like, say rappelz online etc, through your site, if you ran gaming servers and other. The skys the limits for what john and I can make between us other than time. but thats normal :D

aceofspades 12 Jul 2007 12:19

Wub Wub Wub you rock dude. Installed.

Edit: One question though, id like to change the maths involved in displaying the end point result in the member list, postbit etc. Where should i be looking if i wanted to do that, the product?

subnet_rx 12 Jul 2007 16:54

Quote:

Originally Posted by AzzidReign (Post 1288850)
Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Like I said, I know I already mentioned about buying points, but cashing in on points would be great because it would be nice to give back to my community if they work hard :P

I know I'm prolly asking a ton, so I'm sorry. I know you PM'ed me about the paid version, but I'm willing to pay more depending on how much the paid version is, if these options are put into place.


Hmm, I don't think you should be able to cash out points and convert them to money. That could create spam problems for a board, not to mention that if you combine this with the vBookie hack, it could be illegal. As far as the paypal for points, maybe that could be done through one of the many paypal hacks available here.

I'd like to thank Darkwaltz for getting the vbookie plugin done. I like how this is progressing.

Splinter77 12 Jul 2007 17:27

please help-me after Import il Product
I have read to the perfection the file Modifications.txt

We apologise for any inconvenience.
Quote:

Database error
Database error in vBulletin 3.6.7:

Invalid SQL:
ALTER TABLE `user` ADD `credits` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';

MySQL Error : Duplicate column name 'credits'
Error Number : 1060
Date : Thursday, July 12th 2007 @ 06:15:03 PM
Script : http://www.xbox-inf.org/forum/adminc...=productimport
Referrer : http://www.xbox-inf.org/forum/adminc...?do=productadd
IP Address : x.x.x.x.
Username : ...........
Classname : vb_database
help-me :(

Darkwaltz4 12 Jul 2007 18:20

There has been an error confirmed with the fresh install, i have a fix, and I'll update it, but it is just a holdover until i get the new version ready to my liking to call it updated.

IF YOU HAVE EXPERIENCED THE ABOVE ERROR, DOWNLOAD THE ATTACHMENT AGAIN AND IMPORT THE PRODUCT AGAIN (you dont have to do anything else if you followed those directions earlier)

This should have only happened to users who fresh installed 1.1 (not upgraded from 1.0)

Splinter77 12 Jul 2007 18:33

ok aspect fix yours.
But between how much time I must wait for?

Darkwaltz4 12 Jul 2007 18:47

I updated the 1.1 code with the fix, you can download it now. what I meant was I won't put up 1.2 until I'm done with it :-p

Quote:

Originally Posted by AzzidReign (Post 1288850)
Some of these have already been mentioned, others not, but I thought I'd put it here since I suggested it in nexialys's thread when he was making a point system:

1) Allow people to buy the points/cash via paypal.
2) Allow people to cash out on their points/cash via paypal: set a rate via acp- every 1000 points = 1 dollar or whatever you want.
3) Allow people to donate/transfer points to other members on the site (which you've already done)
4) Integrate this with the Thanks System (e.g. receive a Thanks, get a Point) and maybe groan system (lose a point...can be abused, so IDK)
5) When a member has received so many points, they are "promoted" to another usergroup.
6) Have an option for the points/credits to expire. Such as, after x months of inactivity on the site, start having a deduction in points (which is set via ACP). Sort of like old gift cards that you would buy from circuit city. If you have it for 1 year, you start losing 5 bucks off the card after every month until all the money is gone.

Discussion of paid addons out in the open at vborg is against the rules so I cant really say anything here, but I can in PM (or email) :)

cashing out sounds really exploitable, although it could work if you were stringent about where and what points you granted (so an actvity credit would be difficult to spam)

I still have to look into what kind of addons I could make with hacks that dont already allow integration (let alone even use a) points system. I was looking into the arcades, but I need some ideas of what roles the points should play. same thing with the thank you hack.

Your last two - will consider.

Quote:

Originally Posted by aceofspades (Post 1289065)
Wub Wub Wub you rock dude. Installed.

Edit: One question though, id like to change the maths involved in displaying the end point result in the member list, postbit etc. Where should i be looking if i wanted to do that, the product?

New version 1.2 there are some new features with that which I will announce with the release later., and includes a plugin which you can edit to change any display things.

Gottcha 12 Jul 2007 19:17

Need Help ... installed ...did the file edits and the template edits and imported the product ... new install .... still not seeing the credits on my site

www.coralforum.com

any help is appreciated.

aceofspades 12 Jul 2007 19:36

Crap. Tried to post a message in quick reply and got an error. Tried to post a message in full editor and got this DB error:

Quote:

Database error in vBulletin 3.6.6:

Invalid SQL:
UPDATE user SET
credits = credits + ,
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184265257,
lastpostid = 9
WHERE userid = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184265257,
' at line 2
Error Number : 1064
Date : Thursday, July 12th 2007 @ 07:34:17 PM
Script : xxx/newreply.php?do=postreply&t=2
Referrer : xxx/newreply.php?do=newreply&noquote=1&p=7
IP Address : xxx
Username : xxx
Classname : vb_database
On top of that i tried to rebuild the points so that the users had points based on what they did before i installed the product, but even after updating the counters they still all displayed 0.

Splinter77 12 Jul 2007 19:37

thakyou man ;)

Darkwaltz4 12 Jul 2007 20:34

Gottcha, did you get an error when you imported the product?

There was an error with fresh installs which was corrected in the download (you need to download the new version and upload the product again).

aceofspades, still trying to see whats wrong with yours, did you perhaps forget to import the product file?

Splinter, how is your fix going? Edit: okay good I see it is working :) But it is not showing up in your postbit, so you will have to add it manually if you would like. see this post.

aceofspades 12 Jul 2007 20:46

Heh no i def got the product on there.

Quote:

vBCredits 1.1 An integrated points system by Darkwaltz4 [[email protected]] that enables users to gain credits six different ways and can be utilized by third party applications. Contact for information on paypal and subscription addons, or branding removal.
The messages are getting posted despite the database error, but the points are a stuck at 0. Is there anything i can try? I can pm you a link to my board if it will help.

Gottcha 12 Jul 2007 20:55

Quote:

Originally Posted by Darkwaltz4 (Post 1289361)
Gottcha, did you get an error when you imported the product?

There was an error with fresh installs which was corrected in the download (you need to download the new version and upload the product again).

yes ... i didn get an original sql error and the read that the new download fixed it ... i redownloaded and installed with no success

PixelFx 12 Jul 2007 21:25

I'm testing it on our official site in a moment.. see if I can reproduce any issues your having,

Darkwaltz4 12 Jul 2007 21:26

okay, capricia's problem has been resolved :)

Gottcha
check your vBCredits global settings, make sure 'Display credits publicly' is set to yes.

aceofspades
Uninstall the credits product (not the file edits) and then Import the product file from the top post.

alessai 12 Jul 2007 21:39

same error with aceofspades for 1.0 ill try to install the other one 1.1 >>> itried it in the localhost

put please please i need the top 10 feature (Important)

Darkwaltz4 12 Jul 2007 21:41

alessai
did you get the error with a clean install of 1.1 or when overwriting 1.0?

also for now you can display credits in the memberlist, and order by them, to display Top as much as you want :)

alessai 12 Jul 2007 21:44

:) didnt install 1.1 yet... i got the error when itried to install 1.0... ill try 1.1 now and i hope it works fine

aceofspades 12 Jul 2007 23:14

I was using the updated 1.1 product file, which i tried uninstalling, redownloading and reinstalling anyway. This is the database error it gives:

Quote:

Database error in vBulletin 3.6.6:

Invalid SQL:
UPDATE user SET
credits = credits + ,
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184278263,
lastpostid = 15
WHERE userid = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
posts = posts + 1,
usertitle = 'Administrator',
lastpost = 1184278263,
' at line 2
Error Number : 1064
Date : Thursday, July 12th 2007 @ 11:11:03 PM
Script : xxxxxxxxx/newreply.php?do=postreply&t=2
Referrer : xxxxxxx/newreply.php?do=newreply&noquote=1&p=14
IP Address : xxxxxx
Username : xxxx
Classname : vb_database
I just tried doing the file edits again but i get the same result :(. Does the database error not give any clues about the cause of the problem?

Darkwaltz4 12 Jul 2007 23:19

It indicates that there was an error that was displayed when you installed/upgraded, and the value in the post/thread award amount is null. (not there)

I can look at your forum for what the problem was, can you talk on any kind of messenger, and grant me temporary admin access?

jags2ooo 13 Jul 2007 00:11

hm mmi don't understand, Okay you get credits, What do you do with those credits?

Darkwaltz4 13 Jul 2007 00:19

Currently there is nothing I have released which used my credits system, but I will in the near future.

Until then, this hack is compatible with many other third party scripts, and I am posting specific instructions for them as I find them :)

=====================================================
As for aceofspades and alessai

to fix the problem, you MUST go through each and every usergroup and at least hit submit on the settings to build the usergroup cache. I will try to add something to automatically do this in the new version so it doesnt happen again, until then, you have to do this step to fix the error.

wilburshere 13 Jul 2007 00:36

hi im getting this error when posting a new thread any ideas on fixing this ??



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


but when i check the forum the post/thread is now there

alessai 13 Jul 2007 01:01

problem solved :) thanx

Quote:

also for now you can display credits in the memberlist, and order by them, to display Top as much as you want
how can i display it in the memberlist (it doesnt show up currently)

Darkwaltz4 13 Jul 2007 01:05

i have identified the function to automatically build the usergroup cache on install, and it will be included in 1.2 for convenience :)

wilburshere, this sounds like an improperly performed class_dm_threadpost.php file. If possible, you may want to start with a fresh version and apply the file edits again. If this doesnt work, please PM me and we will work on it together.

to display in the memberlist, go to the global options and select "Display in memberlist"

I also notice a lot of people are missing key $template_hook variables inside their templates. Without them I cant add things via plugin, and they have to be done manually. The default vbulletin style includes them, but I guess custom style makers leave them out.

wilburshere 13 Jul 2007 01:29

ok i will give it a whirl

its only on my test forum atm

incurable 13 Jul 2007 07:22

Quote:

Originally Posted by Vesica (Post 1288085)
I don't know if it is just me and my bad luck with plugins, but for some reason, I installed it and it shows credits in the post bit, but I can not edit the credits or manage them anywhere.

i think i have the same problem like you... :(

Darkwaltz4 13 Jul 2007 08:32

You can edit the credits via the admincp, and you can donate them, but USING them requires third party hacks for the time being.

i am almost done with v1.2 :) its a huge update and youll forgive me to the time its taking.

sunrise2006 13 Jul 2007 14:08

Thanks, it's great mod, I wistful from a long time for such this.

sunrise2006 13 Jul 2007 17:16

I think if use the below code in postbit & MEMBERINFO template instead of that is exists now for this product, it's will be better.

postbit & posbit_legacy:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

MEMBERINFO:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You cant put the follow codes on apposite place that you think.

Note: If you want to use these, in first you must to inactive the Display Credits in Postbit and Display Credits in Profile plug-ins from Plug-In Manager.

alessai 13 Jul 2007 18:44

every thing works with me fine but it seems that it doesnt display anything in the memberlist (done every thing template change, files changes, and activate it from the global option)

Darkwaltz4 13 Jul 2007 18:56

if they are not showing up in your templates it means the style you are using neglected to use the $template_hooks. I am thinking I should just abolish using them via plugins since nobody seems to retain them, but seems like such a waste....

anyway, you may use the template edits by sunrise2006, but modify them a little bit so they obey your settings, put them where you want them to appear in the following:

postbit / postbit_legacy

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

MEMBERINFO

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


baghdad4ever 13 Jul 2007 19:17

what is the benefit of credit points??

in other way where the members use this earned points ?????

Darkwaltz4 13 Jul 2007 19:21

I've said this before throughout the thread and at the top post:

This hack does not come with its own use for the points, but does integrate with hacks that use points. I am also planning a companion shop type system for this hack, but need more ideas. Also, I am looking into building addons for third party hacks to infuse the use of points, but again I am still taking ideas.

As of this post there is confirmed integration with vBookie and the ICash line, and I am going to include an ICash converter in the next release. There may be more hacks, so please show me them and I can find out if and how to integrate with them if it is not obvious.

Fearlessninja 13 Jul 2007 20:26

A donation log will be nice, so that you know who you received credits from?

Darkwaltz4 13 Jul 2007 20:27

1 Attachment(s)
SHHHHHHHHHHHHHHHHHHHHHHHHHHHH

thats a surprise >.> it might already be done

EDIT: still adding one more surprise to 1.2 besides this one then ill release it....

AzzidReign 13 Jul 2007 21:33

Quote:

Originally Posted by Darkwaltz4 (Post 1290105)
if they are not showing up in your templates it means the style you are using neglected to use the $template_hooks. I am thinking I should just abolish using them via plugins since nobody seems to retain them, but seems like such a waste....

I keep my template hooks :) Just thought you should know that someone actually keeps em :P

jahshaka 14 Jul 2007 01:49

hi,

awesome mod and well needed!

any big differences in the install process for 1.2 ? I was going to install this today but i can wait a few more days... then again if it may take you a while longer and the upgrade is simple i can star with whats here now.

PixelFx 14 Jul 2007 02:19

I have our offical support forums setup for this script here, as a side note... >>>>

we'll be updating links in v1.2, but doing our best to support this script on vbulletin.org and our main site. Also I hope to get some shots of our other vbcredit systems, and scripts as well like triad3 for those intersted, in the near future :D

Darkwaltz4 14 Jul 2007 04:00

actually as it is turning out the upgrade process should be pretty painless, only like 1 or 2 extra file edits if you are already using 1.1

bollie 14 Jul 2007 11:00

I can see somewhere a list, how many points members have ?

Vegetrunks 14 Jul 2007 14:38

Donation done!
Good work Darkwalz :)

Darkwaltz4 14 Jul 2007 16:34

you can see how many points members have on the memberlist or on the postbits and profiles if you have set the public option to yes and your style has $template_hook variables. If not, you have to add in the lines which is explained a couple times throughout the thread.

njoker555 14 Jul 2007 17:00

any way to give points per character? that would be a lot more convenient

thanks for the mod, the first cashmod that actually worked without giving me any other problems :D << clicks install

edit: having some issues - on my template, Silver & Red - the point count isnt showing in their posts - but in the default one it shows but its kinda messed up, how can i fix that? - the link is www.gamers-forum.com if u want to see it

bollie 14 Jul 2007 17:13

Quote:

Originally Posted by Darkwaltz4 (Post 1290823)
you can see how many points members have on the memberlist or on the postbits and profiles if you have set the public option to yes and your style has $template_hook variables. If not, you have to add in the lines which is explained a couple times throughout the thread.

i use http://www.vbulletin.org/forum/showthread.php?t=148045

njoker555 14 Jul 2007 17:46

i thought i was able to alter the amount of GFP for the person via admincp and viewing their profile there, but im not seeing an option for that :/

Darkwaltz4 14 Jul 2007 18:07

The 1.2 instructions will contain manual instructions for adding in missing template stuff, until then use that post.

you can edit the amount of credits in the user editor in the ACP (provided you made the admincp/user.php edit as per the instructions)

I am considering a per-character thing for each post, except it is extremely exploitable, even in principle. feel free to discuss.

subnet_rx 14 Jul 2007 22:10

The whole thing is exploitable really unless governed by someone. You can spam posts, new threads, and sign up bogus referrals to get money. I usually give 1 cent per post character, and already say that it's a violation to post full articles, texts, or other copyrighted content.

Also, when you delete your post or thread, does this take the money back?

Darkwaltz4 14 Jul 2007 22:46

1.2 includes settable delete options (so you could even punish usergroups if something they posted was deleted :-p)

these options are somewhat difficult because there are multiple areas where delete occurs. for instance, do i fire it when a post is soft or hard deleted? what if a soft delete is undeleted? do i give it back? plus there are areas where post management is done en masse, such as with inline moderation, which skips the datamanagers entirely... so, the bottom line, just means more file modifications for you all to perform when installing :D

I say per-character is even harder because i have to deal with people editing their posts and bbcode tags and such. so i think if i implement it it will only be for when you first post, but then someone can copy/paste a huge block of text, and then edit it to something normal when they are done >.> like i said, its particularly easy to exploit per-character.

sorry for the wait on 1.2, there are a whole host of major additions to it which i think will please everyone.


All times are GMT. The time now is 19:05.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.