vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Ultimate Media Gallery LITE (https://vborg.vbsupport.ru/showthread.php?t=203029)

Jari37 09-25-2009 07:13 PM

I installed this and it was working fine. But I moved server last week, and now I'm having problems uploading pictures via the user cp 'upload' option.

When I try to do it, I'm getting this message:

Fatal error: Call to undefined function imagetypes() in /home/ukcf/public_html/forum/umg_gallery/umg_functions.php on line 584

I've googled this, and also read through this thread and the thread for the 3.7 version, but couldn't find a solution.

Can anyone help?

Coroner 09-26-2009 06:37 AM

imagetypes is a function of the GDLib. You sure, that GDLib is installed on your new server ?

ukdalai 09-27-2009 03:59 PM

Hi coroner, ive read through the thread, and not found an answer to my Q's.

1. does this mod make it possible to take attachments from the normal forum attach system and add them to the gallery, if so would they be copied or just refferenced, as i would like to use the gallery as a sort of archive for current attachments that may later get pruned from the forums.

2. does anyone know how to get the video thumbnails generated, this would only be nessasary for the gallery, not the forum, i have a very very big forum on a very very big dedicated server, that i have full control of.

we have over 700gb of attachments and i cant risk a mod messing up our forum, i understand its on seperate db tables and if i can get answers to my 2 Q's and you think your gallery would handle the kind of attachment weight we have i think it would be ideal.

we currently have average attachments of 20mb, and i dont think we need public level uploading, that would be purely for mods and admins.

Whats your thoughts.

Dalai

Coroner 09-28-2009 03:43 AM

1.) Not the LITE ! In PRO the attachments are refferenced. You can see it, at my Forum.

2.) I do not know it.

Cybershaolin 09-28-2009 05:59 AM

1 Attachment(s)
Nice hack. Installed.

But I got a problem. When opening a mpg video (or whatever extension) the player is so small! It has a dimension of 90x113! How come? In the hack options, everything is setup correctly for the media sizes. Like, for mpeg, I have putted 640x480.

So, why is my player small like that? See picture.

ukdalai 09-28-2009 07:31 AM

Quote:

Originally Posted by Coroner (Post 1891627)
1.) Not the LITE ! In PRO the attachments are refferenced. You can see it, at my Forum.

So i could not then prune the thread that they came from and keep them in the gallery.
it would be the pro version.
i have sent you a pm
Dalai

Coroner 09-28-2009 12:48 PM

You can choose a higher size in your AdminCP (UMG - Media Sizes)

Cybershaolin 09-28-2009 02:46 PM

Quote:

Originally Posted by Coroner (Post 1891749)
You can choose a higher size in your AdminCP (UMG - Media Sizes)

But, like I said in my previous post, I did! Like, for mpeg and mpg, I have putted 640x480 and my player is still small. (and the file played is a mpg file).

Coroner 09-28-2009 03:28 PM

1 Attachment(s)
I've checked this out - and it works. See image !

Another way you can do, is:
open umg_extensions.php and search the following part:
Code:

        case 'mpg':
                $width  = $ext['mpg']['width'];
                $height = $ext['mpg']['height'];
                $url    = $media_url;
                $mtpl  = 'media';
                $mime  = 'video/x-mpeg';
                break;

change the width and high as you like, maybe:
Code:

        case 'mpg':
                $width  = 640;
                $height = 480;
                $url    = $media_url;
                $mtpl  = 'media';
                $mime  = 'video/x-mpeg';
                break;


Cybershaolin 09-28-2009 04:04 PM

This way it works. Thanks.

But, how come it does not take the Media sizes we defined in the the Gallery options? I find strange that it works for you or/and others but not for me? Would you see a reason why?


All times are GMT. The time now is 10:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02171 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete