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

littenburg

#3540
OK, i love this mod, it is a great idea, except for the fact that one day it works, by not working, i mean it always comes up with errors when uploading pictures, then the next it doesnt, i have reinstalled it several times, each time, having to delete the tables from the database, and redoing all the settings. I have done it probably 6 times now, because it can't seem to stay working. im completely uninstalling it again. maybe i will bring it back for the 7th time...but thankyou for a great mod idea:)

L'AltroWeb

#3541
Quote from: Özgür´ on May 29, 2009, 11:54:30 AM
If you want to exclude cats you can use this
$excludecats = '35,12,30';
$items = getMediaItems(0, 5, 'RAND()', true, array(), 'm.album_id NOT IN (' . $excludecats . ')');

Or only one cat
$includecats = '35';
$items = getMediaItems(0, 5, 'RAND()', true, array(), 'm.album_id IN (' . $includecats . ')');

Thank'u very very much :)
but i think is no plus necessary an empty true array()
like this is ok? :)
$items = getMediaItems(0, 3, 'RAND()', 'm.album_id NOT IN (5)');
No, i've test now and not work.
Work fine with this :)
$items = getMediaItems(0, 3, 'RAND()', true, array(), 'm.album_id NOT IN (1,2,7)');

zorro18

Hi,

I have installed SMG 1.5.6 on SMF 2.0 RC 1-1. Everything went on well. But when I try to upload a pic into the gallery, i can see this following parse error message.
Quote
Parse error: syntax error, unexpected T_ELSE in /home7/andhraco/public_html/forum/Sources/Subs-Graphics.php on line 227

I have attached the subs_graphics.php. If you can please look into this, it will be sincerely appreciated.

Thanks in advance.

P.S: my site url is www.andhraconnect.com

SMF community Rocks !!

L'AltroWeb

#3543
Hi!
I've found a problem with Album Id=1.
I can't put or move in it any file :(
All others album works fine except 1.
I've test to run maintenance and all seems to be ok :|
It seems to be in read only but i've test also to put 777 permission to mgal_data folder.
Any idea to fix?
-
Edit: i've delete album id1 (moved only 7images to temp album) and i've recreated it.
After of this i've moved without error all precedent images ;)
Now is ok but i don't have understood the problem :|
-
PS: i've put now more images (about 140 with Mass Upload) in this new album but more files have a really strange date (more of this plus old of my site)
eg: 16 May 2006, 11:21:31 http://darkwolf.altervista.org/forum/mgallery/?sa=item;id=965;sort=2
And many other value: http://darkwolf.altervista.org/forum/mgallery/?sa=album;id=12;start=135
(Last seven with more views is the old images, all others as been upload tonight) :(

Akyhne

Your problem with the dates are probably that you set the gallery to give the files date by file information, and not by upload date.
Check your admin settings.

Nao 尚

Yes, by default SMG will use the exif date when uploading. This was my decision -- I think it's more logical to see the date when a picture was shot, rather than the date it was added, especially since the default sort order is by ID -- ie the latest picture uploaded can have an older date, it'll still show up in first position.
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.

L'AltroWeb

Ok thanks :)
But for me is strange this value.
if i upload an image now, IMHO, is best to result Posted by DarkWolf - Today and not Posted by DarkWolf - May 16, 2006 (my forum not exist in 2006) :|
I've test to disable exif but i see ever old date.
I can't find other setting to see right date value (upload date).
-
@Nao: for problem with "read only" album have any notice?

Akyhne

http://www.yoursite.com/index.php?action=admin;area=mgallery;sa=settings
... 5th option.

Showing or hiding the Exif options, has nothing to do with your problem.

Nao 尚

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.

PRaDiUS

#3549
Quote from: Nao 尚 on May 29, 2009, 02:45:19 AM
@Pradius> I couldn't know what your problem is without looking at your code...

Ok, here is mgallery.template and index.template.
If you need me to put up any of my source files for you to see then let me know.
I am pretty sure the root of the problem is in here somewhere thou.
Thanks for taking a look.

;D

Quote from: Nao 尚 on May 29, 2009, 09:36:00 AM
@Pradius> I had another look at your board -- it's still showing the copyright footers in black over a black background. When are you planning to make them visible?

I don't know. That Kindred guy was raising a stink about them too. I then pointed out to him that nowhere in the terms does it say copyright links have to be visible. It only says that they must remain intact and unaltered. Nither of which I have violated. Then he said well it is "implied" that they should be visible but he was going to talk to admins of SMF about it and find out. So, I have not heard back from SMF yet. But if they show me where in the terms it says "visible" or "readable", then I will gladly change them.

          [ RGXbox.com ]

Nao 尚

You should be glad to change them to give credit where credit is due -- not glad to change them because it is mandatory...
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.

L'AltroWeb

Quote from: Akyhne on May 30, 2009, 10:51:54 AM
http://www.yoursite.com/index.php?action=admin;area=mgallery;sa=settings
... 5th option.

Showing or hiding the Exif options, has nothing to do with your problem.
Thanks :)
I've disabled it but old (already upload) images still maintain exif date :|
Quote from: Nao 尚 on May 30, 2009, 11:10:42 AM
Quote from: Dark-Wolf on May 30, 2009, 10:28:49 AM
@Nao: for problem with "read only" album have any notice?
?
Sorry, this: http://www.simplemachines.org/community/index.php?topic=260821.msg2084599#msg2084599

Akyhne

Yer, your currently uploaded files won't change. They are still uploaded using the old setting.

PRaDiUS

#3553
I don't mind giving credit at all.. So long as it doesn't compromise the look of my forum. I would gladly add a copyright links page where I could list everyones links in one place out of the way... but these links appear everywhere and so the way that they look affects my entire forum. Because they are everywhere, at the bottom of every page. I guess the best way to explain how I feel would be... If my forum were a human face, then these links would be pimples and everytime I look in the mirror I just want to smear makeup all over them. Haha. SMF Hacks offers paid removal of their copyright links. I would gladly pay money to rid myself of these. Although, I just looked a second ago and white is the color I am using for my linktree... I suppose I could make those links at the bottom white instead of navy blue and it wouldn't look terribly bad... I guess. Since you have been helpful and friendly to me about the whole matter. Thing is, how do I change the color of just those links at the bottom without changing the color of all my links? There is a place in the stylesheet to change the color of the linktree. I don't see where to change the color of copyright links in the stylesheet. If I attached my files, could you make them white and attach them back up for me to download? What files would I need to attach?

Quote from: Nao 尚 on May 30, 2009, 01:55:00 PM
You should be glad to change them to give credit where credit is due -- not glad to change them because it is mandatory...

          [ RGXbox.com ]

cartpauj

How can I change the text guests see when I've prevented their access to the gallery?  It currently says something like..."Sorry, but you are not allowed to access the gallery."

Akyhne

Mgallery.english.php... why do you want to change it?

cartpauj

Thanks! I just want it to say something more along the lines of "Sorry but you must log in before accessing the gallery."

DirtRider

I did try searching for this in the thread but the SMF search came up with nothing.

SMF 1.1.9 new installation

Mods

Mod Name     Version     
1.    SMF Media Gallery    1.5.6    
2.    TinyPortal    1.083    
3.    Aeva ~ Auto-Embed Video & Audio    6.9.99    

When I have the SMF Gallery installed and you need to go to your profile it gives the following error


Fatal error: Cannot redeclare mgallery() (previously declared in /home/forum/public_html/Sanctuary/Sources/Profile.php:3010) in /home/forum/public_html/Sanctuary/Sources/Profile.php on line 3034


I uninstalled the package and it was back to normal. However when I installed it again I also noticed that on the uninstall it did not remove the gallery from the menu and has now added a second gallery option to the menus. The error once again occurred on the new install



http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Akyhne

Cannot redeclare mgallery() means that it has been declared already, hence was put into the code twice, which means double install.

DirtRider

Quote from: Akyhne on June 01, 2009, 06:56:18 AM
Cannot redeclare mgallery() means that it has been declared already, hence was put into the code twice, which means double install.

I cannot remember installing it twice when this error occurred. However I deleted the whole thing and started over and now it worked thanks  ;D
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Advertisement: