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

DirtRider

Quote from: Nao/Gilles on November 18, 2009, 08:33:02 AM

Is this something that SGP does? I never used it to the fullest so I wouldn't know.
What Foxy! does is very specific -- you can see an example over at http://fox.noisen.com
All of these blog posts were created automatically by Foxy! when creating the album. The first post is entirely populated automatically from the album description and album items. Whenever a new item is added, a new post is made to the topic to point out the exact item (if using mass upload, a single post is made with all new items). You can freely remove these new posts manually, as they're only made to save you the hassle of 'bumping' your topic.

Ok this would be the same idea by the looks of it. However would this also do the same on a forum and not just a blog
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Nao 尚

@Afro> Your host sucks, or is terribly inefficient. The tmp directory is a given when enforcing the open_basedir restriction. It's only for files that are there temporarily... They *will* get deleted, so there's no reason to prevent this folder from being shared.

@Tiribulus> The getid3 problem has already been discussed.
Changing the file by myself is annoying. It's not like there are only a couple of ereg's in there... Most particularly, the author has already done that work months ago -- only, he's too lazy/busy to release it.
http://www.getid3.org/phpBB3/viewtopic.php?f=7&t=983
So I guess I'll wait until v1.7.10 is out... Can someone please tell us somewhere when it's the case? Or just post other there and complain :) Maybe he'll do something after enough people complain!

@DirtRider> Of course it does it on a topic... As you may notice on noisen.com, blog posts are topics. They just use a different template for showing the main post, and there are a few other differences, but basically it's just a flag in the database that gets enabled or disabled.
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.

DirtRider

Quote from: Nao/Gilles on November 19, 2009, 03:37:02 AM
@DirtRider> Of course it does it on a topic... As you may notice on noisen.com, blog posts are topics. They just use a different template for showing the main post, and there are a few other differences, but basically it's just a flag in the database that gets enabled or disabled.

Oh well then this would then solve my problem of posting new images into a forum board. Also another way around this would be to have the RSS poster post it as I see Foxy has RSS capabilities as well. However I will only know for sure once I have Foxy installed  ;D Very good job done on what I can see of it so far
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Nao 尚

Yes there is RSS support, you can test it over at media.noisen.com ;)
RSS for new items (global, per album or per user), and new comments (global, per album, per user, per item). And maybe others, I don't remember. Everything important is there anyway.
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.

Tiribulus

Quote from: Nao/Gilles on November 19, 2009, 03:37:02 AM
@Tiribulus> The getid3 problem has already been discussed.
Changing the file by myself is annoying. It's not like there are only a couple of ereg's in there... Most particularly, the author has already done that work months ago -- only, he's too lazy/busy to release it.
http://www.getid3.org/phpBB3/viewtopic.php?f=7&t=983
So I guess I'll wait until v1.7.10 is out... Can someone please tell us somewhere when it's the case? Or just post other there and complain :) Maybe he'll do something after enough people complain!

I didn't know that. In fact I didn't know what getid3 was until this happened ???

I did some diff comparisons with  THESE files and it looks like whoever this is tried to replace ereg with preg_match. It also looks like this Heinrich guy is losing his enthusiasm for getid3() from what I can gather.

fmofmpls

Is there an option somewhere to turn off the "mass download" button?

Nao 尚

@fmo> Yes, a general permission.

@tiribulus> I didn't notice that he had actually committed the changes... Didn't look enough ;)
Okay, I've committed myself most of the changes to SMG 2.0 and AM 1.0 (I checked them all one by one). Should be good now. Will be in SMG 2.0.5 and AM 1.0 Private Alpha of course.

! [SM/AM] Deleted lyrics3 getid3 module (pretty much unneeded?), and updated getid3 to PHP 5.3 compatibility. (MGallery-getid3 folders)
- [AM] Removed SMF 2.0 Beta 4 compatibility. It's over a year old, time to move on! (package files)
* Moved common SMF 1.1/2.0 install scripts to install-both.xml file
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.

Afro

Quote from: Nao/Gilles on November 19, 2009, 03:37:02 AM
@Afro> Your host sucks, or is terribly inefficient. The tmp directory is a given when enforcing the open_basedir restriction. It's only for files that are there temporarily... They *will* get deleted, so there's no reason to prevent this folder from being shared.

well i asked them and they turned it off

Tiribulus

Quote from: Nao/Gilles on November 19, 2009, 11:03:13 AM
<<< @tiribulus> I didn't notice that he had actually committed the changes... Didn't look enough ;)
Okay, I've committed myself most of the changes to SMG 2.0 and AM 1.0 (I checked them all one by one). Should be good now. Will be in SMG 2.0.5 and AM 1.0 Private Alpha of course. >>>

Is "he" the developer? LOL, I didn't know that either.  I was just diggin around. I really do try to find answers myself before asking stupid questions like this, but can someone just copy those files into the /Sources/MGallery-getid3 folder? Also, and please be gentle with me I know this is a doozy, but how the hell do you know if this working? I uploaded an MP3 file that I know has embedded tags because media player shows the information, but I don't see anything in the SMG gallery. Or am I missing something altogether?
Thanks again

Nao 尚

SMG only uses getid3 to get the bitrate and duration of various multimedia files. I know, it's not much... But it's not a big script either. And at least it works for that.
You can update your files with the new ones, yes. Although I'd recommend to wait for a new release because that particular revision doesn't have all the modules in it (I did the remaining files manually.)
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.

Tiribulus

Quote from: Nao/Gilles on November 19, 2009, 11:52:38 AM
SMG only uses getid3 to get the bitrate and duration of various multimedia files. I know, it's not much... But it's not a big script either. And at least it works for that.
You can update your files with the new ones, yes. Although I'd recommend to wait for a new release because that particular revision doesn't have all the modules in it (I did the remaining files manually.)

Oh, I see. This is just a thought, but if your changes will work independently of SMG you'd be doing the world a favor if you made them generally available. I don't know how this works between developers, if it would hack this guy off if you did so, but as I'm sure you're aware there are a lot of people begging for this. Even quite recently and it appears he is busy with other stuff. I could be way off base with this, like I say I am not familiar with how people do these things.

Nao 尚

I think you misunderstood me. *I* use getid3 to retrieve bitrate and duration information. Not the other way around. There is no code in SMG that would benefit to getid3. I could get more information from getid3, but I don't see any reason to do that for now. (Plus, my hands are pretty full as it is.)
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.

Tiribulus

Quote from: Nao/Gilles on November 19, 2009, 01:37:36 PM
I think you misunderstood me. *I* use getid3 to retrieve bitrate and duration information. Not the other way around. There is no code in SMG that would benefit to getid3. I could get more information from getid3, but I don't see any reason to do that for now. (Plus, my hands are pretty full as it is.)

I could be wrong, but I think were missing each other here. I was under the impression that what you were doing was updating the getid3 files to use the preg_match function rather than ereg or eregi (don't know the difference). If that is the case then I was saying that since so many other folks are waiting on that very thing, totally unrelated to SMF or SMG and since you were doing it anyway, the same changes would help them too. That is assuming that what you did effected the core functionality of getid3 independently of SMF or SMG. It was a round about way of saying it would be a great service and get you some more recognition as well.

Of course if what I just said is still wrong than I'll shut up because I have no idea what I'm talkin about :)

Nao 尚

The files on the SVN are correctly converted. However I didn't use them because they add a lot of commented out code, it's a waste of space, so I just copied the converted stuff to my version. I also converted the RIFF module, but SMG doesn't use all modules so I didn't convert them all... Only that particular one.
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.

fmofmpls

Quote from: Nao/Gilles on November 19, 2009, 03:37:02 AM
@fmo> Yes, a general permission.

Not seeing an option to disable downloads anywhere in General Permissions. Everything but that. I'm running 2.0 rc2.

Here are my General Permissions:

SMF Media Gallery     
   Access Gallery    
   Moderate Gallery    
   Administrate Gallery    
   Access unseen area    
   Search in Gallery    
   Add User Playlists    
   Add User Albums    
   Auto-approve User Albums    
   View anyone's Gallery profile

LHW

@fmo: Go to Admin / Gallery / Permissions / Default, and then "Edit" for each group.  Inside, you'll be able to set these permissions[1]:

Auto-approve comments     
Comment in items    
Download items    
Edit own comments    
Mass Download    
Rate items    
Report comment    
Report items    
View who rated what    
Add audio files    
Add documents    
Add embedded files through Aeva    
Add pictures    
Add video files    
Auto-approve items    
Edit own items    
Mass Upload
[1] Note: Some of these may not be available without the Foxy! add-on.


fmofmpls

Thanks Lord High Warlock! Found it! Much appreciated!

Tiribulus

Quote from: Nao/Gilles on November 19, 2009, 03:42:48 PM
The files on the SVN are correctly converted. However I didn't use them because they add a lot of commented out code, it's a waste of space, so I just copied the converted stuff to my version. I also converted the RIFF module, but SMG doesn't use all modules so I didn't convert them all... Only that particular one.

Aha. Now I gotchya. I always appreciate the the time you take to answer my sometimes ignorant questions. The work you did to it is really only specific to the pieces used by SMG. Besides, it sounds like the developer has actually done the conversions but hasn't gotten around to letting anybody know about it yet :-\

LHW



Angelotus

Hello,

Is the following possible?

On website A I have SMG installed and have one categorie named Weeklyfun
I want the latest pics from that categorie to be appeared on the frontpage of website B.

How can I do that?

Advertisement: