1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Add a welcome message above Sign Up button

Discussion in 'Template Modifications [Archive]' started by Jeffin, Nov 26, 2010.

  1. Jeffin

    Jeffin Well-Known Member

    This template edit displays a welcome message just above the sign up button for your guests only.

    METHOD 1

    1. Find in template sidebar_visitor_panel:

    Code:
    <div class="section loginButton">
        <div class="secondaryContent">

    2. Below it add:

    Code:
                    <!--Begin welcome message to guests-->
                     <center><img src="http://www.christianforumsite.com/images/xenforo/welcome-message.png" /></center>
                     Hello and welcome to our community. You will have to sign up before you can post. Signing up is free and it takes only a few moments to complete.
                    <!--End welcome message to guests-->
    Note: You can use your own images instead of the one I provided thus easing on my bandwidth.

    See Screenshot or Demo.


    METHOD 2 (thanks to TheLord)

    You can avoid using text in template by following these instructions along with Method 1. It involves creating a new phrase and replacing the welcome text in template with the phrase.

    Here are the steps:

    1. Go to Admin Control Panel > Appearances > Phrases > Create New Phrase

    2. Enter in Title: welcome_message_above_sign_up, enter in Phrase text: YOUR WELCOME TEXT HERE and click 'Save Phrase'.

    3. Find in template sidebar_visitor_panel:

    Code:
    <div class="section loginButton">
        <div class="secondaryContent">

    4. Below it add:

    Code:
                    <!--Begin welcome message to guests-->
                     <center><img  src="http://www.christianforumsite.com/images/xenforo/welcome-message.png"  /></center>
                     {xen:phrase welcome_message_above_sign_up}
                    <!--End welcome message to guests-->
     

    Attached Files:

  2. Jamie

    Jamie Well-Known Member

    Nice addition Jeff!

    Jamie
     
    Jeffin likes this.
  3. TheLord

    TheLord Member

    text in template... better add new languages
     
    Jeffin likes this.
  4. Sir nick

    Sir nick Well-Known Member

    Must add feature :p
     
    Michael Dance and Jeffin like this.
  5. Edrondol

    Edrondol Well-Known Member

    Do you mind if we download the image to use?

    In any event it's a dang good feature.
     
  6. Jeffin

    Jeffin Well-Known Member

    You are welcome to download the image. :)
     
  7. Edrondol

    Edrondol Well-Known Member

    Please, Thank You and.....*YOINK*!!
     
    Jeffin likes this.
  8. Jeffin

    Jeffin Well-Known Member

    Sure, if you could help. ;)
     
  9. TheLord

    TheLord Member

    admin.php?languages/english-us.1/phrases
    Create New Phrase

    Title: welcome_message_above_sign_up
    Phrase text: you welcome text HERE



    Code:
    <!--Begin welcome message to guests-->
     <center><img src="http://www.christianforumsite.com/images/xenforo/welcome-message.png" /></center>
     {xen:phrase welcome_message_above_sign_up}
     <!--End welcome message to guests-->
     
  10. Jeffin

    Jeffin Well-Known Member

    Thanks TheLord, I've added that to the first post. :)
     
  11. Susannah

    Susannah New Member

    This is great, thank you!! It's really nice to have a warmer welcome for guests. :) Thanks for the image too. I've dl'd it and uploaded it to my own server. Much appreciated!
     
    Jeffin likes this.
  12. FredC

    FredC Well-Known Member

    Perfect Thanks!!!
     
  13. Peggy

    Peggy Well-Known Member

    lol The Lord can always help, Jeff, but I'm sure you know that. :p
     
    Jeffin likes this.
  14. Peggy

    Peggy Well-Known Member

    It's too bad this can't be done using the Extra.css template, rather than editing a template.
     
  15. Jeffin

    Jeffin Well-Known Member

    An update: VincentU tried to turn this to an add-on but he could because the hook he wanted to use is only available when logged in. But thanks for trying. :)
     
  16. clawsonr

    clawsonr Member

    AWESOME!! Thank you.
     
    Jeffin likes this.

Share This Page