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.can no one help?a line for the extra.css or sth? would be nice^^
Any plans on adding integration with the Resource manager?
As Jeremy said at the start of the thread, questions related to add-ons should always be posted in the add-on discussion thread.You should ask the author of your credits add-on.
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
(see the dl class="pairsJustified").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>
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.How can I put the amount of credits on the right site of the user info box, just like the points, likes and messages??
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
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.Open template BRC_message_user_info_extra and find pairsInline replace with pairsJustified
This would be GREAT. I was actually looking for this feature as well, wonder how much he would charge?
<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>
We use essential cookies to make this site work, and optional cookies to enhance your experience.