Please make sure you have enabled flash support in Shadowbox.js settings (AdminCP) and mimetype for attachement type .swf is set to the correct value application/x-shockwave-flash.
Nice, I might just have to give this a try.
@Caps:
Please try the attached file. Just overwrite the file inc/plugins/shadowbox.php
Hope this will fix your problem. If it works I will update the plugin.
*attachment removed (fixed in version 1.1)*
Great - works perfectly,
What a great help you are Querschlaeger.
To be honest, I was thinking this community was a bit quiet about providing solutions for Flash or Quicktime media to display within post. I was ready to move on. In my opinion, an active and helpful community is a big part of the value of a script.
***************
There is one other issue, php is not detecting the correct H/W of the flash movies. They all are the same size. Is there a solution? Link:
http://www.eiproject.net/product_review/....php?tid=4
Caps
The revised shadowbox.php you gave me seems to have a permissions problem. You can not open the image nor swf file if you are "guest." Guest can see the post but not open the shadowbox managed media.
Caps
(2009-07-22, 11:59 PM)Caps Wrote: [ -> ]There is one other issue, php is not detecting the correct H/W of the flash movies. They all are the same size. Is there a solution?
Fixed in attached file!
(2009-07-22, 11:59 PM)Caps Wrote: [ -> ]The revised shadowbox.php you gave me seems to have a permissions problem. You can not open the image nor swf file if you are "guest." Guest can see the post but not open the shadowbox managed media.
This has nothing do to with Shadowbox.js. You have just set in AdminCP that guest can not see attachments (MyBB default behavior). Can be adjust in AdminCP > Users & Groups > Groups > Guests > Forums and Posts > Can download attachments
(2009-07-03, 03:19 PM)alvarorojas4 Wrote: [ -> ]I have a problem...
When I put, External and internal resources in yes... in a threat appear:
Warning [2] getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration - Line: 441 - File: inc/plugins/shadowbox.php PHP 5.2.3 (FreeBSD)
File Line Function
[PHP] errorHandler->error
/inc/plugins/shadowbox.php 441 getimagesize
[PHP] shadowbox_parsing
/inc/class_plugins.php 101 call_user_func_array
/inc/class_parser.php 147 pluginSystem->run_hooks
/inc/functions_post.php 568 postParser->parse_message
/showthread.php 823 build_postbit
Warning [2] getimagesize(http://foroact.com/showteam.php) [function.getimagesize]: failed to open stream: no suitable wrapper could be found - Line: 441 - File: inc/plugins/shadowbox.php PHP 5.2.3 (FreeBSD)
File Line Function
[PHP] errorHandler->error
/inc/plugins/shadowbox.php 441 getimagesize
[PHP] shadowbox_parsing
/inc/class_plugins.php 101 call_user_func_array
/inc/class_parser.php 147 pluginSystem->run_hooks
/inc/functions_post.php 568 postParser->parse_message
/showthread.php 823 build_postbit
Warning [2] getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration - Line: 441 - File: inc/plugins/shadowbox.php PHP 5.2.3 (FreeBSD)
File Line Function
[PHP] errorHandler->error
/inc/plugins/shadowbox.php 441 getimagesize
[PHP] shadowbox_parsing
/inc/class_plugins.php 101 call_user_func_array
/inc/class_parser.php 147 pluginSystem->run_hooks
/inc/functions_post.php 568 postParser->parse_message
/showthread.php 823 build_postbit
Warning [2] getimagesize(http://foroact.com/showteam.php) [function.getimagesize]: failed to open stream: no suitable wrapper could be found - Line: 441 - File: inc/plugins/shadowbox.php PHP 5.2.3 (FreeBSD)
File Line Function
[PHP] errorHandler->error
/inc/plugins/shadowbox.php 441 getimagesize
[PHP] shadowbox_parsing
/inc/class_plugins.php 101 call_user_func_array
/inc/class_parser.php 147 pluginSystem->run_hooks
/inc/functions_post.php 568 postParser->parse_message
/showthread.php 823 build_postbit
Help plz!
Also fixed in attached file!
*attachment removed (fixed in version 1.1)*
I am still unable to get the correct h/w for each Flash movie. They all are the same size.
The permissions in the AdminCP worked, thank you for that suggestion. I did give permissions but what you gave seems to be hiding
.
Thank you again.
Caps
Yes I saw that the flash dimensions doesn't work on your site...
Hm, I will build a special debug version you, so we can see whats the problem.
I do have other php scripts which detect h/w correctly for images and Flash on this same site.
Caps