Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Remove guest welcome / first visit message Details »»
Remove guest welcome / first visit message
Version: 1.00, by Pip Pip is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.0 Rating:
Released: 01-25-2009 Last Update: Never Installs: 17
Template Edits
 
No support by the author.

Hi,

this is only a little one but everybody starts from the scratch
I spent some time to search for that issue so I think it's of value to documentate it for others looking for the same issue.

--------------------

What ...?

vb shows to unregistered users a guest welcome message (first visit) on the Forum Home.
Quote:
Welcome to the Forum
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


Why ....?


Maybe you just like to have that message gone or use the Notice system (Display this notice if > user belongs to usergroup "unregistered / not logged in"

Quote:
since vb offers the Notice system I prefer to use that instead of the "guest welcome message". Especially as you can use the Notices on every page (-> search engines reffering to threads) and the guest welcome message is only shown on the forum home
How ...?
  • Go to your Admin Control Panel
  • Open the "Styles & Templates" > "Style Manager"
  • Select "Edit templates"
    • you have to repeat that step for every parent style
  • Find the "FORUMHOME" template and edit it
  • Find this block
    Code:
    <if condition="$show['guest']">
    <!-- guest welcome message -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    </table>
    <!-- / guest welcome message -->
    <br />
    </if>
  • Remove it & save the template

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-26-2009, 04:48 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe simple but i think thats a very good way to tell the guests who visit your forum what the site is about ..

it may not be a good idea to remove that ..
Reply With Quote
  #3  
Old 01-26-2009, 04:54 PM
Pip Pip is offline
 
Join Date: Sep 2004
Location: Langenthal
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, I totaly agree with that. But since vb offers the Notice system I prefer to use that instead of the "guest welcome message". Especially as you can use the Notices on every page (-> search engines reffering to threads) and the guest welcome message is only shown on the forum home
Reply With Quote
  #4  
Old 01-30-2009, 02:26 AM
imaroot imaroot is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for sharing this
Reply With Quote
  #5  
Old 02-10-2009, 08:59 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i agree with pip, i want to use the notice system instead of the first visit message, thanks alot for this pip.
Reply With Quote
  #6  
Old 02-10-2009, 09:35 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actualy I was thinking about doing this the other day since I use the notice system to post welcome and other messages based on conditionals and this was redundent.

Though I highly recommend you use TMS to do ALL template edits
https://vborg.vbsupport.ru/showthread.php?t=152931
Reply With Quote
  #7  
Old 06-17-2009, 06:56 PM
80's 80's is offline
 
Join Date: May 2009
Location: T?rkiye
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was exactly lookig for this, Thank you.
Reply With Quote
  #8  
Old 11-14-2010, 05:06 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this - it is definately a great addon for my sites.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04346 seconds
  • Memory Usage 2,282KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete