The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    How to set a USERNAME variable for automatic messages?

    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    How to set a USERNAME variable for automatic messages? Empty How to set a USERNAME variable for automatic messages?

    Post by ForeverPotterLock May 10th 2015, 3:50 pm

    I have set automatic welcome message for all users, however I wish to give it a more personal feel and make it say the user's username. 

    Example

    Hello, ForeverPotterlock, welcome to forumotion

    instead of...

    Hello, welcome to forumotion! 

    Also, I made a test account and the message looked like this:
    <div>
     <span style="font-family: Arial;">Hi {username}</span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">Thank you for signing up at The Pet Palace (TPP) Forum. Here, you will be able to find answers to all your pet questions and concerns!</span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">You can also complete a simple search to see if your question has been asked before. </span>
    </div>
    <div>
     <span style="font-family: Arial;">The Pet Palace Search</span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">You are encouraged to introduce yourself by starting a new topic at the Paw-five! I'm new! section so that our community can give you a warm and personal welcome! You may also like to introduce your pet(s) to our members by posting in Meet my pet!</span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">On The Pet Palace forum, there is always new fun things to partake in, For example, you can play member-created games at the Silly Thread, make friends over Private Message or chat with fellow members at the various chatting and hobbies sections</span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">If you come accross any errors or areas of improvent please stop by the Feedback and Support thread and we will work to solve the compenonent. </span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">Enjoy your stay at TPP! </span>
    </div>
    <div>
     <span style="font-family: Arial;"><br /></span>
    </div>
    <div>
     <span style="font-family: Arial;">Regards,</span>
    </div>
    <div>
     <span style="font-family: Arial;">The Pet Palace Family</span>
    </div>
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    How to set a USERNAME variable for automatic messages? Empty Re: How to set a USERNAME variable for automatic messages?

    Post by brandon_g May 10th 2015, 5:07 pm

    Hello,

    You just have to change the {username} to
    Code:
    {USERNAME}
    . It has to be all capitals.

    That will show the user's username Smile.


    Also try using bbcode instead of html, the field may not support it.
    Hope this helps,
    -Brandon
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    How to set a USERNAME variable for automatic messages? Empty Re: How to set a USERNAME variable for automatic messages?

    Post by ForeverPotterLock May 10th 2015, 5:46 pm

    Hi, I was under the impression that this message was typed in bbcode. I was using the visual editor and it was forumotion that had automatically converted my message into the coding.
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    How to set a USERNAME variable for automatic messages? Empty Re: How to set a USERNAME variable for automatic messages?

    Post by ForeverPotterLock May 10th 2015, 10:55 pm

    SOLVED, PLEASE LOCK

      Current date/time is September 22nd 2024, 6:29 pm