News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

Nao 尚

Good, good :) I see you thought of everything, eheh.

Oh, btw: I've updated the description for converters on the mod page, to make it shorter and more up to date. However I don't have access to your post on the first page so I can't update it there as well. So you might want to update 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.

Atheo

Hello,

I don't know if this has been asked yet or not but I am getting upload errors everytime I try to use the mass upload feature. I am able to upload individual files just fine but the mass upload does nothing but process then return an error. Please help. I love this mod!


Nao 尚

Disable mod_security and/or check the location setting for your SMG data folder.
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.

Sarlat

There is an error in mgconverter_sgl.php

When you use it for comments (step 4) you got :
QuoteThe database value you're trying to insert does not exist: id_album

That happen when you had delete some comments and then ID_COMMENT miss some number (ie : 1, 2, 4, 8, 9...).

Line 435 find :

$mgalFunc['db_insert'](
'{db_prefix}mgallery_comments',

replace by

if ($row['id_cat'])
$mgalFunc['db_insert'](
'{db_prefix}mgallery_comments',

Atheo

Quote from: Nao 尚 on April 24, 2009, 11:33:14 AM
Disable mod_security and/or check the location setting for your SMG data folder.

Nao was this @ me? If so...how do I do this?

Nao 尚

@Sarlat> How come this could happen?
Could you test by simply changing the LEFT JOIN to a INNER JOIN in the query before line 435?
I don't think there's any harm in doing this, and it'll ensure all data returned will have an id_album.

@Atheo> Yes, and --> did you read the text that appeared after you installed? I didn't write it for fun, you know :P
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.

Sudhakar Arjunan

Hi Author,

I need to change the path of existing gallery mod to mgallery mod.

Since i have tried changing .httaccess.

I dont see the gallery is redirected to mgallery.

Help me out.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Sarlat

Quote from: Nao 尚 on April 24, 2009, 01:43:10 PM
@Sarlat> How come this could happen?
Could you test by simply changing the LEFT JOIN to a INNER JOIN in the query before line 435?
Because someone did not think about this possibilitie...  ::)

see pb with $last_com
$request = convert_query('
SELECT MAX(id_comment)
FROM {db_prefix}mgallery_comments',
array(),__FILE__,__LINE__);
list($last_com) = $mgalFunc['db_fetch_row']($request);

and
FROM {db_prefix}gallery_comment AS c
LEFT JOIN {db_prefix}gallery_pic AS p ON (p.ID_PICTURE = c.ID_PICTURE)
WHERE ID_COMMENT > {int:last_com}

Then when numbers don't follow : error.

Inner is worth, step4 never finish.

Nao 尚

I don't understand a word of what you're saying.
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.

Atheo

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

That is what I get when creating the .htaccess file

Now what?

Darkness_

Quote from: Darkness_ on April 19, 2009, 03:17:16 PM
is it possible with SSI to give smg another theme then the forum?
if it is,  could someone tell me how?

Asked it several times but no answer.
is there really nobody that even tries to help me out of this?

Kindred

I think the basic answer is "NO" Darkness...


more specifically, it may be POSSIBLE, but not without custom coding on your part.
Сл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."

Nao 尚

@Atheo> Did you check your data folder location first?

@Darkness_> It's safe to assume you can't. I don't use multiple themes myself so I wouldn't even know where to start to implement this.
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.

Atheo

I don't know what you want me to check it for. If you mean the permissions then its 755.

Darkness_

isn't it possible to do it with ssi_theme?

Kindred

Darkness,

As we have said, it is POSSIBLE, but will require additional coding on your part.
Сл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."

Darkness_

if I could i would.
Someone who can help me with this?

tridirk

Quote from: Dragooon on April 19, 2009, 03:10:18 PM
Quote from: tridirk on April 19, 2009, 02:13:24 PM
Quote from: Dragooon on April 19, 2009, 01:57:15 AM
Quote from: tridirk on April 18, 2009, 11:57:37 PM
Well try as I might... I couldn't get it to work on either of my two forums.  So I uninstalled it.

I'll check back in a few months and maybe you will have an idiot proof version for guys like me that aren't code experts.

Thanks....again for your time.
What were your issues?

Pictures wouldn't show, either by the conversion from Gallery lite or a new install.  We had several posts back and forth about it.  I posted some screen shots...etc.
Anything when you run Maintenance > Find errors? What are the permissions of mgal_data folder and MGallery.php? And where wouldn't the pictures show?
no errors when I ran the maintenance check.  The permissions were all set and changed, I posted a screen shot of that.  The pictures did not appear, the spaces where the pictures were, were red x's until they tried to load and then even the red x's disappeared.  Thanks for the mod, looked  great on the sites I visited that had it installed. But as I said, I was unable to get it to work.  Not blaming the mod, I am sure I just don't understand well enough how to finalize the install.
Learning SMF..... Thanks for your help!

Dragooon

Quote from: tridirk on April 24, 2009, 10:44:10 PM
Quote from: Dragooon on April 19, 2009, 03:10:18 PM
Quote from: tridirk on April 19, 2009, 02:13:24 PM
Quote from: Dragooon on April 19, 2009, 01:57:15 AM
Quote from: tridirk on April 18, 2009, 11:57:37 PM
Well try as I might... I couldn't get it to work on either of my two forums.  So I uninstalled it.

I'll check back in a few months and maybe you will have an idiot proof version for guys like me that aren't code experts.

Thanks....again for your time.
What were your issues?

Pictures wouldn't show, either by the conversion from Gallery lite or a new install.  We had several posts back and forth about it.  I posted some screen shots...etc.
Anything when you run Maintenance > Find errors? What are the permissions of mgal_data folder and MGallery.php? And where wouldn't the pictures show?
no errors when I ran the maintenance check.  The permissions were all set and changed, I posted a screen shot of that.  The pictures did not appear, the spaces where the pictures were, were red x's until they tried to load and then even the red x's disappeared.  Thanks for the mod, looked  great on the sites I visited that had it installed. But as I said, I was unable to get it to work.  Not blaming the mod, I am sure I just don't understand well enough how to finalize the install.
Do you have mod_security or php safe_mode enabled?

Quote from: Darkness_ on April 24, 2009, 09:17:35 PM
isn't it possible to do it with ssi_theme?
SSI isn't even loaded in normal mgallery pages...So no. But it is possible by modifying other parts, as Kindred said, It'll require some custom coding at your part.

Harvester

Hello,

When I embed images in my posts using the BBC Embed Code I feel the thumbnails are too small and that the larger image once you click on the thumbnail is also too small.

How can I change the size of both? I've been searching through the code but I cant find where you set this. Please help me change this?

Advertisement: