rocdy Posted March 5, 2009 Share Posted March 5, 2009 Duplicate Post!! As is says, function not allowed in safe mode, ask host to change or.. Simply comment out the line like : CODE//set_time_limit(300); ok, thank you. my problem are solve. By the way, what should i do to set limit for my link exchange. i just want some 35 link for my website. Are there anything i can do? thank again. Quote Rocdy Beginner in php programming and still learning from this forums. Special thanks for Oscommerce Community Forums that help me a lot. :-) Link to comment Share on other sites More sharing options...
ashvattha Posted March 5, 2009 Share Posted March 5, 2009 Hello I like the size 778 because it is that small. It looks like an A4 page,. like in the real paper world. It is a bit of a puzzle sometimes because I display 5 images on a line. 5x135 pix which is already 675 pix ... I hope the upload works again. Thanks sit Best regards Johan de Groot Quote Where do I sign? Link to comment Share on other sites More sharing options...
spooks Posted March 5, 2009 Author Share Posted March 5, 2009 Go over the install carefully again, you must have made an error somewhere. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
JIPANG Posted March 5, 2009 Share Posted March 5, 2009 (edited) Sam ... I love Your GREAT modification I Love modification, simple modification only, because i'm not a programmer These is my Reciprocal Links : http://quad-comp.com/links.php I have a Wish to you Sam, Maybe next updated you give Optional Add-on "Random Slide" Exchange members in Colum Left Boxes / Infoboxes. I need to changes my Ugly Friendly List Scroll ... Regards Yosias R.N Edited March 5, 2009 by JIPANG Quote Link to comment Share on other sites More sharing options...
gordo942 Posted March 6, 2009 Share Posted March 6, 2009 Great Contrib!! Nice and simple to install and use. Thanks! One question... I'm using this in a local development environment right now...uploading to production site in a couple of weeks. The Thumbshots DO appear in admin, but DO NOT appear on the catalog page....all I see there is "Image Loading". Would this be caused by Thumbshots, something I've missed in the install or by being in a non-web environment? Thanks, G. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 6, 2009 Author Share Posted March 6, 2009 Great Contrib!! Nice and simple to install and use. Thanks! One question... I'm using this in a local development environment right now...uploading to production site in a couple of weeks. The Thumbshots DO appear in admin, but DO NOT appear on the catalog page....all I see there is "Image Loading". Would this be caused by Thumbshots, something I've missed in the install or by being in a non-web environment? Thanks, G. The images are loaded off the Thumbshots server each time the page is loaded, so if there is no web access, or restricted by firewall then yes it will stick at "Image Loading". Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
gordo942 Posted March 6, 2009 Share Posted March 6, 2009 I understand that...but the confusing part is that the Thumbshots show up in the admin...which is in the same development environment as the catalog. Weird. Hopefully it will fix itself when we go live. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2009 Share Posted March 7, 2009 In links_submit.php <?php echo tep_draw_textarea_field('codes','Physical',30,5,'<a href="'.Website_URL.'">'.Website_Title.'</a>-'.Description);?> Displays as The Coopco Underwear Shop</a>-Designer women's underwear for ladies, women, and teens that include basques, bras, bustiers, camisoles, G strings, panties, and thongs. Designer men's underwear that include briefs, boxers, trunks and T- Shirts.>5 Any idea of what I have done wrong? Quote Link to comment Share on other sites More sharing options...
spooks Posted March 7, 2009 Author Share Posted March 7, 2009 Check the language file, have you put something at the end of description perhaps? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2009 Share Posted March 7, 2009 Check the language file, have you put something at the end of description perhaps? Hi Spooks Thanks for looking. I had define('Website_Title', ' ' . STORE_NAME . ' '); which seems to be the culprit. Changed it to the text with my store name and it is fixed in firefox but not IE6. I still have the 5 at the end too. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 7, 2009 Author Share Posted March 7, 2009 (edited) Could you check your tep_draw_textarea_field function it seems to be missing $field .= '>'; or thats missplaced AND it seems to have other errors, tghe call should output <textarea name="codes" wrap="Physical" cols="30" rows="5"> but yours is outputting <textarea name="codes" cols="Physical" rows="40" Edited March 7, 2009 by spooks Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2009 Share Posted March 8, 2009 Could you check your tep_draw_textarea_field function it seems to be missing $field .= '>'; or thats missplaced AND it seems to have other errors, tghe call should output <textarea name="codes" wrap="Physical" cols="30" rows="5"> but yours is outputting <textarea name="codes" cols="Physical" rows="40" Hi Spooks Thanks again for looking. I had made a change in the html_output.php for W3C Validation that took out the $wrap string (in accordance with that thread). Once I undid the change, all is ok in IE6 and Firefox. So, without your help, I would not have thought of wherethe error would be. Now, back to doing the update. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 8, 2009 Author Share Posted March 8, 2009 There seems to be an error in whatever that contrib is then, as though you do need to remove wrap from the output, you should not remove it entirly from the function, as that causes errors on call (as you just had) its only neccessary to ignore $wrap internally. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2009 Share Posted March 8, 2009 There seems to be an error in whatever that contrib is then, as though you do need to remove wrap from the output, you should not remove it entirly from the function, as that causes errors on call (as you just had) its only neccessary to ignore $wrap internally. Hi Spooks It was not a contribution, it was this http://www.oscommerce.com/forums/index.php?s=&...t&p=1228580 Gottcha about removing it from the function, silly thing to do on reflection. The reciprocal links is working great now, thank you. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 9, 2009 Author Share Posted March 9, 2009 Uploaded new version 3.3 Modifications in 3.3: Added the option to automatically email shop owner when a link is submitted. Removed a spurious <tr><td> from links.php (these bugs love to creap in!) Changed back link to button image. Replaced 'Back' on submit success screen to a 'Continue' button. To ensure W3C validation: Removed rel=nofollow from drop down replaced with a canonical tag Moved a section of script Added the option of opening links in a new page in place the default of opening within current page. This has been tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals off compatible. Enjoy!! :) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2009 Share Posted March 12, 2009 Hi Sam, Great contrib, thanks very much. One question, how do I get the link to open in a new window rather than take my customers away? Cheers, Dan Quote Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2009 Share Posted March 12, 2009 Hi Sam, Great contrib, thanks very much. One question, how do I get the link to open in a new window rather than take my customers away? Cheers, Dan in links.php $new_page = false; // set to true to open links in a new page Quote Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2009 Share Posted March 12, 2009 in links.php $new_page = false; // set to true to open links in a new page I knew that I'd seen it somewhere. Thanks Leslie, you appear to have come to my rescue again! Dan Quote Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2009 Share Posted March 12, 2009 I knew that I'd seen it somewhere. Thanks Leslie, you appear to have come to my rescue again! Dan No problem, your post reminded me that I had not changed mine. Quote Link to comment Share on other sites More sharing options...
jozinecko Posted March 24, 2009 Share Posted March 24, 2009 Hello, Thank you for this contribution. but I am using thin blue template, and when I install this GREAT contribution all my background is black, please how I can solute it? you can see how it show at: http://www.protecta.sk/links.php. Please HELP me. Thank you Jozef Quote Link to comment Share on other sites More sharing options...
spooks Posted March 24, 2009 Author Share Posted March 24, 2009 The pages included in the contrib are standard osC, you need to convert them to your template. Use of a compare toool would help. Also check for any css conflicts Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
jozinecko Posted March 24, 2009 Share Posted March 24, 2009 Thank you Sam, but I am not a programer, which file I need to compare? and which css? For first would be good if the background is white. If you need any file to upload I will do it. Many Thank you Jozef Quote Link to comment Share on other sites More sharing options...
spooks Posted March 25, 2009 Author Share Posted March 25, 2009 The trouble with templates is you need to be good at coding to change, otherwise stick with it as it comes or don't use a template. Compare the included files with smthing simple like the contact page, look for layout changes. As any changes are specific to u & no help to core osC users I'm not prepared to go further, sorry. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
jozinecko Posted March 25, 2009 Share Posted March 25, 2009 ok, thank you Quote Link to comment Share on other sites More sharing options...
jozinecko Posted March 25, 2009 Share Posted March 25, 2009 Ok I think I solute it:-) I only change this code: <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <title><?php echo TITLE . ' Links ' .(!$page ? 'Page' : 'Page ' . $units[$page]). ' - ' . (!$cats ? (!$page ? '' : $category_name[$category_array[$page]['id']]) : $category_name[$cats] . ' Links') . (!$page ? ' ' : ''); ?> </title> <meta name="Description" content="Links <?php echo (!$page ? '' : 'Page ' . $units[$page]) . ' - '. TITLE .' - ' . (!$cats ? (!$page ? '' : $category_name[$category_array[$page]['id']]) : $category_name[$cats]); ?> - " /> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /> <meta name="KeyWords" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Copyright" content="" /> <meta http-equiv="Content-Language" content="en" /> <meta name="revisit-after" content="30 days" /> <meta name="robots" content="index, follow" /> <meta name="Rating" content="General" /> <meta name="Robots" content="All" /> <link rel="canonical" href="<?php echo tep_href_link('links.php', ($page ? 'page=' . $page : ''),'NONSSL',false); ?>" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> </head> to this code (from contact_us): <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <div id="wrapper"> That is all, try all if you have problems on thin blue theme. Thank you Sam for good way and for this very nice contribution. Quote Link to comment Share on other sites More sharing options...
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.