News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

Bruno36

Non il n'y a plus de galerie d'installer j'ai refait une installation complète de mon forum avec des fichiers vierges, voila pourquoi je ne comprend pas..
Bruno36 the French
SMF 2.0.9

paulmagno

#4881
Can someone please help me for a fee?

Please PM me...and, please, enough of the bashing of the silly old man who had the nerve to actually ask for help...I'm sorry. It won't happen again. Nao, forgive me for insulting your intelligence.

I simply don't have the time to learn programming and I guess I'm willing to peel of a few bucks from the Social Security check to get this thing running since my forum will be heavily involved in sharing photos and videos...or maybe someone can direct me to a gallery mod that is more newbie-friendly?

Thank you.

littleone

Quote from: Nao/Gilles on October 29, 2009, 10:06:18 AM
@littleone> Does this also happen when you're posting as an admin?
If yes, please send me FTP info + an admin account so I can fix your problem on site.

No it doesnt.  it only happens to people who are NOT admins and who do NOT have Gallery Manager permissions.  Those two groups are perfectly fine, everyone else has the issue, with not being able to upload gif files to certain albums.

PRaDiUS

@Nao

Good idea! I will do what you said in the meantime. Can't wait to see what you roll out in the next update! Featured/regular albums with the ability to move the two back and forth would be completely awesome. Do you think it will be possible to browse albums by alphabet rather than page number?

Quote from: Nao/Gilles on October 29, 2009, 10:06:18 AM
@Pradius> I'll be changing album permissions in the next major update (which will also have a name change... I'll let you guess it ;)). Most notably I'll probably remove a user's ability to create a permission profile for their own albums and leave it up to admins only. I'll also probably do this change with general/user albums becoming featured/regular albums. Featured albums will still have their owner's name shown. They will also still appear in the user albums list (renamed to simply "Album list" or "Albums".)

In the meantime, why don't you simply give your users permission to create user albums...? You can even ask to pre-moderate them, if you don't want them to create thousands of crappy albums.

          [ RGXbox.com ]

Xenmorph

#4884
Using a Fresh install of 2.0.1.

Everything working fine except when I use the Mass upload finction, I receive the following error..........



XML Parsing Error: junk after document element
Location: http://MYFORUM/index.php?action=mgallery;sa=mass;album=3;xml;upcook=YTo0OntpOjA7czoxOiIxIjtpOjE7czo0MDoiMjY2ODNmNmNjMjQ4MmI4ZDMzZmUzODBmNGY4ZDI2OWM0ZTkxMTViNSI7aToyO2k6MTQ0NjA1NzA5MTtpOjM7aTowO30%3D
Line Number 15, Column 1:<div align="center" style="margin-top: 2ex;"><a href="javascript:history.go(-1)">Back</a></div>
^




Any ideas ?

The files uploaded successfully it seems thoughts ?

Also found this topic : http://smf-media.com/community/index.php?topic=1075.0

Seems to be a very similar problem ?

Nao 尚

xenmorph, next time you get that error, please watch the source code for the page, it will show the actual error message. The error you're seeing is because a SMF error was sent, and it was sent as HTML to a XML feed so it wasn't correctly interpreted. Or check your error log, maybe you have something.

@BETA TESTERS> I have a new topic waiting for you on the beta testing board at smf-media.com. Please read 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.

Nao 尚

@BETA TESTERS USING WYSIWYG QUICK REPLY> Again, please read the topic at smf-media... ;)

@EVERYONE> I shall say it once and for all -- the next major release will remove the ability for regular users (i.e. not admins) to create their own permission profiles. If you think this is a bad idea, speak now or forever hold your peace. :D

@Bruno> Désolé alors, je sais pas... Faut voir avec la team de support technique. Demande sur le forum français.

@paul> I don't know much about other gallery mods. They're all pretty technical I guess. At least all of the galleries that can bridge to SMF. Try with Coppermine. It's the first one I used, years ago. I wasn't as PHP-aware as I am now, so maybe it will work. http://coppermine-gallery.net/ Make sure to use v1.4 in case you want to be able to convert it to SMG if you want to keep the door open.
Keep in mind that the more features a gallery has, the harder it will be to handle it.

@littleone> Okay then, I'll have a look today on my site...

@pradius> Yes, browsing by alphabet shall be possible, too. This was one of the reasons why I changed the album sorting system internally. The only thing I'm not sure about is whether I should show all albums alphabetically, or all parent albums, and show their children below the parents rather than in the sequential list.
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.

Nao 尚

Quote from: littleone on October 29, 2009, 02:30:14 PM
No it doesnt.  it only happens to people who are NOT admins and who do NOT have Gallery Manager permissions.  Those two groups are perfectly fine, everyone else has the issue, with not being able to upload gif files to certain albums.
Okay, tried it with a non-admin account on my site...
Worked just fine.

The only thing I can do is this-- open up MGallery.php and at line 1512, replace the existing code block with this one (it'll be in the next minor update, if anyone is wondering):

// Are we embedding or adding a file?
if (!empty($_POST['embed_url']) && $embed_url != $data['embed_url'] && mGalAllowedTo('add_embeds'))
$embedding = true;
elseif (!empty($_FILES['file']['name']) && mGalAllowedTo(array('moderate', 'add_audios', 'add_videos', 'add_images', 'add_docs'), true))
$embedding = false;
else
fatal_lang_error(empty($_FILES['file']['name']) && !$editing ? 'mgallery_file_not_specified' : 'mgallery_add_not_allowed');


Try uploading again. If you still get "File not specified", then it's definitely a bug in SMG but that bug doesn't touch my setups so I'll have to see onsite. If you get "Not allowed to upload here", then it's a permission error and you should check your settings again.
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.

automama

Are there any kind of instructions on how to use this mod for a total noob ;D? I'm having a bad day and can't get my head around all the different permissions in the gallery and general admin settings to figure out why a general user can't add photo's to an album?

TIA

Nao 尚

Make sure to have only one Permission Profile set up (in SMG > Admin > Permissions). Set permissions for each membergroup in it.
Then go to your forum's Admin area > Members > Membergroup Permissions, and edit site-wide SMG permissions for each membergroup as well.
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.

automama

Quote from: Nao/Gilles on October 30, 2009, 11:19:06 AM
Make sure to have only one Permission Profile set up (in SMG > Admin > Permissions). Set permissions for each membergroup in it.
Then go to your forum's Admin area > Members > Membergroup Permissions, and edit site-wide SMG permissions for each membergroup as well.
Thanks for that  :)...it's getting a little clearer! I didn't install this particular mod so I'm not sure what was added by the previous person or is a default setting, apologies  :)

In SMG>Admin>Permissions I have 3 profiles...2 called default and one called members. I take it I can delete the 2 with 0 under 'Albums'?

Akyhne

Removing the permission system added by Dragooon would make my day.

Nao 尚

@automama> Yes, I guess so.
@akyhne> You mean the per-user permission profiles, or the entire permission profile system? ;)
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.

Akyhne

That... ugly one in the admin gallery settings, not the one in the Admin permissions. If people want to limit the access, they should just password protect their albums.

Nao 尚

Quote from: Akyhne on October 30, 2009, 12:58:11 PM
That... ugly one in the admin gallery settings, not the one in the Admin permissions. If people want to limit the access, they should just password protect their albums.
Hmm, I'm afraid I can't do that...
The current permission system is nearly as easy as the previous one -- you have only one set of permissions to change, as long as you don't create a new profile. And I do think it's important to let admins finetune their galleries as they like (admins, not end users). Plus, Dragooon worked hard on this. If I removed the feature (which I would never have written myself, too boring), it wouldn't leave much of his work in SMG2 ;)
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.

Xenmorph

Quote from: Nao/Gilles on October 29, 2009, 07:44:46 PM
xenmorph, next time you get that error, please watch the source code for the page, it will show the actual error message. The error you're seeing is because a SMF error was sent, and it was sent as HTML to a XML feed so it wasn't correctly interpreted. Or check your error log, maybe you have something.

This is the Source code I have for the Page that is generated showing the Error in my Browser........


<div>
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>An Error Has Occurred!</td>
</tr>
<tr class="windowbg">
<td style="padding: 3ex;">
Wrong value type sent to the database. Array of integers expected. (items)
</td>

</tr>
</table>
</div>
<div align="center" style="margin-top: 2ex;"><a href="javascript:history.go(-1)">Back</a></div>


This is what is recorded in the Error log of my forum........

http://MYFORUM/index.php?action=mgallery;sa=mass;album=1;xml;upcook=YTo0OntpOjA7czoxOiIxIjtpOjE7czo0MDoiMjY2ODNmNmNjMjQ4MmI4ZDMzZmUzODBmNGY4ZDI2OWM0ZTkxMTViNSI7aToyO2k6MTI1Njg2Njg5MTtpOjM7aTowO30=

Wrong value type sent to the database. Array of integers expected. (items)


Error occurs after the files have been uploaded using the Mass upload function, Files are successfully uploaded though ?

Nao 尚

- When the files got uploaded, what thumbnail showed up for you? Was it the actual thumbnail, or a generic icon, or the generic error message ("not allowed to view this")?

- Did you install/update the mod manually or through the package manager?
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.

Xenmorph

Quote from: Nao/Gilles on October 30, 2009, 07:23:50 PM
- When the files got uploaded, what thumbnail showed up for you? Was it the actual thumbnail, or a generic icon, or the generic error message ("not allowed to view this")?

- Did you install/update the mod manually or through the package manager?

I installed useing the Package manager after first Uninstaling version 2.0.0 via the package manager.

Thumbnails for uploaded images are correct, No other errors so far. can view uploads no problem.

Just receive the Error upon completion of useing the Mass upload function after clicking "Submit"

PRaDiUS

@Nao

That's too awesome! Just showing all parent albums alphabetically with a link for each letter at the top to browse thru the alphabet would look professional and keep it simple I think.  ;D

Quote from: Nao/Gilles on October 30, 2009, 06:45:40 AM
@pradius> Yes, browsing by alphabet shall be possible, too. This was one of the reasons why I changed the album sorting system internally. The only thing I'm not sure about is whether I should show all albums alphabetically, or all parent albums, and show their children below the parents rather than in the sequential list.

          [ RGXbox.com ]

kingkingston

Would it be possible to intergrate the twitter mod to work with the gallery ?,currently the twitter mod puts posts from your forum to your twitter page and i think it would be awesome if the same kind of thing happened with this mod when an item is added to the gallery.

Advertisement: