inherit
255557
0
Feb 18, 2020 9:45:31 GMT -8
❝ R I L E Y ❞
3
June 2018
rileyx
|
Post by ❝ R I L E Y ❞ on Apr 21, 2019 7:28:19 GMT -8
Board: -removed- Issue: I don't quite know how to change "0 Likes" spot in the Mini Profile to reflect how much 'Bucks' (currency to be used on-forum re:Monetary System) the user has. It's probably a super simple change but I'm honestly super illiterate when it comes to coding, especially coming off from a hiatus. Thank you to anyone who wants to take this on! Code: <td class="hoverinfo">
{if $[user.likes] == -1}N/A{else}$[user.likes]{/if} like{if $[user.likes] != 1}s{/if}
</td> Visual Reference:
|
|
inherit
223590
0
May 17, 2023 9:13:21 GMT -8
Kitty Katt
My Username is @kittykatt (with 2 t's in katt)
819
July 2015
kittykatt
|
Post by Kitty Katt on Apr 21, 2019 7:50:48 GMT -8
Board: snubbull-cafe.proboards.comIssue: I don't quite know how to change "0 Likes" spot in the Mini Profile to reflect how much 'Bucks' (currency to be used on-forum re:Monetary System) the user has. It's probably a super simple change but I'm honestly super illiterate when it comes to coding, especially coming off from a hiatus. Thank you to anyone who wants to take this on! Code: <td class="hoverinfo">
{if $[user.likes] == -1}N/A{else}$[user.likes]{/if} like{if $[user.likes] != 1}s{/if}
</td> Visual Reference: I am tagging Peter, since he would best know the IDs / Classes used in the Monetary System plugin. One thing you may want to specify, though, is that to be the total in the Wallet, the total in the Bank or the combined total of Wallet and Bank? I believe the coding supplied will depend on what value you are looking to place there.
|
|
inherit
255557
0
Feb 18, 2020 9:45:31 GMT -8
❝ R I L E Y ❞
3
June 2018
rileyx
|
Post by ❝ R I L E Y ❞ on Apr 21, 2019 14:04:16 GMT -8
|
|
inherit
223590
0
May 17, 2023 9:13:21 GMT -8
Kitty Katt
My Username is @kittykatt (with 2 t's in katt)
819
July 2015
kittykatt
|
Post by Kitty Katt on Apr 22, 2019 5:02:22 GMT -8
I did some research and found a video in the Monetary System support thread. IF I understood it correctly (please note that I am NOT a coder, so I cannot guarantee this is the solution), you should be able to replace this line: {if $[user.likes] == -1}N/A{else}$[user.likes]{/if} like{if $[user.likes] != 1}s{/if}
with this: <span class="money_text"></span><span class="money_symbol"></span><span class="money_amount"></span>
|
|
inherit
255557
0
Feb 18, 2020 9:45:31 GMT -8
❝ R I L E Y ❞
3
June 2018
rileyx
|
Post by ❝ R I L E Y ❞ on Apr 23, 2019 15:00:26 GMT -8
Kitty Katt im so sorry for the late reply! but that worked! thank you so much!
|
|