Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 59
  1. #11
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by jjrmy1 View Post
    Never mind. I had to change the table prefixes.
    I am struggling to get this to work, what did you mean you had to change the table prefiixes? What tables are you talking about and what did you change them to please?

  2. #12
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by Hollywood691 View Post
    the directions say: admin/includes/modules/product/collect_info.php and go to end of the last but one table and paste the following code after this:

    what in the world does:" go to the end of the last but one table mean?

    I am confused - I dont know what the end of the last but one table is
    What he means is go to the next to the last table and insert the code there. Good luck getting it to work, though. All I get are sql errors..

  3. #13
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by info1 View Post
    Hello mates,
    Thanks for choosing this addon. if you experience any problems regarding the addon 'PRODUCT VIDEOS FROM YOUTUBE' please post here. I can help you.
    Okay I'm posting here. All I get after installing according to instructions is this when I try to add a video ID

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/myusername/public_html/admin/product_video_youtube.php on line 19
    Inserted Successfully

  4. #14
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by jjrmy1 View Post
    Never mind. I had to change the table prefixes.
    I emailed Jeremy and asked him what specifically he did to fix this. Here is his fix, I've implemented it, and it works perfectly.


    admin/product_video_youtube.php
    LINE 18
    insert your table prefix before "products_videos"
    LINE 21
    insert your table prefix before "products_videos"
    LINE 24
    insert your table prefix before "products_videos"
    includes/templates/your template/templates/tpl_modules_youtube.php
    LINE 14
    insert your table prefix before "products_videos"
    For example. The prefix for my ZenCart tables is "cart_" So mine looks like this: cart_products_videos.

    You must change both files.

  5. #15
    Join Date
    Aug 2010
    Location
    BrisVegas
    Posts
    18
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Brilliant, works well - thanks for this. Especially like how easy it is to place to a specific point within the page, certainly beats the hard coding like I was doing for every clip previous to this!

  6. #16
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    You're quite welcome. I followed the original parts of this thread and found the one reference to how he got it to work, but it was too vague to be useful. Contacted him directly through his zen cart contact page and he was kind enough to respond with specifics. Thought it might be a good idea to let everyone else in on it. Glad I could help in some small way.

  7. #17
    Join Date
    Aug 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    I tried to use this mod but I could not get the video to display on the product page. I applied all of the fixes listed here, everything seems to load fine but nothing shows up on the product page. Does anyone have any ideas?

    Thanks
    Tom

  8. #18
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by kencor1 View Post
    I tried to use this mod but I could not get the video to display on the product page. I applied all of the fixes listed here, everything seems to load fine but nothing shows up on the product page. Does anyone have any ideas?

    Thanks
    Tom
    Can you be more specific in regards to the statement "everything seems to load fine" What exactly is loading?

  9. #19
    Join Date
    Aug 2010
    Posts
    47
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Quote Originally Posted by sigung View Post
    I emailed Jeremy and asked him what specifically he did to fix this. Here is his fix, I've implemented it, and it works perfectly.


    admin/product_video_youtube.php
    LINE 18
    insert your table prefix before "products_videos"
    LINE 21
    insert your table prefix before "products_videos"
    LINE 24
    insert your table prefix before "products_videos"
    includes/templates/your template/templates/tpl_modules_youtube.php
    LINE 14
    insert your table prefix before "products_videos"
    For example. The prefix for my ZenCart tables is "cart_" So mine looks like this: cart_products_videos.

    You must change both files.

    Hi Where can i finf the " Prefix for my ZenCart tables" .

    Thank you in advance

  10. #20
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    either download a copy of your:

    includes/configure.php file or open it with the built in editor in cpanel.

    do a find for the phrase:

    define('DB_SERVER_USERNAME

    and you will come to a line that says something like this:

    define('DB_SERVER_USERNAME', '( your database prefix here )_zc1');

    so, it might look like

    define('DB_SERVER_USERNAME', 'sgspeer_zc1');

    or whatever name you set up originally when you defined your database.

 

 
Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Embedding YouTube videos on Product pages
    By ailtait in forum General Questions
    Replies: 24
    Last Post: 23 Nov 2022, 10:56 AM
  2. v155 Default Attribute - Add from product list [Support Thread]
    By swguy in forum Addon Admin Tools
    Replies: 9
    Last Post: 6 Jul 2020, 01:13 PM
  3. v139h adding youtube videos to products - annoying error
    By kitcorsa in forum General Questions
    Replies: 1
    Last Post: 23 Jul 2013, 02:30 PM
  4. Imbedding YouTube videos into ez-pages
    By strugglingnovice in forum General Questions
    Replies: 18
    Last Post: 14 Apr 2012, 01:16 AM
  5. Is there a way to embed my youtube videos?
    By outeredge2 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Aug 2010, 02:07 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR