![]() |
Quote:
|
I just hope this doesnt hurt my ratings or hack of the month nominations *goes somewhere to cry*
|
dont worry lol - i uploaded the credits_time.php
what can we do with that file anyway? |
Quote:
It runs the Scheduled Task for the Credit System :) |
credits_time.php is the scheduled task for vbcredits, runs every midnight. basically:
gives birthday credits to those whose birthday it is checks if there are any new referrals to validate. if they check out, they get added to the refferer (vbulletin actually doesnt save this so my hack has to), then applies the referral award and referee incentive (kind of a thanks for including your referrer, which sometimes they dont) applies time and activity credits, if its been the number of days you specified (normally 1 for daily, but could be like 7 for 'paychecks' seen in other hacks, or whatever days you want :-p) Also, all credits applied naturally respect the on/off settings of the recipients as well as their additive referral bonuses, although the new values dont take effect until AFTER this script runs, not during it. So, a pretty essential file. A bunch of other points hacks dont use crons because they are tricky to do without bogging down someone with a thousand queries, so requires some slightly more advanced sql knowledge. These hacks then require session type systems with more data, which gets more complicated and buggy and so on :-p |
oh ok, i get it now :) thats cool lol, well i nominated for motm - good luck! :)
|
Also chase, right now that table is set 100%, which should be just fine....if the width is too long you can always change it in the credits_manage template
|
You have no idea how happy I am. Thank you sooo much for making this. =]
Finally I can lay crappy iCash to rest. (btw, is the convertion readme in the zip?) |
After installing vbcredits, import the credits_icash product in the extras/convert folder in the download. after import, delete both the importer and icash. please note that if you changed the money row in icash you should run the converter for THAT, not icash. if its not something thats in the convert folder, let me know what it is so I can go make a converter for it.
Also, new screenshots are in: http://www.vbcredits.com/forum/thread48.html it will be updated as we get more, and will have shots for new releases as well, will update top post with link |
Quote:
No problem... :) Thanks, Darkwaltz |
Can you look into the queries problem? I just noticed that with the product turned on, there's about an extra 9 queries, which is really bad.
can anyone else tell me if they have the same problem? |
Any particular page you are looking at? Unless you are doing mass moderation (like deleting many threads and posts at once) there should only be 1 extra query on everything. Even that I'm trying to get around without file edits.
|
I'm just refreshing my showthread page. It was 29 queries with it turned on, and 20 with it disabled.
I really don't know why since the only place your code show up is in the postbit... I tried removing it from postbit but it still shows up as 29 queries. |
Holy -- youre right. >.< Its calling the datastore on every post >.< i will correct the plugin this is in, and post you something. I didnt expect showthread to call fetch_foruminfo so many times :X gimme a sec
|
Well, hate to do this to you all for like the 4th time, but another bugfix
IF you DONT use the forum overrides, then just disable the hook 'Forum Credit Override Application'; IF you DO use the forum overrides, then reupload the product. As a bonus, uninstall also deletes the datastore item that was added :-p (not that you were going to uninstall right?) That should get rid of all of the extra queries, thanks for pointing it out :) I will make it all up to you guys I promise :D...:'( (maybe some vBCommerce screenshots posted on vbcredits.com in a little while?) |
I am having a hard time making certain forums *not* impact the credits at all. Someone, for example, deleted a ton of posts in an area designated with all 0's (default turned off), and was reduced from 230 to -20 credits.
|
Well mass-moderation stuff like that is generally a little server intensive, why do you think update counters has you set limits on users to process per run? Because its like 5 queries per person :-p Same thing here. I tried to keep it as small as possible whenever that happens.
The main problem this time was I did not think a certain function was called on every single post, which means a query I stuck in there was. I moved it out of that function and it works the same without that extra query every time. Also, credits can go negative because it was the only way it can function as correctly as possible. By its very nature pretty much everything can be exploited. What if you made long posts for post size credits, bought something with them, and then trimmed your post to normal? It needs to go negative so at least they will pay back what they technically stole. Plus theres settable amounts for having a post deleted, so you could in fact punish users for writing something that got deleted, so making them work it back is kind of ideal. |
The problem is that I only want credits - positive or negative - to work in certain forums, and that doesn't seem to be happening.
|
It shouldnt be happening... check your global credit settings - is 'count credits where posts arent' set to no? I dont think I missed this setting, it was there since 1.0
Vesica: usergroup editor |
Voted MOTM. The only thing missing that I would need is the ability to award a point for every attachment a user uploads. Hanging on for future updates with this implemented ;)
|
Our vBLimiter Hack may interest you .. we're getting it cleaned up to run with vbcredits, more info and screenshots on our site. It's saved me thousands of dallors in bandwidth over the last 3 years :D
|
I love it! Well done :)
Suggestion: To be able to charge per attachment download. |
:D look for that in vBCommerce
also, anyone who was interested in PayPal support for users to actually purchase credits, should see my showcase site vbcredits.com. You can log in and see what that is like, and if you wanted to donate, you can do it there and see what the addon is like firsthand :) |
product-credits_post_thanks
This product is not compatible with version 6.0 GOLD of the product post_thanks. (Compatible starting with 6.2) can you make for version 6.0 GOLD ? |
Hang on, does it only work if the post count is off for the forum? Because I have the credits turned off for places where they don't count, and I've unchecked the 'default' checkbox in all of those forums leaving the amount at zero. It was the only way I could see to turn it off in the forums.
|
We just released our vBCredits$ addon, at our site for anyone interested :D I'm just trying to get screenshots ready for it .. as for gold, dark prob look at that once he's had some sleep .. 7am for him 5am for me :P
|
Im not sure if this has been asked yet, but Im curious as to how the progress is with integration with the arcade hacks? Mainly IBPro Arcade? >_0
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Hmm, well that area has been tricky and difficult to test, but I will verify it works for 1.4. For now just use the switch if possible, otherwise you will be able to correct the changes with the mass updater in 1.4
|
Okay, then. Thank you for your help, and I'll keep an eye out for 1.4. :)
|
Quote:
I Think u talk from banking system, and i talk from sending the donation fee to another user. I PN u the code. of the applet, and the phrase for the titel and description of the option in admin cp. I look forward to see your banking system :D |
:D thanx god i didnt upgrade tell now ^^^ too lazy to upgrade by the way i liked vBTopSites idea (waiting for its realse) |
Suggestion:
Could you integrate this with YAAS? Every time an award is issued, I'd like for them to receive the points automatically. If not, no biggie. |
I'm waiting for the id arcade to be supported, then I'm rushing to install this.
|
Quote:
|
Quote:
|
Hi!
Any ideas where I could change the code where it adds more credits upon posting? I'd like to add my own regular expression to check that there is at least 6 words in the post before adding credits. Thank you! |
I have it setup on my board that members get 20 points when bumped up to "Member" which is the default group, and 10 for referrals. But when I test it and register i start with like 105 points. What is wrong? The highest points are 20 for be upgraded to "Member". Any ideas?
SVT |
All times are GMT. The time now is 08:58 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|