lstrad Posted April 11, 2005 Share Posted April 11, 2005 Hi Does anyone know how to add a 18+ page to one of the catagorie links :blink: So they have to agree there over 18+ or read the disclamer before they can see the products Any where to put them in the script/html and what to write???? can anyone help me thanks Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 11, 2005 Share Posted April 11, 2005 There is a Must Agree To contribution that will probably work for you. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 Hello Does anyone else know how to make a 18+ page or more info where? Link to comment Share on other sites More sharing options...
Guest Posted April 12, 2005 Share Posted April 12, 2005 Age Restricted Category Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 Hi Thanks very much for that ill see if i can work it out! Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 HI Just downloaded the agepage.php and the read me file dont say where i have to put them any help??? anyone know what is the store root? thanks Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 This is what is says 1) The form for confirming their age is in this file(place in store root): age-page.php There are 2 code blocks in age-page,php. In the code block at the top, change the URLs of the pages to redirect to. You can change the wording of the form as needed in the second block; if you change the values of the buttons then they also must be changed in the code at the top of the page. 2) The file application_top.php has one block of new code. You must specify the category to "protect" in this block. Then add this block of code into your application_top file. Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 Hey people Does anyone know how to find the catogory name or number?? need to change it to the category but know know what the category is $restricted_category = 3; # change this to the category you want to restrict if ($cPath_array[0] == $restricted_category) { Link to comment Share on other sites More sharing options...
lstrad Posted April 12, 2005 Author Share Posted April 12, 2005 No need fixed!!! Link to comment Share on other sites More sharing options...
DVDtrix Posted July 2, 2005 Share Posted July 2, 2005 No need fixed!!! <{POST_SNAPBACK}> I keep getting errors for this contrib, could you share you info? Fatal error: Call to undefined function: tep_session_register() Link to comment Share on other sites More sharing options...
md1 Posted July 11, 2005 Share Posted July 11, 2005 I keep getting errors for this contrib, could you share you info?Fatal error: Call to undefined function: tep_session_register() <{POST_SNAPBACK}> I have the same problem, how did you fix this ? Link to comment Share on other sites More sharing options...
♥yesudo Posted July 12, 2005 Share Posted July 12, 2005 Error on which page ? Your online success is Paramount. Link to comment Share on other sites More sharing options...
Indie Posted March 13, 2006 Share Posted March 13, 2006 Did this Contribution work for anyone? I can get the category link to connect to the age-page.php page but after I click the 'Yes' button the page just refreshs and I am unable to proceed to the actual category?? Please help! Thanks Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2006 Share Posted September 11, 2006 has anyone sloved this problem ?? I have the same problem as Indie. <_< Link to comment Share on other sites More sharing options...
Grimnir Posted September 26, 2006 Share Posted September 26, 2006 I tried to install this and it messed up my page design. It worked fine, except for that, but does anyone know how to get it working with BTS and Flame template? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.