Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to delete the Welcome (greetuser) text?


symbiose

Recommended Posts

Hi,

 

i wanted to ask if someone could help me?

I want to delete the greetuser text on the first page but i cannot find where it is?

 

thank you for your help :)

 

 

i think it is in includes/languages/english.php

 

around lines 270 ish

 

hope this helps

Link to comment
Share on other sites

this is just the text but not the whole field, when i delete it an error accures ;(

it has to be somewhere in the main files, thanks

 

it will be in index.php ... but my own is so heavily edited (with the greeting removed) I have nothing to work on ... can you post the relevant part from index.php that contains the php code that calls in the greeting message and I'll show you what needs removing

Link to comment
Share on other sites

  • 2 months later...

I don't think this question was ever really answered. Can somebody tell me where and what the script is that I need to delete to remove this greeting pretty please? Any help would be appreciated!! :)

Link to comment
Share on other sites

I don't think this question was ever really answered. Can somebody tell me where and what the script is that I need to delete to remove this greeting pretty please? Any help would be appreciated!! :)

 

includes/languages/english.php

 

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Shopper!</span>');

 

Erase the define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Shopper!</span>');

Link to comment
Share on other sites

Coeli, Thank you!

 

But... I just tried it and now I'm getting this text in it's place:

 

TEXT_GREETING_GUEST

 

Any ideas?

 

I'll try doing a search of the site for that particular text and see what I find...

Link to comment
Share on other sites

I DID IT!!! I FEEL SMART! (this will only last until for 5 minutes tops!)

 

There are 2 steps to getting rid of that greeting. Follow these instructions below:

 

HOW TO DELETE THE GREETING ON THE HOME PAGE “WELCOME GUESTS”

 

STEP ONE: go to page: includes/languages/english.php

 

And cancel out (// ) the following script

 

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');

define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

 

STEP TWO: go to Includes/functions/general.php and cancel out line 994

// return $greeting_string;

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...