Page 1 of 2 12 LastLast
Results 1 to 10 of 695

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    thanks for the rename .zip hint - Attachment 12773Attachment 12774Attachment 12775 hopefully the files have uploaded correctly.

    I will make a recommendation to those in the know about getting this modification adapted - I think SWGUY is a moderator - this is a fantastic marketing tool now and I don't know why every Zenner wouldn't use it if they also have a Facebook page or store at least now with this great function. The readme needs work for people without a lot of IT knowledge to be able to install it more easily, it confused many including me (I think a lot of people gave up due to this aspect and lack of support)

    cheers,
    Mike

    you will note there are two of these in the file update_product.php - I figure one is an errant duplication??
    ///////////////////////////////////////////////////////
    //// INSERT PRODUCT-TYPE-SPECIFIC *UPDATES* HERE //////


    //// *END OF PRODUCT-TYPE-SPECIFIC UPDATES* ////////
    ///////////////////////////////////////////////////////

  2. #2
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    Line 97 to 100 of preview_info. Just delete those lines
    PHP Code:
    }
              
    ?>
            </td>
          </tr> 
    None of that should be there.

    You also had an error with the closing } of my snippet in the facebook code blocks in update_products. You put them in too soon, they should have been at the bottom of the entire facebook code block which ends right above

    //// *END OF PRODUCT-TYPE-SPECIFIC UPDATES* //////// ///////////////////////////////////////////////////////

    and

    //// *END OF PRODUCT-TYPE-SPECIFIC INSERTS* //////// ///////////////////////////////////////////////////////

    I have edited the files in the attachment, just upload them and you should be good. Please let me know if you have any other issues.

    Edit: I will be the first to admit I don't know everything about zen cart code, I thought the "insert" section was for when products are being added and the "updates" was for when they are being modified. I could very easily be wrong and it would be far from the first time (or the last).
    Last edited by lankeeyankee; 21 Jul 2013 at 06:15 AM.

    Zen Cart and it's community are the best!!

  3. #3
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by lankeeyankee View Post
    Line 97 to 100 of preview_info. Just delete those lines
    PHP Code:
    }
              
    ?>
            </td>
          </tr> 
    None of that should be there.

    You also had an error with the closing } of my snippet in the facebook code blocks in update_products. You put them in too soon, they should have been at the bottom of the entire facebook code block which ends right above

    //// *END OF PRODUCT-TYPE-SPECIFIC UPDATES* //////// ///////////////////////////////////////////////////////

    and

    //// *END OF PRODUCT-TYPE-SPECIFIC INSERTS* //////// ///////////////////////////////////////////////////////

    I have edited the files in the attachment, just upload them and you should be good. Please let me know if you have any other issues.

    Edit: I will be the first to admit I don't know everything about zen cart code, I thought the "insert" section was for when products are being added and the "updates" was for when they are being modified. I could very easily be wrong and it would be far from the first time (or the last).
    Thanks Lankee,

    deleting that code got rid of the errant code on the preview page - thanks.

    Using your corrected update_product.php file caused the same error it did for me when I entered code in the update section - it causes a blank page after hitting update, goes nowhere and using back button then requires a browser 'resend'. Even deleting that } after the updates section does the same so there is something else awry here.

    So I deleted all code from the updates section and re-inserted the } below it so now it updates Facebook ok for 'new products' (but understandably not for updates of product.) ??

    cheers,
    Mike
    Last edited by shags38; 21 Jul 2013 at 06:27 AM.

  4. #4
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    I just looked again and noticed you must have deleted a } at the end of the "updates" section. I have corrected it and posted the new code here.
    Last edited by lankeeyankee; 21 Jul 2013 at 06:48 AM.

    Zen Cart and it's community are the best!!

  5. #5
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by lankeeyankee View Post
    I just looked again and noticed you must have deleted a } at the end of the "updates" section. I have corrected it and posted the new code here.
    Hi Lankee,

    Alas when I use your new modified update_product file nothing updates .. ?? So I have reverted to the file I originally sent you. It updates Facebook with new product via 'inserts' but not updates.

    I will continue to play with the code over the next couple of days to see if I can get it to work on 'updates' as I agree that this would be a great advantage (being able to rotate products onto FB when required).

    cheers,
    Mike

  6. #6
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    I looked at the code again in update_products and noticed that you put the first line of my code in the wrong spot, it was inside the
    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) {
        die(
    'Illegal Access');
      } 
    so this was never being run
    PHP Code:
    $facebook_add $_POST['facebook_add']; 
    Try the new file and see if it finally works.

    Zen Cart and it's community are the best!!

  7. #7
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by lankeeyankee View Post
    I looked at the code again in update_products and noticed that you put the first line of my code in the wrong spot, it was inside the
    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) {
        die(
    'Illegal Access');
      } 
    so this was never being run
    PHP Code:
    $facebook_add $_POST['facebook_add']; 
    Try the new file and see if it finally works.
    We have lift-off Houston = Success = works a treat !!!

    Thanks again - now we will see if we can make this available for everyone :)

    So what other contributions have you put forward Lankee? - you mentioned something earlier.

    cheers,
    Mike

  8. #8
    Join Date
    Aug 2013
    Location
    Brisbane
    Posts
    25
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by lankeeyankee View Post
    I looked at the code again in update_products and noticed that you put the first line of my code in the wrong spot, it was inside the
    PHP Code:
    if (!defined('IS_ADMIN_FLAG')) {
        die(
    'Illegal Access');
      } 
    so this was never being run
    PHP Code:
    $facebook_add $_POST['facebook_add']; 
    Try the new file and see if it finally works.
    Lankee I am having the same problem Can you explain "it was inside" WHAT

  9. #9
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL.
    Posts
    95
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I'm using autofacebook with zen 1.5.1

    The plugin is working great except extra zeros are added to the prices like $949.00000
    heres a link https://www.facebook.com/ntsolutionsllc?ref=hl

    How do I get the plugin to include the discounted price and fix the zeros or just not include the price at all?

    I also want to use the autotwitter plugin how do I install both plugins?

  10. #10
    Join Date
    May 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I am having this same issue.. Did not see where anyone posted a solution but went to your fb page and see you have it working correctly.. Could you please share how you fixed this issue?
    Thank you
    Arlette

    Quote Originally Posted by [email protected] View Post
    I'm using autofacebook with zen 1.5.1

    The plugin is working great except extra zeros are added to the prices like $949.00000
    heres a link https://www.facebook.com/ntsolutionsllc?ref=hl

    How do I get the plugin to include the discounted price and fix the zeros or just not include the price at all?

    I also want to use the autotwitter plugin how do I install both plugins?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 autofacebook help
    By sean g in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Nov 2014, 08:52 PM
  2. AutoFacebook and Canada Post Modules
    By DJLQD in forum General Questions
    Replies: 0
    Last Post: 27 Feb 2013, 02:32 PM
  3. v139h Help please with Autofacebook - Support thread is no longer supported
    By shags38 in forum General Questions
    Replies: 0
    Last Post: 18 Jul 2012, 01:49 PM
  4. Problems with AutoFacebook
    By amanda099 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Aug 2010, 10:12 AM
  5. AutoFacebook OG 1.3.9 addon problems
    By eOstrE in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Jul 2010, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg