Jump to content

nlaur86

Members
  • Content count

    44
  • Joined

  • Last visited

Profile Information

  • Real Name
    Laurentiu
  1. Hello! I installed the "Cart Cookie" contribution and after a few tests everything seemed to work just fine. After a few days I started to receive e-mails from my clients complaining that their cart is empty when they come back on my site. I tryed to see where the problem is testing it on Opera and IE and it seems that: 1. In IE, if I restart the computer, the cart is lost. I don't know yet if it has to do with me restarting the computer, or it's based on a fisex period. 2. In Opera, it works for 1-2 hours (can't get the exact period). After that time, my cart is empty again... I have these settings: SESSION_FORCE_COOKIE_USE = false; STORE_CART_COOKIE = true; MAX_LIFE_OF_CART_COOKIE = 30; HTTP_COOKIE_DOMAIN = 'www.domain.com'; Is there a way to test if there is a problem and what is the problem? I also have installed a contrib for user cookie (user remain logged in) but I can't remember which one. The same thing happens with this too. So when I loose the cookie for the cart, I loose it for user too. Any advices? 10x
  2. nlaur86

    ### POINTS AND REWARDS MODULE V1.00 ###

    Ok, this may sound a little stupid but... I have a question about the referral system. As I can see now, after a user creates an account, when he places his first order he is asked if he/she was referred by someone else and asked to type the email address. This is too complicated, because one can enter a wrong address... So, wouldn't it be possible to create a referral link in every customer's account page? Something that whey will show to their friends, and if someone visits the page and creates an acount, they are credited with points? The link should be something like www.domain.com/referrer.php?client_id=xxx or something like that... How hard would it be to implement that?
  3. I want to do something and I can't really find a way to do that :(. Maybe someone could help me. I need to shange the links for articles from this : http://domain.com/article-title-a-11.html to: http://domain.com/articles/article-title-a-11.html or even better, http://domain.com/article-title.html How hard is that to do? :) Thank you!
  4. nlaur86

    [Contribution] Pollbooth v2.0

    noone found a sollution to delete posted comments? If someone has the sollution, please share.
  5. nlaur86

    [Contribution] Pollbooth v2.0

    Is there a sollution to delete coments from the admin section? Because now if someone places a comment, that can't be erased. You must delete the poll to clear the comment list.
  6. Hello! I am using this contribution and it's great! But I want to make an improovement to it and I need some help. For my business, I don't need to upload different images for small and large images (XL and SM) so I would like to upload only one (for the XL image) and resize it to the thumbnail dimmension (for the IM image). So I came up with this code until now: $products_image_sm_1 = new upload('products_image_sm_1'); $products_image_sm_1->set_destination(DIR_FS_CATALOG_IMAGES); $products_model_sm_1 = ('SM1' . $products_model); $products_image_sm_1->set_name($products_model_sm_1); if ($products_image_sm_1->parse() && $products_image_sm_1->save()) { $products_image_sm_1_name = $products_image_sm_1->filename; resizeJPG1(DIR_FS_CATALOG_IMAGES.'/'.$products_image_sm_1_name, SMALL_IMAGE_WIDTH/2); } The resizeJPG function looks like this: function resizeJPG1($jpgFile, $width) { list($width_orig, $height_orig) = getimagesize($jpgFile); $height = (int) (($width / $width_orig) * $height_orig); $image_p = imagecreatetruecolor($width, $height); $image = imagecreatefromjpeg($jpgFile); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig); imagejpeg($image_p, $jpgFile, 70); } How this works for now? When I choose the file to be uploaded, I use the same file for both XL and IM images. And for the IM image, I do the resizing. How can I do this to choose only one file? I tryed to use something like "$products_image_sm_1 = new upload('products_image_XL_1');" but it didn't work. Any ideas? Thank you!
  7. nlaur86

    AJAX Attribute Manager support

    I found where the problem was. I am using a Slashdot menu (this one) for column_left. If I erase the <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> it works just fine. Any idea why this is happening? I found that the problem is with the "gliding" script: <script type="text/javascript"> // <![CDATA[ var myMenu; window.onload = function() { myMenu = new SDMenu("my_menu"); myMenu.init(); }; // ]]> </script> If I erase ONLY this code, the AJAX Attribute contribution works fine, but I can't use my menu (it can't glide)
  8. nlaur86

    AJAX Attribute Manager support

    hello! It seems that I can't use this contrib. I am using 3 browsers: IE 8, Opera 10 and Mozilla 3.6.2. The problem is that it does nothing. Nothing is showing below the price. I tryed to delete the .htaccess file but with no luck. I used a lot of versions of this contributions and none worked. I've had some errors in the language file (<? converted to <?php and <br /> converted to <br>) but beside this nothing is showing Only when I try to add a new product I get this message: "Save Product before adding options" So, there is a solution to this problem? Thank you!
  9. Ok, I can understand that but could you just give me a guideline about what should I do? Where should I look to solve this thing? I looked everywhere and I can't find the problem. Strange thing is that when I go to the second page of a category and I try to get back to first page (by clicking on the "previous page" button I gev the link "/index.php?cPath=1&sort=6a&page=1" so it isn't rewrite back Please, if you can and have any idea why this is happening, please help me. Thank you!
  10. The version I have installed is 2.7. Thank you!
  11. Hello! I have a little problem and I can't solve it by myself. I installed this great contrib and almost everything is working. The only part that is not working is when I am trying to access the second page from a category. So, for ecample, when I press the "AMOI" category (in my store) the link is http://magazindeinchiriat.ro/demo/amoi-c-1.html . But if I try to go to page 2 the link is: http://magazindeinchiriat.ro/demo/index.php?cPath=1&sort=6a&page=2 . I can't get this to work. How can I solve it? My .htaccess file looks like this: # Ultimate SEO URLs BEGIN Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} ^options\=(.*)$ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2%1 RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} Do I need to add something to it? Regards, Laurentiu
  12. nlaur86

    Header Tags SEO

    If I try to view the source this is what I see: <title></title> <meta name="Description" content="" > <meta name="Keywords" content="" > <link rel="canonical" href="http://localhost/diploma/about.php" > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" > So nothing is inserted. In the test function I get 3 errors: 1. Permissions Error (but I am using Windows, and the permissions are ok) 2. Duplicate title found 3. Duplicate meta description found thanks!
  13. nlaur86

    Header Tags SEO

    I installed this contribution but it's not working :( When I go to header tags SEO, I select a file (about.php) and write the title, description and keywords. I press update and the data is stored. If I press View Results I can see nothing. The title, description and keywords are shown on a red bakground and with no data in the field (see the attached picture) When I go to the catalog section, nothing happens. I tryed the same thing with other files but nothing works. In the database everything is ok. If I write the default tags, those are shown in the catalog. The source code for about.php is: <head> <title></title> <meta name="Description" content="" > <meta name="Keywords" content="" > <link rel="canonical" href="http://localhost/diploma/about.php" > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" > So, any help? Thanks! Late edit: I just noticed that if I am writing the default tags and I press View Results on any page I can see only the title completed automaticly from the default tags (yellow background). The description and the keywords are not shown and the background is still red. In the catalog section I can see the title but not the description and the keywords.
  14. Could someone, please, tell me how can I change contact_us.php to friendly url? I want it to look like Contact.html or even just domain.com/Contact. Please help me!. Regards,
  15. Great contribution! Congrats to all developers. Could someone, please, tell me how can I add new links? I mean, I would like to see www.mywebsite.com/contact instead of contact_us.php. The same for shopping cart and for other info pages. I modified .htaccess file and added this: rewriterule ^contact contact.php [L] The problem is that when I clikc the Contact Us button, I get the address www.mywebsite.com/contact_us.php. If I access www.mywebsite.com/contact it works. So, how do I make this work? The second question: how do I modify the way that my modified links looks like? I would like to see it like folders. In fact, I don't like that -p-16.html there. Please help me, cause I am a beginner in mod_rewrite. Thank you very much Regards!
×