vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Welcome message on main page still shows after users click register (https://vborg.vbsupport.ru/showthread.php?t=206415)

Chmura 02-24-2009 04:04 AM

Welcome message on main page still shows after users click register
 
I have a welcome and registration message on my forums main page for unregistered users in header, but after users click register the message still shows how do I make it disappear at the rules and registration page? or just get it to show on the main page

Code:

<if condition="$show['guest']">
<!-- guest welcome message -->
<table width="980" border="0" align="center" cellpadding="0" cellspacing="5" style="background:#ECECEC; border:1px solid #CFCFCF;">
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="5" cellpadding="0" style="background:#ffffff; border:1px solid #DDDDDD;">
      <tr>
        <td style="font-size:22px; font-weight:bold; color:#40759F; font-family:Arial, Helvetica, sans-serif;">WELCOME...</td>
      </tr>
      <tr>
        <td style="font-family:Arial, Helvetica, sans-serif; font-size:14px; text-align:justify;">Welcome to the Internet's community blah blah</td>
      </tr>
    </table></td>
  </tr>
</table>
<!-- / guest welcome message -->
</if>

--------------- Added [DATE]1235506040[/DATE] at [TIME]1235506040[/TIME] ---------------

anyone?

Chmura 02-25-2009 07:47 PM

bumping it up

Michael.A 02-25-2009 07:51 PM

all i know is,, thats what u need to be playin with ..VV

Code:

<if condition="$show['guest']">

BSMedia 02-25-2009 08:05 PM

You have to have it in your header template some where as it can't be in the navbar since navbar isn't parsed on register pages (by default anyway) and it obisously wouldn't be the forum home

<if condition="($show[guest) AND (THIS_SCRIPT != register)">
Welcome Code
</if>

Should do the trick for you

Chmura 02-25-2009 08:15 PM

Quote:

Originally Posted by BSMedia (Post 1754600)
You have to have it in your header template some where as it can't be in the navbar since navbar isn't parsed on register pages (by default anyway) and it obisously wouldn't be the forum home

<if condition="($show[guest) AND (THIS_SCRIPT != register)">
Welcome Code
</if>

Should do the trick for you

That code didn't work, gave me an error when saving then the forum wouldn't display at all.

Chmura 02-28-2009 07:51 PM

bump :/

Chmura 03-05-2009 01:22 PM

Will PayPal $10 to anyone who can solve this for me

Michael.A 03-20-2009 06:16 PM

lol well i dont want the 10$
but what about post that code in ur forumhome in between
Code:

<!-- guest welcome message -->
code goes here .....................................
<!-- / guest welcome message -->

if u need more help on this then send me ur url to ur forum and i well help u.


All times are GMT. The time now is 05:53 PM.

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.00988 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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