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

adalon

For some reason this mod is giving the wrong direct link.

Here is what the gallery displays as the direct link.
website.com/MGalleryItem.php?id=8


This is what it should look like.
website.com/index.php?action=mgallery;sa=media;id=8

Is there any way to change this?

Dragooon

Quote from: adalon on October 20, 2009, 03:58:24 AM
For some reason this mod is giving the wrong direct link.

Here is what the gallery displays as the direct link.
website.com/MGalleryItem.php?id=8


This is what it should look like.
website.com/index.php?action=mgallery;sa=media;id=8

Is there any way to change this?
That is perfectly fine? MGalleryItem.php should be extracted on the base of your forum.

adalon

#4682
Quote from: Dragooon on October 20, 2009, 04:12:56 AM
Quote from: adalon on October 20, 2009, 03:58:24 AM
For some reason this mod is giving the wrong direct link.

Here is what the gallery displays as the direct link.
website.com/MGalleryItem.php?id=8


This is what it should look like.
website.com/index.php?action=mgallery;sa=media;id=8

Is there any way to change this?
That is perfectly fine? MGalleryItem.php should be extracted on the base of your forum.


But when I use the MgalleryItem.php I'm getting a 404 error ???

Nao 尚

404 are you sure?
Check the root of your forum. If the file is there, make sure to chmod it to 0644.

Quote from: PalmBeachPreps on October 20, 2009, 02:22:01 AM
Nao, I know that it is because I have it installed already.
Again... Have you seen anyone here complain that it isn't RC1.2 compatible? Many people use that version.

QuoteThe problem is that after attempting to upgrade, I got the error and attempted to use the package parser in order to manually edit the files that failed and then received the following error:
QuoteSorry, but this modification does not appear to be compatible with the selected version.
In SMF2, I think you can also force installation of a package for your version. It's in the additional settings or something.
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.

meehan09

Since i have installed this via packages iam getting thease errors in error log admin cp


http://www.exoticforums.co.uk//index.php?action=profile;u=1
Undefined index: mgal_total_items
File: /home/reptiles/public_html/Sources/Load.php
Line: 1401

----------------------------------------------------

http://www.exoticforums.co.uk//index.php?action=profile;u=1
Undefined index: mgal_total_comments
File: /home/reptiles/public_html/Sources/Load.php
Line: 1402

----------------------------------------------------


Hope you can help me solve these errors, thanks

Paul

petesky

Hi !

I just installed the 2.0 RC3+ but now the link GALLERY is missing in top template ?! Where can i fix this ?

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.

petesky


leighlife

* changing album ordering seems faulty: at times it works correctly, at times the resulting order is wrong.  I haven't found any pattern to it but I'm going to see if I can find anything later.  Apparently this did work OK in at least one previous beta/RC, but of course I've no idea which  :(

* rating an item 0 leaves the ajax update indictor 'spinning'.  I changed line 712 in MGallery.php to test isset($_POST['rating']) rather than !empty() and that seems to fix it

Nao 尚

@petesky, should I read the rest of the topic for you?

@leighlife> ordering, ordering... Where? Examples?
Thanks for the tip on rating.
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.

meehan09

@ Nao, Iam unable to find the problem on the link.

I seen one edit in profile.php witch i looked for and is already in place?

Hope you can help me resolve thease errors from admin cp error log?

Ive attachted my profile.php incase, thanks

meehan09

Also my load.php is below!

Hope you can help edit these so these errors stop, has they seem to be filling up error logs quickly.


thanks in advance, Paul

petesky

Sorry you're right - my fault. But i'm not good enough to mod things so where exactly in this file do i have to change ?

leighlife

Quote from: Nao/Gilles on October 20, 2009, 07:14:16 AM
@leighlife> ordering, ordering... Where? Examples?
Sorry, I knew it'd be too vague when I posted.  OK:


  • Gallery->Admin->Albums to get the list of albums
  • click Move in the Moderation column for an album (I'm using various sub-albums in testing) to go into the Moving album mode
  • click the up or down arrow against the chosen target
  • marvel at the unpredictable outcome
Sometimes no move seems to be done at all, sometimes other albums are moved too, and sometimes it does it correctly.

For example I've just attempted to move the first of eight sub-albums to a lower position, after one of the others.  In that case it did go to the position I specified, but also the last sub-album jumped to the top position.
Then, after repairing that, I tried to move the same album before one of the others.  This also succeeded, but the second and third sub-albums jumped to the end.

petesky

OK - sorry found the problem - i had to clear the cache. Now it works fine :-)

meehan09

Quote from: petesky on October 20, 2009, 07:46:07 AM
OK - sorry found the problem - i had to clear the cache. Now it works fine :-)

Doesnt seem to have fixed my problems tho ??? Iam stilling getting the erros in error log when viewing a profile!

And its saying error in load.php on lines 1401 and 1402 ?

Nao 尚

@leighlife> First of all, you're not telling me where it fails. General albums, user albums, someplace in the admin?

@meehan> Attached. Is it my new job? Doing file edits for everyone when they're using dozens of mods that conflict with each other? When should I start asking to be paid for that? :-/
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.

meehan09

I really appriciate your help and i think that seems to have fixed the errors, But may i ask if we dont know anything about mods, and theres so many to have why dont it say will conflict with certain mods, Nothing has told me that the mods conflict and theres no errors in error log anymore!


So iam not sure what iam suppose to do there, I appriciate your kind help, and would off paid for them edits to my files if needbe. But it took you 5mins lol  ;D

how much does a 2min edit cost nowadays on smf ?  ::)

leighlife

Quote from: Nao/Gilles on October 20, 2009, 07:49:39 AM
@leighlife> First of all, you're not telling me where it fails. General albums, user albums, someplace in the admin?
I outlined the steps in reply 4693, it is in admin, when trying to resequence some general sub-albums.  I haven't tried anything else yet, i.e. top-level albums or user albums.

meehan09

when i try to do a mass image upload its not working correctly?

I have tried 5 images and once i click upload, it starts to upload then stops after first image then i have to click upload again.

Is this correct?, Once its finished and both uploading progress bars say 100% and i click submit it only showing one image uploaded?


Hope somone can help fix this, thanks again,
Paul

Advertisement: