QUOTE (Babygurgles @ Jan 6 2008, 11:21 AM)

Firstly another little change to show the "please register"
CODE
$show_headlines = echo '
Please <a href = "' . tep_href_link(FILENAME_LOGIN) . '">register or log in</a> to view our products<p />
The user is not logged in so I am now showing headlines<br />';
echo $show_headlines;
Regarding the product_info.php, you'll have to have a go yourself or I'll have a quick bash when I come back later.
thank you very much it worked, I placed <img> tag which is centered and asks guest to submit registration
and what about product_info.php
I think newsdesk_info.php must be modified no?
and one question if you do not mind
Can I make like that, when guest goes to homepage everything appears like it is for registered user, but when guest tries to click on product there is notice "Please register"
this script what you gave me really helped me to keep unregistered users from viewing my products, but a little more correction will be good if I can let unregistered users see product names but not content.
thank you very much, I will be back in 1-2 hours
you are very helpful person on this forum
thanks