News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

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

Dragooon

Ahh
Find
array($filename, $size, $width, $height, $dir2, $id), in MGallery-Sub.php
And replace it with
array($filename, $size, $width, $height, $dir2, $id_album),

Sorry for the issues :).

helpmehelpme

can somebody help me I install but I do not know how to put it on the tab for the gallery

Bigguy

Ok; thats got it...workin good now. Thank you sir. :)

Dragooon

Quote from: helpmehelpme on September 16, 2008, 09:09:38 AM
can somebody help me I install but I do not know how to put it on the tab for the gallery
Make sure you modify your theme to add the gallery tab :)

Quote from: Bigguy on September 16, 2008, 09:11:09 AM
Ok; thats got it...workin good now. Thank you sir. :)
Your welcome, and glad you got it workin'

Dragooon

@Kindred about mass-import script from a folder, it is possible to create one standalone version, which'll be not *so* clean*. Although that'll be after my exams.

Bancherd

Great!    :D Are these fixes in 1.0.1? 

Also, could that fact that I was using a directory that is outside of public_html cause problems?  ??? (I also use this approach for smf's attachment folder).

Dragooon

Quote from: Bancherd on September 16, 2008, 09:59:25 AM
Great!    :D Are these fixes in 1.0.1? 
The fixes I posted today are not.

Quote from: Bancherd on September 16, 2008, 09:59:25 AM
Also, could that fact that I was using a directory that is outside of public_html cause problems?  ??? (I also use this approach for smf's attachment folder).
Thats actually an safer aproach :).

Kindred

#127
hmmm....  trying to add a new object in a primary gallery

(first gallery, first item)

displayed on the screen

The database value you're trying to insert does not exist: width

SITE.com/index.php?action=mgallery;sa=add;album=1

in the logs there are 3 errors...

2: rename(/home/SITE/public_html/mgal_data//Dir_1/6_eyes_gif2841ddc314623e46edaaf243b6173ca0_extgif_thumb,/home/SITE/public_html/mgal_data/tmp/tmp_thumb_6_extjpeg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/SITE/public_html/Sources/Subs-MGallery.php
Line: 1507



2: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /home/SITE/public_html/mgal_data/tmp/tmp_thumb_6_extjpeg
File: /home/SITE/public_html/Sources/Subs-MGallery.php
Line: 1768 
 


The database value you're trying to insert does not exist: width
Function: mgal_db_insert
File: /home/SITE/public_html/Sources/Subs-MGallery.php
Line: 136 

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bigguy

Kindred; try this fix if you haven't already:

http://www.simplemachines.org/community/index.php?topic=260821.msg1710292#msg1710292

Then read a few more posts cause I had another error when I used that fix that needed to be fixed as well.

Kindred

yup... I already applied both of the fixes from this thread. :(
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bigguy

Oh; I thought that would've helped. It worked for me great. I'm sure you'll get it soon. ;)

Kindred

hmmm... part of it might be a permissions issue. Although the dir_1 directory is 777....

Also, I will note that creating a user directory "Kindred's Sketchbook" does not actually end up creating a new directory on the server. Is that because of the single quote/apostrophe?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Bigguy

I just checked mine and it creates directories on my server fine. Installation was fine and other than those two errors it all works great. What's this dir_1 directory. I don't have that anywhere. ???

Özgür

how make i recent 10 gallery items list on boardindex ?
So Long

Dragooon

#134
Quote from: ЯocKayseri on September 17, 2008, 04:34:30 AM
how make i recent 10 gallery items list on boardindex ?
That'll require some custom code modifications.

Quote from: Kindred on September 17, 2008, 12:32:38 AM
hmmm... part of it might be a permissions issue. Although the dir_1 directory is 777....

Also, I will note that creating a user directory "Kindred's Sketchbook" does not actually end up creating a new directory on the server. Is that because of the single quote/apostrophe?
Does it work without an apostrophe?
And do you have GD2/IMagick or MagickWand installed?(See Gallery -> Admin -> About to know).

EDIT : I tested with an apostrophe on the album's name and it creates the directory and adds the item.
EDIT 2 : Looks like the directory's existance seems an problem, make sure the /mgal_data/tmp directory exists and is 777 and the album's directory(See the DB entry of that album to know it) exists with an directory.

Randy A.

Very nice MOD.  Thank you!!

I would like to request some way to upload more than one picture at a time.

Dragooon

I'll see for that
Thanks for your compliment :).

protonxl

my error :
Quote
Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

installed:
Quote6.     SMF Gallery Lite      1.8.3       [ Uninstall ]  [ List Files ]  [ Delete ]

Dragooon

This is not SMF Gallery lite, this is a different gallery. Please use that mod's support thread for its support.

dkinser

Installed the mod, everything went fine, no errors.  Admins can see the button for Gallery, nobody else can.

Any suggestions on why?   Using WoW-DK theme, I've got that modified and it works, but for admin only.

Any help is greatly appreciated.

Advertisement: