nyckeln Posted March 7, 2003 Posted March 7, 2003 Hi! I wonder if someone know how to force new customers to read the conditions and agree to them before they can signup as customer. And if they dont agree they cant signup. Someone? Best Regards, Patrick :tellme: Quote
Guest Posted March 7, 2003 Posted March 7, 2003 there is a contribution to do that during checkout - it could probably be modified to be used virtually anywhere http://www.oscommerce.com/community/contributions,574 Quote
nyckeln Posted March 7, 2003 Author Posted March 7, 2003 there is a contribution to do that during checkout - it could probably be modified to be used virtually anywherehttp://www.oscommerce.com/community/contributions,574 Hi! I have already tried it, and it dont work. My shop is based on MS1. Best Regards, Patrick Quote
Guest Posted March 7, 2003 Posted March 7, 2003 hmmm - what sort of problem are you having with it? I can try and look at the code later today or tonight Quote
Guest Posted April 18, 2003 Posted April 18, 2003 I'm also using MS1 and it doesn't work correctly. I love it if you would liket me know also what the fix is. I need this to work by Monday if at all possible. It loops or doesn't work at all. Quote
Guest Posted April 27, 2003 Posted April 27, 2003 I wondering if you have fixed it yet, and if it works. If yes let us known how you did't. Thanks in advance. Quote
M@rcel Posted April 27, 2003 Posted April 27, 2003 Something like I have on my site? Quote Greetings from Marcel |Current version|Documentation|Contributions|
Guest Posted April 27, 2003 Posted April 27, 2003 Hi Marcel, Yes that what i mean. But before I ask you (again) I tryed on this forum first..!! Thanks. Quote
M@rcel Posted April 27, 2003 Posted April 27, 2003 Brand new: Must Agree to Privacy Statement Enjoy! Quote Greetings from Marcel |Current version|Documentation|Contributions|
Andyman53 Posted December 7, 2003 Posted December 7, 2003 Some things that are supposed to be found in order to complete installation cannot be found. In Particular: find: if (strlen($password) < ENTRY_PASSWORD_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_PASSWORD_ERROR); } elseif ($password != $confirmation) { $error = true; $messageStack->add('create_account', ENTRY_PASSWORD_ERROR_NOT_MATCHING); } Cannot be found in catalog/create_account.php Quote
Virtual1 Posted March 12, 2004 Posted March 12, 2004 Marcel, Is there a way this can be modified to create an "age agreement" page? What I am trying to do is restrict access to a category untill you agree to being over 18..... Any help is VERY greatly appreciated as I am very new at php. Quote
Jack_mcs Posted March 13, 2004 Posted March 13, 2004 Marcel, Is there a way this can be modified to create an "age agreement" page? What I am trying to do is restrict access to a category untill you agree to being over 18..... Any help is VERY greatly appreciated as I am very new at php. PMFJI, but in case Marcel doesn't see this I will attempt an answer. You need to create the new age agreement page (see wiki for instructions) and link to it rather than to the policy page. You will also need to alter the text to read something like "you have read our age agreement..." HTH, Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Virtual1 Posted March 13, 2004 Posted March 13, 2004 Jack, I have been struggling with this for a month. At the risc of sounding ungreatful, your answer has done little more to clarify this for me. I have seen other mods done but for the life of me can't get my head around it. Is there some way that you could perhaps in your infinate wisdome help a fella out a bit more? Quote
Jack_mcs Posted March 13, 2004 Posted March 13, 2004 Jack, I have been struggling with this for a month. At the risc of sounding ungreatful, your answer has done little more to clarify this for me. I have seen other mods done but for the life of me can't get my head around it. Is there some way that you could perhaps in your infinate wisdome help a fella out a bit more? Hmm, sorry, but on re-reading your post I think I misunderstood it. I thought you wanted to just change the document that the visitor read when they signed in. But I see now that you want to prevent visitors from seeing the page before they sign in. If it is just one category you are trying to hide then I don't know how to do that. However, if it is all of your categories, then just create a enter sheet that they must agree to before entering your site. You could adapt the code from this mod to do that or there are plenty of examples on the net. Just google for restrict access to site or some variation. HTH, Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Virtual1 Posted March 13, 2004 Posted March 13, 2004 (edited) That would be the easiest route - however because we are offering VOD movies, I prefer to have no barrier to site entry up front. Our cometition is cinemanow and i would hate to push anyone away by making an adult content statement before they even see we have hundereds of hollywood titles. Using some code posted in another topic i can easily stop the user and redirect them to a verify page. Its the form i need to set a cookie thats really giving me the shits - well and the reidirect code too.... if ($cPath_array[0] == '1') { if (!tep_session_is_registered('ageagree') || ($agreed != 'age')) { tep_redirect(tep_href_link($cPath_array[0] == '1')); } else { if (!tep_session_is_registered('ageagree') || ($agreed != 'nosir')) { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } } I know I'm heading in the right direction its just that the road is quite bumpy and rather untravelled. If my logic is all messed up PLEASE point me in a good direction. I could also use help with registering the agreed value.... I'm really lost on this one..... Edited March 13, 2004 by Virtual1 Quote
thecrush Posted March 24, 2008 Posted March 24, 2008 I also need this feature. Any luck? I need to restrict access for visitors 18 years and below but on a certain category only. thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.