News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

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

Angelotus

Quote from: Kindred on August 25, 2009, 07:55:06 AM
of course it is POSSIBLE...   you just have to code it. :)

;D duh! lol
What changes do I have to make to achieve this?

ArkServer

Not sure if it's been asked already but i wanted to ask if it's possible to restric a guest to view the image in full size and make it so that only the smaller images can be seen.

Kindred

Quote from: Angelotus on August 25, 2009, 08:37:00 AM
Quote from: Kindred on August 25, 2009, 07:55:06 AM
of course it is POSSIBLE...   you just have to code it. :)

;D duh! lol
What changes do I have to make to achieve this?

lol...


well, off the top of my head, I'd say that you need to add a count variable and fill it with an SQL count (or find the variable in the mgallery set that has that data) in sources/memberlist.php and then add an extra column and call that variable in memberlist.template.php.

I can't be any more specific without actually doing the coding. :)   You might ask over on the smf-media site...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Angelotus

ok, another thing: I see that the dates are incorrect sometimes

Nao 尚

Kindred, there's already a mgal_total_items variable in the members table, eheh ;) No need for a counter...
I'll look into these. Maybe.
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: Nao 尚 on August 26, 2009, 04:59:04 AM
Kindred, there's already a mgal_total_items variable in the members table, eheh ;) No need for a counter...
I'll look into these. Maybe.
Actually, changing SMF code in a mod is too annoying, especially with SMF2's Core theme having just been dropped in favor of Curve as the new default layout... I'm withdrawing that remark.
If you want this number to appear in your memberlist, you'll just have to add it yourself. Just get some inspiration from mods that modify the member list, like the one that adds the avatar...
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

Quote from: Akyhne on August 24, 2009, 05:30:21 PM
Nao: I resigned as beta tester, but if you want me to test functions with FFMPEG, I now have the possability with my new VPS.
Reported a bug in the bugtracker.

Nao 尚

Regarding specific permissions to allow users to view thumbnails, previews or full versions, it IS possible to implement, but I'm not going to do that either, not for a technical reason, but for a support reason: permissions are disabled by default, so if I add a new permission, all existing permission profiles will give a "no no" when it comes to viewing the bigger item. So everyone will have to edit all of their profiles to add the new permissions manually.
Guess what? There will be dozens of people posting here to complain that they can no longer view items...
I just don't want that. I'm already alone to work on SMG, I don't own SMG, I don't see the point in keeping up like this. There just isn't any incentive left for me. Especially when it comes to technical support. SMG is too big of a mod.

@akyhne> I'll have a look, but I don't have FFMpeg myself... I already told the guy I wrote the fix for, "please test it before I release"... He never even replied again. It's not exactly my fault.
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

Quote from: Nao 尚 on August 26, 2009, 08:33:02 AM
@akyhne> I'll have a look, but I don't have FFMpeg myself... I already told the guy I wrote the fix for, "please test it before I release"... He never even replied again. It's not exactly my fault.
If you want access to a subdomain with full ftp access and FFMPEG working, let me know.

Kindred

Quote from: Nao 尚 on August 26, 2009, 08:16:27 AM
Quote from: Nao 尚 on August 26, 2009, 04:59:04 AM
Kindred, there's already a mgal_total_items variable in the members table, eheh ;) No need for a counter...
I'll look into these. Maybe.
Actually, changing SMF code in a mod is too annoying, especially with SMF2's Core theme having just been dropped in favor of Curve as the new default layout... I'm withdrawing that remark.
If you want this number to appear in your memberlist, you'll just have to add it yourself. Just get some inspiration from mods that modify the member list, like the one that adds the avatar...

Hey Nao, :)  I figured there was a variable somewhere, but I was being a bit lazy and didn't look at the code. :)

And yes...   having a mod like this modify the memberlist would be annoying anyway, especially if the site is making use of some of the other memberlist modifications (which would have everyone screaming that the package failed on memberlist.template.php.)

Angelotus , I would suggest looking at the skype mod, which does add a column to the memberlist and should give you an idea on how to add one..

Oh, and the dates are not wrong.   I would assume that you have Use EXIF date turned ON in your SMG admin....    so, if the image has an EXIF date (which most digital pics will have), the syste, uses THAT date, not the date of upload.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Whizzy

Hi, thanks for the mod, looks awesome installed perfect.......but then the trouble started ;)
For some reason i can set permisions as much as i want, except for me as admin, nobody can see the general albums in any place on my forums, they keep getting the "you are not allowed to view this image" picture. as far as i know i have set all permisions on all places to the correct values. using smf 1.1.10 with tp v1.0 beta4

these are how i have the settings for a particular membergroup that is affected



this how i see the gallery as admin


this is how above membergroup sees it


i have no idea why they can not see the general albums, on a site note, the permision profile default has enabled all for any membergroup except guests (mass upload, comments etcetc)

where do i go wrong, what should i do to fix, any help is greatly apreciated

Nao 尚

SMG2 also uses permission profiles for album-based perms... Look for them in the SMG Admin area. (Oh, Dragooon... What did you do ;))
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.

Whizzy

oww... didn't even realise i had an outdated version, have updated and re did all permisions. it worked and they are viewable now. thank you so much for the quick reply

Nao 尚

Nah, given your screenshots, you did have SMG2... Which is why I said that.
Updating your beta, though, was pretty much mandatory, for reasons other than the permission system but still.
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 尚

For those interested --
Given the lack of interest in Foxy! in the last two months, I've agreed to drop the price a bit.
It is now down to 20€ for a month's worth of upgrades, and the usual 30€ for a year's worth. (The users who actually bought the mod so far will still get 5 years worth of upgrades for free.)
The current feature I'm working on will be in Foxy! only, it's a button in the post box that allows you to directly upload an item and embed it immediately inside your post. (Just like the regular image button.)
The feature list so far can be found here:
http://aeva.noisen.com/5354/foxy-add-on-for-smf-media-gallery/

End of the shameless plug. SMG2 Beta 5 will be coming soonish, too (hopefully by next week). And for free, obviously. It adds its own share of cool features, you'll see.
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.

flamechica

Quote from: flamechica on August 25, 2009, 01:58:03 AM
Quote from: flamechica on August 20, 2009, 08:05:14 AM
Now, I have a new problem. I was able to create some albums, but when I go to upload a picture to them, it keeps telling saying "Error, File Not Found!" I don't get why it says "File not found" since I am trying to UPLOAD the file. I tried to mass upload and it says it uploaded 100% but then the files aren't in there. Any clue why uploading is not working?

No suggestions? ???

This will be the last time I ask for help. You seem to be ignoring me, though I have no clue why. I thought this is what the thread was for... I guess I will not be able to use your mod since I can't seem to get it to work.  :(
PLEASE[/] HELP

DilSe

hello to all

i want my User albums show on index page. same this pic if it's possbile plz help me .. from where i have setting ..

Soms

Quote from: Hanzalah on August 27, 2009, 11:07:58 AM
hello to all

i want my User albums show on index page. same this pic if it's possbile plz help me .. from where i have setting ..

Look at this topic http://smf-media.com/community/index.php?topic=602.0

Soms

Quote from: Hanzalah on August 27, 2009, 11:07:58 AM
This will be the last time I ask for help. You seem to be ignoring me, though I have no clue why. I thought this is what the thread was for... I guess I will not be able to use your mod since I can't seem to get it to work.  :(

I don't think anybody is ignoring you. It's been stated that if no answer is forthcoming, it means people have not been able to figure out the answer. I know from experience that this can be frustrating but it is a fact of life. Even the mod authors don't always have the answers.

In any case, sometimes it helps if you disable cookies and/or disable your firewall. I have Zonealarm. I can never mass upload unless I disable it.  PS. I am also a noob so don't take my word as the law   ::)

Nao 尚

Quote from: Soms on August 27, 2009, 12:30:23 PM
I don't think anybody is ignoring you. It's been stated that if no answer is forthcoming, it means people have not been able to figure out the answer. I know from experience that this can be frustrating but it is a fact of life. Even the mod authors don't always have the answers.
Because sometimes servers are limited. I test SMG on a good server that doesn't have PHP Safe Mode or mod_security installed -- so I'm not getting any trouble with these.

Really, basically, it's impossible to test SMG on every possible server setup. Plus, sometimes users don't read the documentation, so it can't be helped...

QuoteIn any case, sometimes it helps if you disable cookies and/or disable your firewall. I have Zonealarm. I can never mass upload unless I disable it.
Interesting... Didn't know 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.

Advertisement: