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

MissyNL

Quote from: BurkeKnight on December 25, 2008, 05:59:33 PM
Another mod may have edited the file wrong.
That sometimes happens.
You will have to manually install on that file:
Manual Installation of Mods

ok.. thank you for the info...

any idea how i find out what is causing the problem? Or do you think i shouldn't even bother to look what it is...
Sorry for my poor English, but i think it's probably better then your Dutch :)

Blinker

Quote from: Dragooon on December 24, 2008, 04:48:27 AM
Your files are fine, I can't understand how you cannot view them directly but when they're embedded. Can you PM me a FTP account, as well as one admin account and the 2 test accounts?

EDIT : After some testing, it was fine for me. It didn't show me the thumbnail when I was trying to view the post with the thumbnail embedded. Although I was required to clear my cache before it actually show me the denied.png image(The actual image was cached at the URL, so it was showing me the old thumbnail, after clearing the cache it was fine again.)

Quote from: Nao 尚 on December 24, 2008, 05:40:44 AM
About the main/file bug... It's an oversight on my side. I simply forgot to rename one of my "file" changes to "main".

To be specific, I rewrote everything to use "file" instead of "main" because I thought it was good to put it in line with the rest (id_file, id_preview, id_thumb are all part of the media database... While "id_main" isn't.) "main" uses id_file so I figured, we should be using 'file' instead, so I could simply not have to test the field type before using it. Actually it didn't help much, because IF(id_file = 0, id_file, id_file) is a bit stupid (it always returns id_file, and makes a useless test in the query), so I thought I'd just go back to the test thing... And then I thought, this was the main reason for using "file" instead of "main", so I'll just go back to "main", in case someone used that function in a mod or something and specific "main".

Regarding the approval error. There are many ways to look at it. But for what it's worth, I think it'd be best to see your stuff in action or something, hey... Do you use a simple [smg id=xx] tag, or specific options in it?
Also, but I guess you already checked that, you need to make sure your cache is emptied. Sometimes I can only get a thumbnail to refresh by copying its URL, putitng it in my location bar, and then hitting Refresh (i.e. it doesn't refresh when right-clicking the picture and choosing "Reload image".)

Merry Christmas to all. I won't spend much time behind my monitor for a couple of days. Guess why. ;)

Guys, great news - it seems to be working. I don't know why it didn't before but I did a bunch more testing (I must've flushed my cache about 100 times) and now my non-admin test accounts are displaying the denied image. Yay! 8)

I've submitted a new test image to the gallery, left it unapproved and then embedded in a post with HTML and BBC and asked users to post their results. Everyone is getting the denied image. Awesome.

Great work both of you and thanks again for your help. I'm always happy to help on a bug hunt too. :P

Dragooon

Your welcome, I'm glad you got it to work. I think we should be getting 1.5.2 out soon.

KahneFan

Quote from: Dragooon on December 25, 2008, 10:31:14 PM
I think we should be getting 1.5.2 out soon.

Any chance there will be a "new images" notification on the index page? Even if the "Gallery" button somehow shows Gallery {new} or something? It's just hard to tell from the index page when someone has added something to the gallery.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Dragooon

1.5.2 will have no new features, only a few bug fixes.

SgtMic

Sorry if I missed this in previous pages. I'm getting this error filling up the logs.


Undefined index: member
File: /home/xxxx/public_html/forums/Sources/MGallery-Sub.php
Line: 1470

There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Dragooon


magarto

#1547
THE MESSAGE BELOW, QUOTED, IS SOLVED:
QuoteI have more problems now... when i try to upload some files using the mass uploader, when the first file is uploaded it stops to upload more. I have tried some versions: 1.5 RC3 and 1.5.1 but it worked some time ago. I also thied to put: SecFilter... in htaccess but i received a 501 server error.
I am thinking on destroying database and files for mgallery but i would need to recover all albums from users... how do i proceed?
THANK YO VERY MUCH.

I am using firefox 3.1 beta 1 and OS X and SMF 2.0 beta 4 on a Apache server: salsamadrid.org

magarto

Solved: i do not why but my server do not let to create any folder when i uses the package manager on SMF. Then some mgallery folders where not created.
I have, instead, a bug in 1.5.1. When i open some videos (mp4) using SMG, i received a error. I think that it is due to my SMF is in UTF-8 and in spanish and there should be any bug: http://salsamadrid.org/mgallery/?sa=item;id=381

SgtMic

There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Omniverse

#1550
Quote from: Omniverse on December 25, 2008, 07:45:36 PM
I have only found one other issue like this in my search, but no resolution.

I installed this and converted from an smf-lite gallery. Everything works great.

However....

I decided to change the default thumbnail/preview size. after words I went into maintenance to use the Regenerating thumbnails and previews section.

When attempting to regenerate any, it ticks once, counts 5 or whatever of xxx number of files. Does its refresh, but instead of continuing, kicks me out to the main smf admin page.
I have not been able to use any of the main maintenance functions because of this, which has led to some pics having different sized thumbnails.

Any idea on how I could do it manually perhaps, or maybe an idea on why I have this issue. There are approximately 200 items in the gallery.

SMF 1.1.7

I have determined this to be a browser issue, though not sure what...

yrral

#1551
Quote from: Nao 尚 on December 23, 2008, 04:17:04 AM

@yrral> right-click on the buttons that don't appear, and click Properties... You'll get the URL. Make sure the file is correctly uploaded there.

Nao, thanks for the reply...

I've uploaded the files in the Oxygen TP themes but I'm still getting the same problem.
It was also uploaded on the default theme folder... When I'm using the default theme it is working because it's not using button but my Oxygen TP uses icon/buttons.

When I checked the source code and the instruction that you gave me it was just pointing to nothing: http://www.domain name here.com/Themes/oxygen11final_tp/images

Which file should I edit to manually point the link to buttons?

Also, it's generating forum error log I guess due to the absence of the image.

8: Undefined index: image
File: /home/atimona/public_html/Themes/oxygen11final_tp/languages/MGallery.english.php (mgallery_admin_settings_above sub template - eval?)
Line: 604

and this error

8: Undefined index: lang
File: /home/atimona/public_html/Themes/oxygen11final_tp/languages/MGallery.english.php (mgallery_admin_settings_above sub template - eval?)
Line: 604

I don't have line 604 on my MGallery.english.php :o

Lonewood

I am interested in using this mod.  I am running 1.17 with default template and Tiny Portal 0.98.  Currently using SMF Gallery which is fine for my purposes except that one of my users has requested that the image name be visible on the gallery page.  I cant see how to do this with SMF Gallery and dont really need the Pro version which seems to have this feature.

Is there any catch to removing SMF Gallery and installing SMF Media Gallery.  Will I have to reload all the images?  Tips?? 

I also have a tiny portal block which loads a random image from the gallery - would need to be able to do this also if I changed over to Media Gallery.

cheers
Leah
www.aussiesapphire.com.au/forum

SgtMic

On the mod link page is a converter you can use.
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Speedbast

Hi,
thanks for your work and for the mod

I've a mistake, not with the gallery mod itself but....
i'm using smf 1.1.7, Sportal, and nneonneo shoutbox and of course media gallery 1.5

i would like to modify my shoutbox to add smiley
but if media gallery is instal, it's not working

this is the source code of the part who's not working

smileyPopupWindow.document.write('\n\t<head>\n\t\t<title>&Eacute;motic&ocirc;nes additionnels</title>\n\t\t<link rel="stylesheet" type="text/css" href="http://www.dreamforever.fr/Themes/Efsane_Atomic/style.css" />\n\t
<link rel="stylesheet" type="text/css" href="http://www.dreamforever.fr/Themes/default/mgallery/style.css" />
<link rel="stylesheet" type="text/css" href="http://www.dreamforever.fr/Themes/default/mgallery/hs.css" media="screen" />
<script type="text/javascript" src="http://www.dreamforever.fr/Themes/default/mgallery/highslide.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[
hs.graphicsDir = 'http://www.dreamforever.fr/Themes/default/mgallery/hs/';
hs.lang = { loadingText: 'Chargement...', restoreTitle: 'Cliquez pour fermer, glissez pour déplacer' };
// ]]></script>

</head>');


instead of ..

smileyPopupWindow.document.write('\n\t<head>\n\t\t<title>&Eacute;motic&ocirc;nes additionnels</title>\n\t\t<link rel="stylesheet" type="text/css" href="http://www.dreamforever.fr/Themes/Efsane_Atomic/style.css" />\n\t</head>');


so the link for the popup doesn't work
i've tested my modification on a forum whithout media gallery and it works fine
do you have an idea for that ?

thanks for answer, sorry for my english :)

Smoky "Rider" Blue

Nao, mark my issue solved.. when i "flipped" my clients site, it was a url causing the problem..

it will be fixed soon so thanks again you guys..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Dragooon

@Speedbast - Where does this happen?

yrral

Quote from: yrral on December 26, 2008, 07:10:51 PM
Quote from: Nao 尚 on December 23, 2008, 04:17:04 AM

@yrral> right-click on the buttons that don't appear, and click Properties... You'll get the URL. Make sure the file is correctly uploaded there.

Nao, thanks for the reply...

I've uploaded the files in the Oxygen TP themes but I'm still getting the same problem.
It was also uploaded on the default theme folder... When I'm using the default theme it is working because it's not using button but my Oxygen TP uses icon/buttons.

When I checked the source code and the instruction that you gave me it was just pointing to nothing: http://www.domain name here.com/Themes/oxygen11final_tp/images

Which file should I edit to manually point the link to buttons?

Also, it's generating forum error log I guess due to the absence of the image.

8: Undefined index: image
File: /home/atimona/public_html/Themes/oxygen11final_tp/languages/MGallery.english.php (mgallery_admin_settings_above sub template - eval?)
Line: 604

and this error

8: Undefined index: lang
File: /home/atimona/public_html/Themes/oxygen11final_tp/languages/MGallery.english.php (mgallery_admin_settings_above sub template - eval?)
Line: 604

I don't have line 604 on my MGallery.english.php :o

I've been trying to find the problem my self but to no avail... 

There's no other mods installed in my forum aside from the TinyPortal v0.9.8

Dragooon

I'll investigate, thank you for reporting

Speedbast

@Dragoon it's on home page

the home page is Sportal mod, and the shout box is not instal in the index.template
but i did the same thing on another forum and it's work

you can login on my forum with test:testeur on hxxp:www.dreamforever.fr [nonactive]

i can't click on the [plus] button at ths bottom of smiley list

Advertisement: