vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   welcome message before login and after (https://vborg.vbsupport.ru/showthread.php?t=138308)

melscamera 02-03-2007 05:25 AM

welcome message before login and after
 
is there a way to have a message show below the header for people just visiting and then have it go away when they login

I want to have a banner below the header and when the user registers or logs in the banner goes away..

CyberAlien 02-03-2007 09:08 AM

Open header template, find this:
Code:

<!-- /logo -->
and add after it
Code:

<if condition="$show['guest']"><div align="center"> put here banner code </div></if>

rolfw1 02-06-2007 04:09 PM

Thanks for that, just used it on my forum for the welcome marquee, can I do a similar one for logged in users, so that there is one for each group? If I can, what would replace the word guest and can I include their username in it?

This is what I have at the moment. :)

melscamera 02-06-2007 04:17 PM

I think i used this one for the welcome headers. it allows you to have a different one for guests and registered users
https://vborg.vbsupport.ru/showthread.php?t=119572

rolfw1 02-06-2007 05:29 PM

Thanks for that melscamera, just installed it, very easy as well. :)

Not sure whether I like it quite as much as the marquee idea, but after I've payed around with the messages it will certainly do the job. :)


All times are GMT. The time now is 07:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00916 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete