• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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.
  • 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

Jeffin

Well-known member
#1
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-->
 

Attachments

#9
Sure, if you could help. ;)
admin.php?languages/english-us.1/phrases
Create New Phrase

Title: welcome_message_above_sign_up
Phrase text: you welcome text HERE



2. 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-->
 

Jeffin

Well-known member
#10
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-->
Thanks TheLord, I've added that to the first post. :)
 
#11
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

Well-known member
#15
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. :)