khaaliq Posted June 9, 2003 Posted June 9, 2003 Can someone show me how I can hide an infobox when my cart is in secure mode? I am using phplive and instead of running it through a SSL I want to have the infobox disabled when the cart goes into secure mode. Any help would be apprecited.
Daemonj Posted June 10, 2003 Posted June 10, 2003 In the file that calls the infobox (e.g. includes/column_left.php), at the beginning of the line for the infobox add: if ($request_type != 'SSL') So if you wanted to hide the search box, you would make require(DIR_WS_BOXES . 'search.php'); look like if ($request_type != 'SSL') require (DIR_WS_BOXES . 'search.php'); and that should do it. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 Daemonj, Thanks, but that did not work. I have this in my column_right.php if ($request_type != 'SSL') require (DIR_WS_BOXES . 'live_support.php'); and the box displays in secure and non-secure mode.
Daemonj Posted June 10, 2003 Posted June 10, 2003 Is that statement all on the same line and the forum just wrapped it, or is that statement actually on 2 lines? "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 Still displays in both secure and non-secure mode.
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 The infobox still displays in both secure and non-secure mode.
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 Sorry for the double post. I used "include" and "require" and the infobox still shows in secure and non-secure mode.
Daemonj Posted June 10, 2003 Posted June 10, 2003 Make a blank line above that line and put the following there: echo '<p>request type is: ' . $request_type . "n"; and then go to your catalog and look in your right-hand column. What does it say after request_type is:? "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 The line is blank after request type is: It looks like this request_type is:
Daemonj Posted June 10, 2003 Posted June 10, 2003 Edit your includes/application_top.php file and around line 35 should be the project information. After that add: // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; and let me know what happens when you view a catalog page now. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 In non secure mode I get request type is: NONSSL In secure mode I get request type is: SSL The infobox displays in both modes.
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 IT WORKS!! I forgot to take out NON-SSL. I was playing around with the code trying to see if I could figure it out and I put that in :oops: Thanks to everyone that helped me with this! :D
blueline Posted June 10, 2003 Posted June 10, 2003 So the topic...if I'm not mistaken...asked if anyone had ever used PHP Live Help? Well, I see that you are on your site. Mind sharing your feelings? I am insterested, but want to get the opinion of someone that has used it before. Do you like it? Pros? Cons? Thanks, -Chris Chris Sullivan
khaaliq Posted June 10, 2003 Author Posted June 10, 2003 I really like it. I have no complaints. I have been using it since version 1.95. Version 2.1 is the latest and all of the upgrades were free. The only con that I have is that the program did not minimize to the system tray. They have created an addon that does that now called WinApp, but I had to pay $50.00 for it. Other than that I would give it 4 out of 5 stars. :D
Guest Posted April 2, 2005 Posted April 2, 2005 Just bumping this post to the top that I found on a search for any more comments as im considering it. Anyone out there still using it? Is it worth the $20 a month? I cant install it on my shared webhosting as they say it uses too many server resources :(
Simplyeasier Posted April 2, 2005 Posted April 2, 2005 Just bumping this post to the top that I found on a search for any more comments as im considering it. Anyone out there still using it? Is it worth the $20 a month? I cant install it on my shared webhosting as they say it uses too many server resources :( <{POST_SNAPBACK}> I use it and it is of value , no doubt. When I see visitors on my site visiting the same page many times - I know a buying decision is in the offing and depending on how you approach it you can tip the balance in favour of buying. However my true opinion is I think it is of more value on a store that sells technical \ consumer electronic type products - People want info and reassurance before making buying decisions for products like that. Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"
Guest Posted April 2, 2005 Posted April 2, 2005 Hi Charles, Thanks for your comments. It is actually for the same reason that you have it that we are considering it. I have watched people get as far as payment, then go to terms + conditions, back to payment, to contact us, back to payment, etc etc as if theyre not sure of something. If this was there they could ask whatever theyre unsure about and it would clinch more sales... I believe. Its not cheap though hence me asking for more feedback etc. Do you find it slowed your site speed down at all? Any problem with users on dial up using it? Any further comments? Thanks
Simplyeasier Posted April 2, 2005 Posted April 2, 2005 Hi Charles, Thanks for your comments. It is actually for the same reason that you have it that we are considering it. I have watched people get as far as payment, then go to terms + conditions, back to payment, to contact us, back to payment, etc etc as if theyre not sure of something. If this was there they could ask whatever theyre unsure about and it would clinch more sales... I believe. Its not cheap though hence me asking for more feedback etc. Do you find it slowed your site speed down at all? Any problem with users on dial up using it? Any further comments? Thanks <{POST_SNAPBACK}> It did not slow the site down so that is not a worry - when I have logged in on a test dial up system the page speeds have NOT been an issue. I actually bought the outright licence because I have many sites that I use the support on and it made sense rather than a separate monthly \ annual licence per site. If you are uncertain by a short term licence - and try it for 3 - 6 months. Depending on your sites traffic and currect conversion rates you will have hard figures at that point as to whether or not it is worth taking a longer term view on the product. For my 2 pennies worth - I think it is one more crumb of comfort that may tip a purchase in your favour and as more sites use it it may become the norm on the web in which case if you don't have it you will be at a disadvantage. Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"
Guest Posted April 14, 2005 Posted April 14, 2005 It did not slow the site down so that is not a worry - when I have logged in on a test dial up system the page speeds have NOT been an issue. I actually bought the outright licence because I have many sites that I use the support on and it made sense rather than a separate monthly \ annual licence per site. If you are uncertain by a short term licence - and try it for 3 - 6 months. Depending on your sites traffic and currect conversion rates you will have hard figures at that point as to whether or not it is worth taking a longer term view on the product. For my 2 pennies worth - I think it is one more crumb of comfort that may tip a purchase in your favour and as more sites use it it may become the norm on the web in which case if you don't have it you will be at a disadvantage. Charles <{POST_SNAPBACK}> Hi Charles, I forgot to thank you for your helpful comments... soooo Thank you :D :thumbsup: (better late than never). I noticed you have it tucked away at the bottom of your site where potentially it wont be seen unless people scroll down. Did you (or anyone else reading this thread for that matter) get this to work in one of the columns at all?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.