News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Media Gallery (SMG) - 2.0.5 is out! (December 2)

Started by SMGTeam, September 09, 2008, 03:14:05 PM

Previous topic - Next topic

scruffeone

I just d/l'd the 1.5.6 and attempted the install via the interface and received an error on a filetest for the ManagePermissions.php file.  in looking at the exploded package, I find that the file is not included in it.  Is this done on purpose?  ???

Nao 尚

This is an SMF file, not an SMG file... If it's not in your board's Sources folder, then your SMF install is corrupt.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

scruffeone

 :D Thanks for your quick reply!!  I realized that after I made the post.  It looks like it may be a file modification permission issue.  Unfortunately I can't make the modification manually where I am now, so I'll attempt it later.   BTW, this is probably a dum question, but since I like your mod so much, I looked at your other (Aeva) mod, can I run both on my board, or will this one suffice for both functions? 

Thanks again!!

psynx

Quote from: psynx on June 30, 2009, 10:56:19 AM
mass upload not working.

i upload several images using mass upload and it is not working. there isn't any msg about errors. and also i have to keep clicking 'upload', i thought it will do auto upload to all images i have selected. but i have to click 'upload' for each images in order to upload it. the worst thing is after i have done uploading all of the images, i went to mgallery home page and my album is empty. so that means no image was uploaded.

i've created .htaccess on my root directory and add those required code but no use

need answer pls?

ShadoWind

I'm trying to incorporate the code that's found in the parse section for the index.php which are the following:

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).

Add Before
// SMF MGallery Changes
if (isset($_REQUEST['action']) && isset($_REQUEST['area']) && $_REQUEST['action'] == 'admin' && $_REQUEST['area'] == 'mgallery')
{
require_once($sourcedir . '/MGallery-Admin.php');
return 'MGal_admin_init';
}
// End SMF MGallery changes


and

'mlist' => array('Memberlist.php', 'Memberlist'),

Add Before
'mgallery' => array('MGallery.php', 'MGallery_init'),

The only problem is that both codes that need to be found in there aren't found. I take it this means that I have to upload the other files that I've added the relevant code to for the related code to appear in the index.php file which I'd be able to check via the Admin option.

tfs

Quote from: Nao 尚 on June 25, 2009, 06:20:54 PM
Well we've been working hard on SMG2 for months and months... You certainly can wait until we feel it's ready. It'll probably be out this weekend but then again we announced that several times these last few weeks... Although now we do have a complete changelog ready for release.

DROOL!!!  I know I know.... when it's ready.  :)
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

Nao 尚

Oh, I'm hoping this week... The Foxy! mod is ready for release really, and I'm only waiting for the first public beta of SMG2 to start offering it.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

thatguy

Hello, I am trying to upload some video files to put in my gallery all 5 are 93 MB's each. My PHP.INI fille states upload_max_filesize = 500M as well as post_max_size = 500M. The biggest file I have been able to load is about 27 MB's. Is there anything else I can add to the php.ini file to get files larger then 27 MB's to upload? I included a screenshot of my gallery settings.

Thank You.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

jameskeaton

#3788
I have installed SMF Media Gallery on SMF 1.1.9 and I am having a couple problems.  I can create albums, but I can upload.  I get this error in the web browser when I click the Submit button..."Error, file not found! (/home/a8707938/public_html/forum/mgal_data/albums/blah/Dir_1/17_ttr50left_JPGd1ae5356c02e9e88dac8bfc975330339_extjpg)"

And after going to my error reporting on SMF I got this error..."2: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /home/a8707938/public_html/forum/mgal_data/tmp/ttr50left.JPG
File: /home/a8707938/public_html/forum/Sources/Subs-MGallery.php
Line: 2126"

And here is my Subs-MGallery.php file lines 2120 - 2130...
2120
2121     function getFileSize()
2122     (
2123          if ($this->media_type() == 'image')
2124          (
2125               if ($this->image_handler == 1)
2126                    return filesize($this->src);
2127               elseif ($this->image_handler == 2)
2128                    return $this->imagick->getImageSize();
2129               elseif ($this->image_handler == 3)
2130                    return MagickGetImageSize($this->magick);

I am too new to see a problem.  The file I am trying to upload is under 70kb.  Thanks for all of your help.

jameskeaton

Anyone have an idea?  I kept looking at this and can't find the problem.

Nao 尚

@thaguy> I don't know.
@jameskeaton> I don't know. (PHP Safe mode?)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

jameskeaton

PHP Safe Mode?  What is that?

I am a super noob.  Thanks for your response.

Atoa

The thumbnails boxes have the width of the biggest image on the row.
I want to know where in the code i can set fixed width for the thumbnails box.



I want all thumbs boxes to have the same width same width, no matter of the content width, so i can avoid blank space like the one marked on green in the image.

@jameskeaton
It's an internal configuration of your server. if you don't own the server, ask for the host admin to turn off the php safe mode

Nao 尚

@Atoa> Use SMG2 when it gets out. I changed the layout to do just that.

@Everyone> I'm pleased to announce that I'm finally done with the Foxy! add-on! All features I planned to implement are now live and kickin'! You can see it in action over at http://media.noisen.com (click on "Playlists" next to the Albums tabs) in Gallery context, and http://fox.noisen.com in "board + smg tag + linked topics" context (which is even cooler).
It will be available from day 1, as soon as the SMG2 public beta is released.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

jameskeaton


IdanC

Quote from: thatguy on June 30, 2009, 06:46:26 PM
The biggest file I have been able to load is about 27 MB's.

I wish! my biggest problem is i can't upload anything bigger than 7mb! it's horrible...

is there anyway to upload a file to the server and connect it to SMG afterwards?

asifnur

im keep on getting probs here :(

4.     Execute Modification     ./Sources/Load.php     Test failed
5.    Execute Modification    ./Sources/ManagePermissions.php    Test failed

how can i solve this?

Thenewguy2009

asifur, manual install.

Did you install the package already? If you did, just uload those attachments and Ill recode it for you. 

kingkingston

Quote from: Nao 尚 on July 01, 2009, 01:24:04 PM
@Atoa> Use SMG2 when it gets out. I changed the layout to do just that.

@Everyone> I'm pleased to announce that I'm finally done with the Foxy! add-on! All features I planned to implement are now live and kickin'! You can see it in action over at http://media.noisen.com (click on "Playlists" next to the Albums tabs) in Gallery context, and http://fox.noisen.com in "board + smg tag + linked topics" context (which is even cooler).
It will be available from day 1, as soon as the SMG2 public beta is released.

Wow fantastic work Nao,it looks great

tfs

Quote from: IdanC on July 01, 2009, 04:20:08 PM
Quote from: thatguy on June 30, 2009, 06:46:26 PM
The biggest file I have been able to load is about 27 MB's.

I wish! my biggest problem is i can't upload anything bigger than 7mb! it's horrible...

is there anyway to upload a file to the server and connect it to SMG afterwards?

They say that Mgal2 will have this ability.  Until then you can try this... copied from my post at http://smf-media.com/community/index.php?topic=863.0

I've gotten around this by uploading a small "dummy" file in place of the actual video.  This dummy can be just a few bytes in size, created with notepad or whatever.  If your 200 MB video file is named BigVideo.WMV then name your dummy file BigVideo.WMV and upload it.  You can then FTP to your mgal_data folder and see what the actual online name of the file becomes (by default MediaGallery gives it a cryptic name), and then FTP your real video into its place.

The size of the file will show up incorrectly in MediaGallery, but you can easily fix that by going into the database using PhpMyAdmin and fixing it.  I don't recall the table/field name but it's fairly self evident when you get in there.
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

Advertisement: