ecart
Advanced Member
131 Posts |
Posted - 06/18/2025 : 15:43:13
Hello, I'm trying to setup Magic Thumb to add videos for the products in the ECT Wordpress version. The instructions call for adding code to the proddetail.php file. I do not see that file on the FTP screen in the root folder. Are there different instructions for adding Magic Thumb to the WP version?
Thanks
|
Vince
Administrator
43100 Posts |
Posted - 06/18/2025 : 23:52:43
|
ecart
Advanced Member
131 Posts |
Posted - 06/30/2025 : 15:03:45
Hi Vince,
I added $GLOBALS['magictoolbox']='MagicZoomPlus'; but I'm getting an image icon with a red circle and diagonal slash in the giant image field. On the website, the smaller images don't show and when I click the single image that is showing it goes to youtube.com and shows the video along with a list of other unrelated videos.
Thanks
|
Phil
ECT Moderator
United Kingdom
7782 Posts |
Posted - 07/01/2025 : 05:17:01
Edited by - Phil on 07/01/2025 05:17:37
|
ecart
Advanced Member
131 Posts |
Posted - 07/01/2025 : 10:17:49
Hi Phil,
I tried it both ways and the problem persists.
These are the instructions I received from Magic Tool Box tech support.
I see you have a WordPress website but have installed the generic HTML version.
If you use the WordPress version, you can display the YouTube video like so:
1. Create your gallery:
https://www.magictoolbox.com/magicthumb/modules/wordpress/#shortcodes
2. Click the 'Add video' button:
https://magictoolbox.sirv.com/screenshots/wordpress-generic-video.png
3. Enter the YouTube video url > Click 'Add' > Save change.
https://magictoolbox.sirv.com/screenshots/wordpress-generic-video-add.png
4. Refresh web page or insert shortcode into page/post > Video(s) appear as thumbnails on WordPress page.
https://magictoolbox.sirv.com/screenshots/wordpress-generic-video-view.png
If you choose to continue using the generic HTML version of Magic Thumb, you can display YouTube videos using the code in the 'Video lightbox' example here:
https://www.magictoolbox.com/magicthumb/integration/#using-video

|
Vince
Administrator
43100 Posts |
Posted - 07/05/2025 : 12:26:44
|
ecart
Advanced Member
131 Posts |
Posted - 07/18/2025 : 22:52:08
Hi Vince, I added $GLOBALS['magictoolbox']='MagicThumb'; I still get an error.
Here's the link:
https://raiderocks.com/proddetail/?prod=006%2F10284_06
|
Phil
ECT Moderator
United Kingdom
7782 Posts |
Posted - 07/19/2025 : 02:02:47
Hi Ecart, I've just tried this on my own site and got the same error after adding a youtube link in the giant image field. So looking into this further the link needs to be in the following format
https://www.youtube.com/ embed/DFYaNjzI1aI?si=QMFCLvLr0ANyYQH7 Here's the result - https://www.bettapages.com/Notify-In-Stock-Email-Downloader-PHP Example here using your video - https://www.bettapages.com/Magic-Toolbox-Video So the link you need to be entering on your site needs /shorts/ replacing with /embed/ - https://www.youtube.com/embed/gKxzvhUXpgI *Contact Us**Buy The PHP Capture Card Plugin**Rate Our Services/View Our Feedback*
Edited by - Phil on 07/19/2025 03:15:52
|
ecart
Advanced Member
131 Posts |
Posted - 07/21/2025 : 14:58:24
Thanks Phil. That worked but it shows "Suggested Related Videos" when the video ends.
I uploaded a plugin to eliminate the "Suggested Related Videos" and the end. It worked and the video just ended. But it caused some other issues. Now, this code shows up on the cart pages:
Warning: Undefined variable $pagetitle in /www/raiderocks_740/public/wp-content/plugins/ect-widgets/ect-widgets.php on line 472
Warning: Undefined variable $productname in /www/raiderocks_740/public/wp-content/plugins/ect-widgets/ect-widgets.php on line 475
Warning: Undefined variable $productid in /www/raiderocks_740/public/wp-content/plugins/ect-widgets/ect-widgets.php on line 475
Here's a link to the plugin: https://www.hideyt.com/
I deleted the plugin but the warnings still appear on cart pages.
Any ideas?
Thanks
|
Phil
ECT Moderator
United Kingdom
7782 Posts |
Posted - 07/22/2025 : 00:21:03
|
Phil
ECT Moderator
United Kingdom
7782 Posts |
Posted - 07/23/2025 : 02:39:20
|
ecart
Advanced Member
131 Posts |
Posted - 07/23/2025 : 10:03:20
Thanks Phil
|
|
|