Forum Replies Created
- May 6, 2016 at 18:23 in reply to: myCRED Error: You do not have sufficient permissions to access this page. #20119Aslan Guseinov
Just made a fresh install of latest WP and myCRED.
No problem found.Aslan Guseinov
Another question about lottery formula.
Why does PAYMENTS hold information about all payments made, but not for the current draw?
I have a daily lottery, and it shows me this for a current draw:
Entries – 1 entry
Payments – 7 points
1 Entry cost 1 point, why does it show 7 points?Aslan Guseinov
Today I will try same lottery but with different formula.
And see if this will work.Aslan Guseinov
What is the difference between this two lines?
if ( $payout_amount === false || $payout_amount == 0 || $payout_amount == $lottery->mycred->zero() ) continue;
and this one
if ( $payout_amount === false || $payout_amount === $lottery->mycred->zero() ) continue;
Just checking.Aslan Guseinov
I’ve been telling you this since 24 september 2015!
Maybe i’m doing something wrong?Aslan Guseinov
Still doesn’t workApril 17, 2016 at 01:27 in reply to: There is one word that i can't find where to translate! #19835Aslan Guseinov
It’s here – mycred/modules/mycred-module-buddypress.php
But why it doesn’t have a string for translation?
No pressure, just asking.Aslan Guseinov
Hi! Maybe you can help me.
I need a daily Draw Winner lottery based on formula.
Formula is simple:
It’s a daily lottery and that’s why i can’t use PAYMENTS, because winnings will increase each day. And i need winnings based on ENTRIES.
This formula is evaluating, but unfortunately it doesn’t paying out!
Timezone is set to Tallinn, and schedule is following:
start – 00:00
close – 21:00
draw – 22:00
payout – 23:00Aslan Guseinov
Will you take preorders for scratch cards? With lifetime license?
Like a bargain deal.Aslan Guseinov
I have a question about mycred_give shortcode.
My main idea is to create a point system, that worth real money.
But i don’t want people to pay for this points.
So i thought of using AdSense + myCRED + Central Banking.
Each page load is making money from AdSense, right?
So i need 1 point to be created each time when page is loaded. If i put this:
echo do_shortcode( ‘[mycred_give amount="1" type="mycred_adsense" user_id="1"]‘ );
in my theme files, will it generate 1 point even when user (viewer of content) is not logged in?
Will this work? I hope that there will be no conflict between mycred_give and Referral hook.Aslan Guseinov
Maybe I’m missing something, we will have to wait for other members to join this conversation.
Will see what they have to say on this subject.Aslan Guseinov
You need to create a custom post type, and add regular post category taxonomy to this custom post type.
So this custom post type will be posted in a certain category. This is what you need.
You need to search WordPress.org for this kind of information, if you don’t know how to do that.
The difficult part here is that sell content addon, can be assigned only for one point type.
And we now have to ask Gabriel to modify this addon for it to work with all point types separately.
Because it’s not possible to do it right now without customization.
When Gabriel will help us with it, we will be able to add this custom post type, in Settings -> Sell Content -> Post Types.
Sorry that I can’t help you with code customization, I only know theory.Aslan Guseinov
You want custom points to be assigned to a certain category, where users will post articles. Right?Aslan Guseinov
First of all go to myCRED -> Settings -> Point types.
You need to fill in details for your second point type (mycred_custom), then hit Update settings.
Now you will have 2 point types.
When you do this, post in here we will help.Aslan Guseinov
And another thing.
Each IP grants 1 point in 24 hour period. So everyday new chance to earn points.