Rimesia
Member
+1Been a while since the last update. Is this still being in development? A lot of forums can't upgrade to XenForo 2.0 due to your addons not being updated and may make me end up switching to another addon.
I'm one of them.
+1Been a while since the last update. Is this still being in development? A lot of forums can't upgrade to XenForo 2.0 due to your addons not being updated and may make me end up switching to another addon.
Still no updates as of yet, we'll let y'all know!Been a while since the last update. Is this still being in development? A lot of forums can't upgrade to XenForo 2.0 due to your addons not being updated and may make me end up switching to another addon.
Such features are shown on the product information page here. But here are some of the events that it allows when it comes to sending credits to users.Question, does this allow members in a particular user group to receive a monthy amount of credits, kinda like an allowance or paycheck? Also, does can you trigger credit award events by uses interaction with XenMedia and XenResource - as well as posting thread replies and new threads, etc?
Thanks @Dalton Prock - I have a current credits system but I am about to toss it as it is does not function well and is not at all user friendly for the end user.
- Daily Login: Triggers the first time a user views the board each day
- Upload Avatar: Triggers when a user first uploads an avatar
- Create New Thread: Triggers when a user creates a new thread
- Thread Deleted: Triggers when a user's thread is deleted
- Create New Post: Triggers when a user creates a new post
- Post Deleted: Triggers when a user's post is deleted
- Like Content: Triggers when a user likes content (Applies to the 'liker')
- Content Received Like: Triggers when a user likes content (Applies to the 'likee')
- Registration: Triggers when a user creates a new account
- Trophy Received: Triggers when a user receives a new trophy
- Vote On Poll: Triggers when a user votes on a poll
- Follow User: Triggers when a user follows another user (Applies to the follower)
- Get A Follower: Triggers when a user follows another user (Applies to the user followed)
- Download Attachment: Triggers when a user downloads an attachment for the first time (Applies to the downloader)
- Attachment Downloaded: Triggers when a user downloads an attachment for the first time (Applies to the uploader)
- Create resource: Triggers when using the XenForo Resource Manager and someone creates a resource
- Rate a resource: Triggers when using the XenForo Resource Manager and someone rates a resource
- Share media: Triggers when using the XenForo Media Gallery and someone posts any media
- Give Rating: Triggers when someone rates a post via Post Ratings
We have no plans to bring this to XenForo 2, and are recommending https://xenforo.com/community/resources/dbtech-dragonbyte-credits.5871/ Great developers with @DragonByte TechWould be nice to use this in XF2, any word on an updated version to work with XF2?
Transactions (or purchases ...)
<xen:if is="{$transaction.sender_id} == {$visitor.user_id}">
<xen:comment><!-- you send someone credits --></xen:comment>
{xen:phrase adcredit_you_sent_gift_X_to_Y,
'name={xen:if $transaction.receiver_id, {xen:helper username, $transaction.receiver, 'primaryText'}, '<span class="primaryText">{$transaction.receiver_username}</span>'}',
'productName={$transaction.extra_data.product_title}','credits={xen:helper credit, $transaction.credits, $transaction.currency_id}',
'credits={xen:helper credit, $transaction.credits, $transaction.currency_id}'}
<xen:else />
<xen:comment><!-- someone sent you credits --></xen:comment>
{xen:phrase adcredit_x_sent_gift_y_to_you,
'name={xen:if $transaction.sender_id, {xen:helper username, {xen:array 'user_id={$transaction.sender_id}', 'username={$transaction.sender_username}'},'primaryText'}, '<span class="primaryText">{$transaction.sender_username}</span>'}',
'productName={$transaction.extra_data.product_title}','credits={xen:helper credit, $transaction.credits, $transaction.currency_id}',
'credits={xen:helper credit, $transaction.credits, $transaction.currency_id}'}
</xen:if>
-- {xen:helper expire, $transaction.extra_data.product_id,$transaction.transaction_date}
return $this->fetchAllKeyed('
SELECT transaction.*,
sender.username AS sender_user_username,
sender.avatar_date AS sender_user_avatar_date,
sender.avatar_width AS sender_user_avatar_width,
sender.avatar_height AS sender_user_avatar_height,
sender.gravatar AS sender_user_gravatar,
receiver.username AS receiver_user_username,
receiver.avatar_date AS receiver_user_avatar_date,
receiver.avatar_width AS receiver_user_avatar_width,
receiver.avatar_height AS receiver_user_avatar_height,
receiver.gravatar AS receiver_user_gravatar
' . $joinOptions['selectFields'] . '
FROM adcredit_transaction AS transaction
LEFT JOIN xf_user AS sender ON(sender.user_Id = transaction.sender_id)
LEFT JOIN xf_user AS receiver ON(receiver.user_Id = transaction.receiver_id)
' . $joinOptions['joinTables'] . '
ORDER BY transaction.transaction_date DESC
', 'transaction_id');
case 'transfer':
return true;
break;
case 'gift':
return true;
break;
default:
return false;
break;
<xen:if is="{$transaction.sender_id} == {$visitor.user_id}">
<xen:comment><!-- you send someone credits --></xen:comment>
{xen:phrase adcredit_you_sent_gift_X_to_Y,
'name={xen:if $transaction.receiver_id, {xen:helper username, $transaction.receiver, 'primaryText'}, '<span class="primaryText">{$transaction.receiver_username}</span>'}',
'productName={$transaction.extra_data.product_title}','credits={xen:helper credit, $transaction.credits, $transaction.currency_id}',
'credits={xen:helper credit, $transaction.credits, $transaction.currency_id}'}
<xen:else />
<xen:comment><!-- someone sent you credits --></xen:comment>
{xen:phrase adcredit_x_sent_gift_y_to_you,
'name={xen:if $transaction.sender_id, {xen:helper username, $transaction.sender,'primaryText'}, '<span class="primaryText">{$transaction.sender_username}</span>'}',
'productName={$transaction.extra_data.product_title}','credits={xen:helper credit, $transaction.credits, $transaction.currency_id}',
'credits={xen:helper credit, $transaction.credits, $transaction.currency_id}'}
</xen:if>
-- {xen:helper expire, $transaction.extra_data.product_id,$transaction.transaction_date}
We use essential cookies to make this site work, and optional cookies to enhance your experience.