Is there any way one could implement a script like web2printer (http://www.printer-friendly.com/) into a amemeber protected page? As soon as I add the lines; $_product_id = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24); require_once '/path/to/amember/plugins/protect/php_include/check.inc.php'; the functionality of the printer friendly script goes away and only show a blank page. If I delete the amember protection I see all the content of the original page as a printer friendly version without any problems. I saw some thread about printer friendly css but I would prefer to solve it with the web2printer if it's possible. Thanks, /Patrik
Patrick, it is possible to do. Try to use the following protection code: PHP: if (!function_exists('web2printer')){ $_product_id = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24); require_once '/path/to/amember/plugins/protect/php_include/check.inc.php'; }
hmmmm where did you mean this should be entered? Because if I add it to the page were the protection is to take place, it just shows a completely blank page when I access it? Or was it intended for the actual web2printer4.php file? Thanks, /P/