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

Can you PM me a test account with admin powers and link to your site?

Smitten

I do it, only tell me. I can´t give you admin power. Sorry and thank you.

simpledizayn

Video to upload ok.
Image to upload ok.
Mp3 to upload error.

Error:

Fatal error: mgal_media_handler::require_once() [function.require]: Failed opening required '/home/xxxx/public_html/Sources/MGallery-getid3/getid3.php' (include_path='.:/usr/local/lib/php') in /home/xxxx/domains/site.com/public_html/Sources/Subs-MGallery.php on line 1270

Nao 尚

(Why is it so hard for people to give away the URL to their (test) websites? It's not like we're going to eat them... We're only interested in helping.)

simple> Are you sure the MGallery-getid3 folder is correctly installed? Does it have the right permissions?
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.

DirtRider

#1124
Ok I just tried doing the conversion and got this

Database Error
Unknown column 'id_member' in 'field list'
File: /homepages/37/d247631052/htdocs/triumphtalk/mgconverter_sgp.php
Line: 278

If you need access to the site let me know
http://www.triumphtalk.com

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

Bigguy

Awesome mod for sure I love it. It works great....except the bbc doesn't work for me:

8: Undefined index: is_smf2
File: /home/*****/public_html/forum/Sources/Subs-MGallery.php
Line: 2929

Dragooon

Thanks Bigguy, and its already fixed in SMG 1.5 RC 3.2. It also has updated to the new tag format with a nice help guide compiled by Nao.

Bigguy

Thats great to hear. So I have to upgrade again, lol. I just finished with upgrading the last version, lol.

Bigguy

Just upgraded. All went fine with uninstall and re-install of the new version. Still there is no pic showing in the test post I made. No errors in the log files either.

Bigguy

Ok sorry for triple posting but...when I use the toogle view button and then put the bbc into a post then it works.

Nao 尚

Quote from: DirtRider on November 27, 2008, 11:00:56 AM
Ok I just tried doing the conversion and got this

Database Error
Unknown column 'id_member' in 'field list'
File: /homepages/37/d247631052/htdocs/triumphtalk/mgconverter_sgp.php
Line: 278

If you need access to the site let me know
This shouldn't even happen... (??)
Maybe SGP removed that field, I dunno... Seems logical though, since it's always set to 0...

Just go to line 273 and replace

SELECT ID_CAT AS id, title, description, id_parent, id_member

With
SELECT ID_CAT AS id, title, description, id_parent, 0 AS id_member

Should work...
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.

SteveW

Thanks for that Nao, I had the same error and changing this line fixed and converted my gallery pro :-)
Watch the skies!!

alex30

Hi all, quick question!

I'm using ad mod for desplaying some stuff on the right hand side of my forum.

How do I hide that stuff when I'm viewing gallery because it takes a lot of space there?

Take a look http://aquatropicalfish.com/forum/index.php?action=mgallery

Thanks.

Nao 尚

SteveW> Great :) I'll update the file on the mod page then.
alex30> Why is your SMF version hidden?

Quote from: Bigguy on November 27, 2008, 12:17:26 PM
Ok sorry for triple posting but...when I use the toogle view button and then put the bbc into a post then it works.

This seems to be a SMF bug...

Try posting [img]http://smf-media.com/community/index.php?action=mgallery;sa=media;id=184;thumb[/img] (which is what the WYSIWYG mode will send when typing the [smg id=184] tag on smf-media.com), and "action=" gets rewritten to "action-"... Which fails in the end, of course.

Track the bug report here:
http://dev.simplemachines.org/mantis/view.php?id=2766

PS: I tried analyzing the SMF code and couldn't find any reason for this to happen... Also, I noticed the [smg] tag isn't simply reinstated when you switch back to non-wysiwyg mode... I committed a fix for this, by adding a "dummy" entry for the smg tag in the (large) official tag list. It's annoying that I had to do this, but it should be harmless (the smg tag will never be processed anyway because it's already been processed by SMG before we get to that code block.) I mean, I'm hoping it's harmless.
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.

Dragooon

@Nao - The fields for SMF 1 in Gallery 1.x as capitalized like ID_MEMBER, ID_PIC.

@Bigguy - Make sure you use the updated format(Which was change since RC 3.1). Like [smg id=x]

alex30

Nao 尚

I used a mod to hide it, is it illegal?

Can you  help me with that issue that I posted above?

DirtRider

Quote from: Nao 尚 on November 27, 2008, 01:09:54 PM
This shouldn't even happen... (??)
Maybe SGP removed that field, I dunno... Seems logical though, since it's always set to 0...

Just go to line 273 and replace

SELECT ID_CAT AS id, title, description, id_parent, id_member

With
SELECT ID_CAT AS id, title, description, id_parent, 0 AS id_member

Should work...

Thanks that did the trick and the conversion when off without a hitch  :D It really looks great once you have all your images in it, great job on this mod
http://www.triumphtalk.com

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

Bigguy

Quote from: Dragooon on November 27, 2008, 08:41:46 PM
@Bigguy - Make sure you use the updated format(Which was change since RC 3.1). Like [smg id=x]

Yes I am using the updated code. I do have it working but for some reason it won't work in the wisig editor. It does work though. I posted a test post in my Spam and testing board. I am really impressed with the work on this that has been done.

Nao 尚

Dragooon> OK, I forgot about that... I updated the sgp converter on the mod page.
alex> No, I don't think it's illegal, it's just not bad practice for us devs who need to know the version :P
DirtRider> Great! Where can I see it in action?
Bigguy> Err... Did you read my post? I *did* spent most of my evening on that O:)
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.

DirtRider

Quote from: Nao 尚 on November 28, 2008, 02:48:27 AM
DirtRider> Great! Where can I see it in action?
Bigguy> Err... Did you read my post? I *did* spent most of my evening on that O:)

Here we go it is working on this site at the moment http://s247631067.onlinehome.us/index.php?action=mgallery

http://www.triumphtalk.com

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

Advertisement: