Print Page | Close Window

Text Showing to Non Members

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17761
Printed Date: 13 April 2026 at 7:55pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Text Showing to Non Members
Posted By: elottery-uk
Subject: Text Showing to Non Members
Date Posted: 05 January 2006 at 3:47pm
Just installed the forum at http://www.advertiser%2dpro.net - http://www.advertiser-pro.net  now what im wanting to do is the text at the top Welcome to ect ect to show when anyone visits the site then when the visitor registeres and logs in the text does not show any ideas how to do this?
 
Thanks..


-------------
Play the UK lotto 88 times a week for free.. http://www.elottery%2duk.net - http://elottery-uk.net



Replies:
Posted By: Mikey
Date Posted: 06 January 2006 at 6:06pm
try this and put it before thr final '%>' in the includes/navigation_buttons_inc.asp file...


'########## Guest text #########
        
 'If the user has logged in then the Logged In User ID number will not be 0 and not 2 for the guest account
If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2 Then
   
    'Dispaly a welcome message to the user in the top bar
   
    Response.Write ("&nbsp;")
   

'Else the user is not logged
Else
        'Display a welcome guset message with the option to login or register
    Response.Write ("<br /><span class=""text"">Welcome text here</span><br />")
       
End If        

'########## end ##############



-------------
Handyman man?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net