• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Small Enhancements to your cash system

MickD

New Member
Sportsbook
Hi @Bob

Sorry to keep posting but there are a few items that could do with improvement, I know your cash system is just a simple cash system but it could be just slightly better.

Ideas?

1) Can we name the cash (IE we always had DW CASH).
2) Can we have an option to display the cash in the Post bit (under messages).
3) Possibly simple calculation if possible (ie 50 for new thread, 10 for posts).
3) in ash tools give indivdual member some cash... (I can do this in mysql though..).

I actually made my own threads, posts, private messages add cash system for your old vbulletin version using plugin hooks, But I would not know where to start making small mods using hooks with xenforo?

I do miss the plugin hooks I could write small little php snippets for bits and dont know where to start with xenforo.

Mick
 
Last edited:
1) Can we name the cash (IE we always had DW CASH).
The term "Sporstbook Cash" is a phrase, so you can edit that phrase and change the Phrase Text to what ever you want.

Phrase: nflj_sportsbook_cash

NOTE: There are other phrases that mention the term "cash" and "sportsbook cash". You can search phrases for the term cash or sportsbook cash which will fetch all of the phrases with that term, then you can change them to what ever you want to.

2) Can we have an option to display the cash in the Post bit (under messages).
Yes, I posted a "how to" for this. Sportsbook Cash In Message User Block

Edit Template: message_user_info

Add the following block of code to where you would like it to display

HTML:
<xen:if is="{$user.sportsbook_cash}">
    <dl class="pairsJustified">
        <dt>Sportsbook Cash:</dt>
        <dd>{$xenOptions.sbCurrencySymbol} {xen:number $user.sportsbook_cash}</dd>
    </dl>
</xen:if>


3) in ash tools give indivdual member some cash... (I can do this in mysql though..).
You can do this in the Admin CP. Edit a user, click on the Profile Info and the first input will be "Sportsbook Cash" in which you can set an individual members cash amount.

Selection_774.png


3) Possibly simple calculation if possible (ie 50 for new thread, 10 for posts).
This one is something you'd need to start a thread in the Sportsbook Suggestions for as it would require programming.
 
I thought I did post in suggestions @Bob,

But thank you for the very detailed support, such excellent and fast support mate!!!

I will implement the other bits tomorrow as I am out now for a beer!

Thanks again.

Mick
 
I thought I did post in suggestions @Bob,

But thank you for the very detailed support, such excellent and fast support mate!!!

I will implement the other bits tomorrow as I am out now for a beer!

Thanks again.

Mick
lI split out the suggestion into its own thread (I track each individual suggestion, so they all need their own threads).

You are more than welcome!

Enjoy your beer(s), I'll be doing that soon (just 9AM here, so I need to finish coffee first haha)
 
Back
Top