Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 How do you setup Magic Thumb for the Wordpress ver
Author « Topic »  

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  
Hi Ecart
If you set the Magic Toolbox parameter in your vsadmin/includes.php file then it is automatically setup in the wordpress version. Remember to make the parameter GLOBAL as for all WordPress parameters, for instance...

$GLOBALS['magictoolbox']='MagicZoomPlus';

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

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  
quote:
I'm trying to setup Magic Thumb


Looking at your first post you're using Magic Thumb, so you would add $GLOBALS['magictoolbox']='MagicThumb'; to your vsadmin/includes.php file



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

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  
Hi Ecart
quote:
Looking at your first post you're using Magic Thumb, so you would add $GLOBALS['magictoolbox']='MagicThumb'; to your vsadmin/includes.php file
Phil is of course correct and it is Magic Thumb you said you are using. Could you set that parameter and then let me know the URL of your product detail page to check?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

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  
quote:
It worked and the video just ended. But it caused some other issues. Now, this code shows up on the cart pages:


I don't think the plugin has anything to do with that error message. Can you click on my name and send me FTP details and the logins for wp and vsadmin and I'll look into it for you?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Phil
ECT Moderator

United Kingdom
7782 Posts

Posted - 07/23/2025 :  02:39:20  
Hi Stan,
Thanks for the login info, that's all fixed for you now



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

ecart
Advanced Member

131 Posts

Posted - 07/23/2025 :  10:03:20  
Thanks Phil
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000