Credits [Deleted]

Status
Not open for further replies.
can no one help? :( a line for the extra.css or sth? would be nice^^
I don't think it's going to be a "simple" line in the EXTRA.css because the add-on itself does not contain a specific class for it to allow styling. You will need to check the add-on itself for the code I related above and change it.
 
Which add-on is it (******* Credits?). If it is a paid one, then I won't be able to help since I don't use it and won't purchase it just to trouble shoot it (sorry).
The associated template that it is displaying it from is message_user_info. That template has some associated code
Code:
        <div class="extraUserInfo">
            <xen:contentcheck>
            <xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
                <xen:if is="@messageShowRegisterDate AND {$user.user_id}">
                    <dl class="pairsJustified">
                        <dt>{xen:phrase joined}:</dt>
                        <dd>{xen:date $user.register_date}</dd>
                    </dl>
                </xen:if>
              
                <xen:if is="@messageShowMessageCount AND {$user.user_id}">
                    <dl class="pairsJustified">
                        <dt>{xen:phrase messages}:</dt>
                        <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
                    </dl>
(see the dl class="pairsJustified").

I am using this http://xenforo.com/community/resources/credits.1391/ the free version. If you still offer the trouble shooting, I'd be very grateful^^
 
How can I put the amount of credits on the right site of the user info box, just like the points, likes and messages??
OK... think I found what needs to be done. Edit the addon-*******_Credits.xml in the archive and change the pairsInline (should only be one instance) to pairsJustified and then install it again like you would an add-on, using the modified .XML file you did. If @******* doesn't mind, I can post a modified .XML file here.
If you do it correctly, it should work... just installed it using a modified one on one of my forums and here are the results.
screenshot.webp
 
Last edited:
How can I put the amount of credits on the right site of the user info box, just like the points, likes and messages??

View attachment 56594
OK... think I found what needs to be done. Edit the addon-*******_Credits.xml in the archive and change the pairsInline (should only be one instance) to pairsJustified and then install it again like you would an add-on, using the modified .XML file you did. If @******* doesn't mind, I can post a modified .XML file here.
If you do it correctly, it should work... just installed it using a modified one on one of my forums and here are the results.
View attachment 56600

Open template BRC_message_user_info_extra and find pairsInline replace with pairsJustified
 
Open template BRC_message_user_info_extra and find pairsInline replace with pairsJustified
Didn't even look in the existing templates when I installed it. Figured that posting the XML edit may help others that may be thinking about installing it (preventing having to edit the template.).. but for those that have it installed the template edit is a MUCH easier solution.

I just did the quickest way I could think of (since most times that's controlled in the .XML file) and I was busy working on setting 3 new forums up (using myBB). :)
In case he doesn't tell ya'... I will (even though I don't use the add-on)... Thanks!
 
This would be GREAT. I was actually looking for this feature as well, wonder how much he would charge?

I offered him $75 to do it by Wedenesday, $125 to do it by Tuesday and $200 to do it by Monday!

Like a true opportunist, he agreed :)

Can't wait to get this working for my forum - I'm not sure how much he is going to sell it for when it's ready, but I'm pumped that @******* moves fast.
 
the template edit to pairsJustified works for my casual style (not the default style), but I am happy with that, thx ;)
 
Can and where can I change the phrase "credits" to my own form of money - like spider bucks or something to that effect.

thanks,
 
Last edited:
In case anyone else has this problem (I hope I fixed it right thanks to @sonnb) reference post -http://xenforo.com/community/threads/credits.43727/page-20#post-649269

template - BRC_member_view_info_block

Code:
<dl>
<dt>{xen:phrase BRC_credit}:</dt>
<dd>
<xen:if is="{$user.user_id} != {$visitor.user_id} AND {$canTransfer}">
            <a href="{xen:link 'credits/transfer', '', 'receiver={$user.username}'}" title="{xen:phrase BRC_transfer}" class="Tooltip OverlayTrigger concealed" data-cacheOverlay="no" data-userid="{$user.user_id}">{xen:helper brc_currencyformat, {$user.credits},true}</a>
        <xen:else />
            <a href="{xen:link 'credits'}" class="concealed">{xen:helper brc_currencyformat, {$user.credits},true}</a>
        </xen:if>
</dd>
</dl>

Screen Shot 2013-10-12 at 11.01.54 AM.webp
 
Last edited:
This is an example:

I pay people 1 dollar per post on my forum. So when they reach 100 dollars. I would like to pay them via PayPal. Is this possible? I couldnt find any option to do this. It would also be great if there was in the statistics:

Credit: 20$
Total Earned To Date: 354

And also is it possible to disable users transferring their money to other users?
 
Status
Not open for further replies.
Back
Top Bottom