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 尚

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.

SMGTeam

New version is out! With all of the little fixes I cooked up this week. :)
Hopefully everything will go smoothly and mod_security (among other things) will be a thing of the past!

Version 2.0.1                                    October 27, 2009
-----------------------------------------------------------------
+ Added new admin setting that should let you fix (once and for all?) mod_security error pages, by
  replacing ';id=' links to '&id=' on the fly. You can enable it even if SMG can't figure out whether
  mod_security is installed (because sometimes Apache won't even let you know the little monster is there.)
! Fixed a rare bug where a dummy thumbnail was being inserted when the embed code would fail creating one
! Don't create a new media_handler object just for retrieving the extensions list in getEncryptedFilename()
- Removed .htaccess file provided for mod_security hack, now that there's another trick available within SMG
* Moved the... 'move' icons from the... Move Albums section to the left of album names rather than below them
! In rare cases, the output buffer stack wasn't being cleared entirely when requested
! Fixed an error where $context['mgallery_album_list'] would list sub-albums twice
! Retrieving meta data for FLV file dimensions may be more reliable in some cases
! Fixed bug preventing quota profiles from being deleted
! The Reported Items/Comments warning bar was broken

littleone

Quote from: Nao/Gilles on October 23, 2009, 06:10:33 PM
@littleone> Then you gave wrong permissions. That error message shows up when a user isn't allowed to upload the type of file he attempts to upload. (I think the quota stuff is misleading -- they can have a 1MB quota for audio files and still not be allowed to upload them...)
Can they check whether they have rights showing up in mass upload?

Anyway--> permission profiles.

they can upload EVERY OTHER File type BUT gif, so it can't be anything permission related.  And they have every permission available to them except admin of the gallery.  They have mass upload available too.

Arantor

Quote from: Nao/Gilles on October 27, 2009, 05:46:36 AM
This has left me very bitter because I had to go through the entire 2.0 Beta process by myself, without any help... So yes, I'm doing my best to give SMG what it deserves (hard work), but SMG isn't giving me back anything in return, so obviously it tends to make me even more bitter.

That's a horrible situation to be in; fortunately I've missed that sort of thing for the most part, but I can see how it can make you feel bitter and resentful.

Quote
I'm thinking of stopping development for a few months, like I did for Aeva, but before that I also need to fix the issues that cause most people to come and ask for help. SMF1 menu edits aren't going to disappear overnight unfortunately (although, I'm wondering... Would it be entirely an unorthodox way of programming to post-replace the output buffer with a Gallery link somewhere? It could be possible if all custom themes respect a certain logic such as putting the menu inside a table with a specific class, or something), but as for the rest, I'm sure I can fix mod_security now that I know 99% of these problems are due to the ";id=" URLs.

mod_security, how do I hate thee, let me count the ways.

SMF1 menu edits are the reason I don't write many SMF1 mods now. E.g. my Buddy Page mod would be quite doable on SMF1 without much effort but because I have neither the time nor the patience to do endless menu edits, I won't. (I'd rather work on something new rather than endlessly rehash something existing)

A post replace would be unorthodox but I wouldn't have a problem with it, either on my own or speaking from the purple badge. In some ways you're almost supposed to do that.

Personally, I don't think it would be such a bad thing for you to stop SMG development of new features; get the last remaining issues cleared up, then just step back a little and concentrate on regaining your mojo, so to speak.

QuoteBut it was already the case back in 2002, when I started my own community. I didn't have much PHP knowledge at the time, okay I had absolutely no PHP knowledge, and learned as it came. At the time, forum software was just as easy to use as now, I think. I tried phpBB, Invision and SMF, and had no problem with either of these. The only concern was with customization. I wanted to have this or that feature and that's when I started really delving into the code. But a regular guy can install SMF (either years ago or now) without any knowledge of PHP. If they don't want to manage a website at all, they can also simply use pre-existing forum platforms (such as noisen.com :P), where they can create their own communities, boards, blogs, etc.
I'm guessing paul is the kind of person who would be better served with such a pre-built platform.

I started dynamic websites in 2002 in ASP Classic (yay for VBS) but yeah, I'm amazed at how easy the pre-built platforms are getting now. But as ever customisation is increasingly something that people want to be able to do and some seem to feel it is a right and even expected of the developer to provide endless support and customisation, but as ever real life gets in the way ahead.

QuoteActually, I think the SMF team should be commended as well for support, maintaing, updating etc etc. There's a level of quality everywhere that I have yet to see elsewhere. And they're not paid either! It's important to remember that. And they don't complain. Aw, screw them! I'm the one who's miserable here! Nah!

But remember there are a lot more of them/us. And SMF has been around a while so it's not like it's software that can't be explored and understood. But as ever more people would probably be good.

QuoteWhat I need is someone who could forward me all of the issues/bugs/questions that are unanswered as of yet, so I could answer back, and they could transmit back to the original requesters. That way, I wouldn't have to deal with "acting like a smiling baker who wants to sell his bread even though he actually has nothing to sell and he has no reason to be smiling", or answering support questions that have been answered thousands of times before, etc.

Indeed, I hear you. Everyone assumes that we like writing code and telling everyone how to use it and how to edit it and so on. But in reality we like writing it and moving on to the next thing without endlessly going over and over back through it.

I have to admit I do get frustrated when the same question is answered over and over before and because people don't always spend a little time looking or using the search function before posting... one thing recently pointed out somewhere was the idea of a support teddy bear. Have people explain problems to a teddy bear and once they've done that if they still haven't got an answer, to ask the support guy. Amazing how often a little time gets there.

QuoteQuick question: how can you write 16.000 posts in so little time, and release mods as well etc.?
Are you working quasi-fulltime on SMF like I'm doing? Do you still deal with your own website? (I myself have difficulty keeping up with it... Especially since the release of Curve -- I have to update it to my custom code and I'm still weeks away from being finished...)

Well, one theory that's been put out is that I'm a cyborg from the time of SMF 7 (which as Eliana confirms, has time travel :D) but in reality it's being unemployed and spending 12-16 hours here per day, and doing at least 100 posts a day nearly every day.

QuoteIt's not about the difficulty of moving to RC2 (since I'm always working on the latest SVN, I'm more familiar with the latest RC than with previous releases), it's about the fact that most people are still using SMF1 and, at this point, it's crap. It's just like SMG2: I ended the beta session because I realized many people were still using SMG1 because it's "stable", even though the beta SMG2 was ten times more stable than SMG1. So it's still a bit buggy here and there, but not much really. I don't see any game-breaking bug around anyway. I'll be releasing v2.0.1 this week though. Especially now that I've got the mod_security fix ready.

SMF1 was great for its time. It's functional and stable. 2.0 however makes life WAY easier for people like us that want to do something a little different.

Classic example: there is a guy in the coding boards who is writing his first mods. He's at the stage of adding new entries to the menu, new actions, even new pages. But I doubt he'd be able to do it for 1.1 anywhere near as easily if only for the menu entry issue.
Holder of controversial views, all of which my own.


Arantor

#4864
Quote from: paulmagno on October 26, 2009, 10:53:30 PM
The manuals explain how to download the mods...I followed the directions and it didn't work...so, now what? I guess just give up...

Did you follow the manual instructions on it? Going to the mod's page, selecting your version and hitting Parse would give you the manual instructions. You'd be able to see what bit it's failing on in index.template.php which is why it fails.

QuoteWell, maybe, we aren't all as brilliant as you and simply don't understand the terminology involved. What if you walked into a bakery and didn't immediately understand all of the vocab or work involved in making a chocolate cake...would the head baker be right in looking down on you? Or would he be a classless jerk for treating you as an idiot for not knowing something that you had absolutely no need to know previously?

That head baker... I've been both sides of that metaphorical fence, so I think I understand where you're coming from. We all had to start somewhere, and yes it does take time to learn. But what I do have to say is that your question did receive an answer with the next step you need to take - the manual tells you how to manually install any mod, and it is simply a case of following "find this, add this" instructions. If you have trouble then, come back and we'll help you.

Quote...it takes less effort to be a decent human being than it does to lord your knowledge over others and then whine about all the time you volunteer...poor baby...

Without wishing to be rude, you are not doing yourself any favours. You've made your point that you're dissatisfied with the 'service', but note that if Nao is helping you, he's not making it better for everyone else. Also, a certain amount of his ire is from the fact that you were given some help but want more without doing any of the work; I believe his view is along the lines of helping people who are prepared to help themselves a little too.

For the head baker analogy, it'd be like asking the head baker about baking a cake, being given a recipe then wanting the baker to bake it for you.

Try the manual instructions. Let me know how it goes and if you're still having trouble then I'll see what I can do to help.
Holder of controversial views, all of which my own.


Sudhakar Arjunan

Quote from: SMGTeam on October 27, 2009, 10:02:25 AM
New version is out! With all of the little fixes I cooked up this week. :)
Hopefully everything will go smoothly and mod_security (among other things) will be a thing of the past!

Version 2.0.1                                    October 27, 2009
-----------------------------------------------------------------


Good work Team.

Will reinstall and update my smf.

SMF & Avea Mods were the only mods on SMF to be up to date.

Good Work Team .
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Dramber

Flawless update. Thanks you sir!
QuoteInitializing settings

1 new record(s) have been inserted into the settings table.
Full list: i_hate_modsecurity

This made me lol. My wife was very confused. :)

paulmagno

@Arantor

I wasn't looking for anyone to do the work for me...but when someone gives me an answer with a term that I don't know, how is it wrong for me to ask what that term means? Since then, I have taken your advice and I'm reading up on some things...

If the baker example is bad, let me give you one last comparison:

I volunteer my time at a tourist info booth downtown...If someone came up to me and asked where the museum was and I said, "on State Street..." Seeing that he's totally unfamiliar with my city, would it be fair for me to have a hissy fit if he asked "Thanks, but where's State Street?"

Would I be right in telling him "Figure it out! I learned the street names, why would you bother to visit a city where you didn't know where everything was?"

Well, from my experiences in Paris, that's pretty much what they do...so I guess I understand.

I know that Nao is a lot more important to this community than one old senior citizen looking to make a forum for other senior citizens who are also learning to use computers...so, like I said, I won't bother you anymore...but I refuse to let some punk beat up on me because he wants to feel important and lord what he knows over the rest...

Courtesy and civility are not dead...I know parents still teach good manners...even in France.

Soms

Quote from: paulmagno on October 27, 2009, 03:28:40 PM
@Arantor
Courtesy and civility are not dead...I know parents still teach good manners...even in France.

I thought I read somewhere in this thread that you said your goodbyes and said you were not coming back? Please stay away. If you don't like the service, you should take your business elsewhere. Stop using up valuable space here. And please, stop insulting a whole nation. You are proving by coming back and sniping that older people do not have a monopoly of wisdom.

Tiribulus

Quote from: paulmagno on October 27, 2009, 03:28:40 PM
<<< I volunteer my time at a tourist info booth downtown...If someone came up to me and asked where the museum was and I said, "on State Street..." Seeing that he's totally unfamiliar with my city, would it be fair for me to have a hissy fit if he asked "Thanks, but where's State Street?"  >>>

What if a mapped brochure that YOU produced for free were posted on the front of the Booth with all the hot spots highlighted because 10,000 people had already asked the same questions and you were on your 15th person that day asking you where State Street was when State Street is highlighted on the map?

What if, not having looked at the map that 16th person then wants you to go with them so they don't get lost? What if they demanded that you go with them as if their version of your volunteer services were owed to them because they were born? What if this happened every day for a couple years?

I'm not accusing you of all this, but these guys get this all the time. NAO won't be shocked when I say again that he doesn't always handle things the way I would, but people are different and I don't have to put up with late nights and hours in a text editor only to have people ask the exact same questions, many times in a foot stomping spoiled brat temper tantrum, the answers to which are sitting here in this thread or even in the release notes.

Arantor

What Tiribulus said is pretty much how it is, and given that Nao has two of the most popular mods on his hands, he gets asked the same questions day in, day out, and it will drive ANYONE to distraction.

As a future note, if someone drops a term on you you're not familiar with, we do have pretty comprehensive search facilities you can use to find the information yourself, even on a per-thread basis.


Please now, everyone has pointed out their frustrations, time to move on.
Holder of controversial views, all of which my own.


Bruno36

Hello!

I can not find the link to begin installation.



My version of SMF is SMF 2.0 RC1.2

Bruno36 the French
SMF 2.0.9

Akyhne

Hmm, did you have a previous version installed that you didn't uninstall, but just deleted? In other words; do you have an earlier version installed now?

Bruno36

Bruno36 the French
SMF 2.0.9

PRaDiUS

Quote from: Nao/Gilles on October 21, 2009, 08:38:53 AM
If at some point in time I'm satisfied enough with SMG and the lack of work needed to support it etc., I may continue adding features to it after 2.0 and will consider this.

That's my idea:

- rename "general albums" to "featured albums",
- therefore allow admins to put a user album to the spotlight (i.e. the homepage),
- consider all albums to be "user albums" and when adding/editing them, instead of offering a list of membergroups with a checkbox for "view" permission, I'll be showing two checkboxes, one for "view" and one for "upload". (If any of these are disabled, only admins & album owners will be able to interact with the album at all.)

Hmm, maybe I could even put that in 2.0 but it would need testing. And editing all albums to set upload permissions of course.

@Nao

Getting back to you a little late on this... but that sounds like a great idea! I do like how general albums and user albums are listed separate. My forum is for video games and currently I am using User Albums to create an album for each Xbox360 game individually. I'm using General Albums as a place for people to post pretty much anything that has nothing to do with gaming. It works out really well and thankfully I have a couple friends helping me keep content flowing into the gallery.
Currently my members can only post in these general albums and it would just be completely awesome if they could post in the User Albums(which I have renamed Game Albums on my forum). That one option alone would help me alot because my forum members could keep my "Game Albums" updated for me and all I would have to do is add a new user album whenever a new game comes out. The ability to browse the gallery albums by the alphabet rather than just clicking thru numbered pages would be a nice addition too. I really love what you and Dragooon have done with with gallery. It looks so professional now and runs on the forum like a gem. I am still running RC2 and have not had any errors. I will be upgrading to 2.0.1 this weekend. Thanks so much for you guys hard work!

          [ RGXbox.com ]

littleone

Quote from: littleone on October 23, 2009, 11:49:18 AM
Here is a screenshot of it before the upload button is pushed



Here is the error message


Again this happens to everyone who trys to upload a .gif image EXCEPT those who have manager permissions.

I have checked all my permissions.  All the albums are set to default.  On some albums they can upload .GIF and on other albums they cant....yet they all have the same permissions.  What is up with this?

Bruno36

Bruno36 the French
SMF 2.0.9

Nao 尚

@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.

@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.

Quote from: Bruno36 on October 28, 2009, 06:43:34 AM
Hello!

I have uninstall the old version
I download the new version SMGMediaGellery-2.0.1
http://custom.simplemachines.org/mods/index.php?mod=1365
Hello!

This morning I ate an apple.
http://en.wikipedia.org/wiki/Apple

Euh, j'ai l'impression que ça irait mieux pour toi si tu m'expliquais ça en français, je me trompe?

Quote from: A.SK on October 27, 2009, 02:47:11 PM
Good work Team.
The name's Nao.... :O)
And you're welcome.

QuoteSMF & Avea Mods were the only mods on SMF to be up to date.
SMF? "Avea"? Were? Up to date? What do you mean?

Quote from: Dramber on October 27, 2009, 02:57:08 PM
This made me lol. My wife was very confused. :)
Believe it or not, it wasn't supposed to show up for regular users ;) I just put my frustration with mod_security (so many months of issues!) into that variable name... Forgot it would be shown at install time ;)

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.

Bruno36

Bonjour!

J'ai désinstaller l'ancienne version de smf média gallery et uploader la nouvelle version.
Le probleme, quand je vais dans la gestion des paquet je n'est aucun lien pour l'installer
Bruno36 the French
SMF 2.0.9

Nao 尚

@Bruno36> Tu n'as pas besoin d'émuler la version pour installer. Ensuite, y'a un bouton rouge à coté du nom du mod : ça veut pas dire qu'il y a déjà une autre version d'installée, ça...? Normalement si.

@Everyone in the paul* discussion> Thanks guys for your messages, you hit the spot :)

Quote from: Arantor on October 27, 2009, 01:51:27 PM
That's a horrible situation to be in; fortunately I've missed that sort of thing for the most part, but I can see how it can make you feel bitter and resentful.
Hopefully the name change will give me a better sense of ownership.
I will also remove features that I find too complicated and that clutter the source code for nothing (see previous post).

Quotemod_security, how do I hate thee, let me count the ways.
One of the things that worry me is that SMF is pretty much bearing half the responsibility here, as it's using ";" as a separator, and it makes mod_security stop on ";id=" requests.

It would be much simpler (okay I feel like I've already talked about this before haven't I? I'm always rehashing the same things) to have a couple of lines in ob_sessrewrite() that check for mod_security and, if present, rename ;id= to &id= on the fly. Although it's no longer needed for SMG since I'm doing it now, by adding another output buffer handler to the handler stack, rather than editing the ob_sessrewrite() function.
Anyway, the only issue is that sometimes Apache won't release information on whether mod_security is installed, so it's best to have this as an optional thing, like I did in SMG.
Headaches.

Fortunately (?), I have yet to see other conflicts between MS and SMG.

QuotePersonally, I don't think it would be such a bad thing for you to stop SMG development of new features; get the last remaining issues cleared up, then just step back a little and concentrate on regaining your mojo, so to speak.
Hmm yeah but... Hmm. It feels like SMG is calling to me sometimes.
The trick is to find a good balance between pay-for features and free features. Unfortunately for me, I currently have more ideas for free features ;) (A pay-for feature must be completely independent from the main mod, which isn't the case of most of my ideas.)

QuoteBut as ever customisation is increasingly something that people want to be able to do and some seem to feel it is a right and even expected of the developer to provide endless support and customisation, but as ever real life gets in the way ahead.
Ah, real life... BTW I'll be less available for the next 10 days. My business partner is staying again at my place, and we'll be busy enough IRL.

QuoteBut remember there are a lot more of them/us.
Yeah, and people come and go. I remember when I joined the beta team, the core dev team was very different. I saw Aaron, Karl and TE join later on and now they're doing most of the work. I'm wondering what the core dev team will be like in a year or two. The good thing with rotating teams is that it injects new blood, new ideas (a bit less now that SMF2 has been feature-frozen for a year or so...), the bad thing is that sometimes newcomers have a hard time with existing code and either add bugs or have to rewrite everything.

QuoteAnd SMF has been around a while so it's not like it's software that can't be explored and understood. But as ever more people would probably be good.
I'm all for a dev team of 10 people personally. Hmm come to think of it, there are many people with commit access. But the core dev team I mean. Each and everyone should be able to pick their preferred area and work mainly on it. I know we used to work like that, Dragooon and I. We each had our things. SMF is a much wider project, there are plenty of places one could feel comfortable to work on and improve.

QuoteIndeed, I hear you. Everyone assumes that we like writing code and telling everyone how to use it and how to edit it and so on.
Writing code is usually fun, or at least enjoyable from an intellectual point of view. Supporting it, not so much. (N'est-ce pas, Karl?)
Especially when it comes down to explaining how SMF works, rather than how one's mod works.

Quoteone thing recently pointed out somewhere was the idea of a support teddy bear. Have people explain problems to a teddy bear and once they've done that if they still haven't got an answer, to ask the support guy. Amazing how often a little time gets there.
I don't get the idea, is that cultural?
You mean sometimes they just need to explain the problem and then in the process they'll figure out what's wrong, right? The Freudian way? ;)

QuoteWell, one theory that's been put out is that I'm a cyborg from the time of SMF 7 (which as Eliana confirms, has time travel :D) but in reality it's being unemployed and spending 12-16 hours here per day, and doing at least 100 posts a day nearly every day.
One theory doesn't automatically prevent the other from being true!

QuoteSMF1 was great for its time. It's functional and stable. 2.0 however makes life WAY easier for people like us that want to do something a little different.
Also, SMF2 is top of the game. SMF1 is way behind the current latest releases of phpBB, vBulletin, etc.
The team really should release SMF2 ASAP, and then release minor updates after that. It's pretty much impossible to fix every single reported bug in the timeframe they give themselves. And they're slowing down these days, once again I'm starting to report more bugs than they have time to fix them, lol.
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.

Advertisement: