News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

darkblack323

hi my friends please help me.  ı have one problem. when ı edit/add/delete album its not workind: it say:

Not Acceptable

An appropriate representation of the requested resource /forum/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

my .htacess files :


<IfModule mod_security>

   SecFilterEngine Off
   SecFilterScanPOST Off

</IfModule>

ı talk my hosting company, ı sad please disable mod_Securty. they tell me 'its very risk'

what can ı do ? ı want use SMG

flamechica

Quote from: flamechica on August 14, 2009, 05:03:29 PM
I am using SMF 2.0 RC1.2 and just installed this mod (1.5.6). When I try to create an album it keeps coming up with this error:

QuoteAn Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777         

Funny thing is, is that the directory and the file they are talking about are indeed chmodded to 777...any suggestions???

By the way, if anyone else has this problem, I finally found the solution. All the directories in the package were for some reason uploaded as files instead of directories. I had to go through and manually copy all the directories into the correct spots.





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 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?

DirtRider

Quote from: DirtRider on May 13, 2009, 10:21:32 AM
PAID feature Request

I know that asking for additional feature on this mod is a bone of contention. However I would like to run this on my main forum in place of the gallery I already have. However I need a feature added before I can do this and I am willing to pay for it.

This is what I need - When something new is added to the gallery I need it to post a thread in a specified forum area for that new upload like this

Quote from: jmv2006 on July 19, 2008, 07:03:46 AM
Thruxton TCMoto-4



http://triumphtalk.com/index.php?action=gallery;sa=view;id=385

Please let me know if this would be possible and at what price

Nao have you given this one any more thought  ;D Also see this topic http://www.simplemachines.org/community/index.php?topic=310396.msg2060473#msg2060473
http://www.triumphtalk.com

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

BYUFanatic

Quote from: Nao 尚 on August 19, 2009, 11:26:31 PM
Well, err... Double check to make sure they don't have the permission for Unseen, then ;)
Also, replace the
$user_info['mgal_unseen'] = $mgallery_unseen;
(the line just below) with the same trick...
$user_info['mgal_unseen'] = mgalAllowedTo('access_unseen') ? $mgallery_unseen : 0;


Nope. None of that worked either. I'm finding that part of the problem is this:

When I login as the administrator and I click on the GALLERY tab, this is the url:

http://forum.[domain name here].com/index.php?action=mgallery

However, when I login as a regular user and I click on the GALLERY tab, the url is this:

http://forum.[domain name here].com/index.php?action=mgallery;sa=unseen

Part of the problem is that it's tacking the "sa=unseen" onto the end of the url and that needs to be removed. I'm tempted to hunt through the files to find out where the url is created, but with school starting next week I don't have the time, so I'm resisting that temptation as best I can.

Rob

rgecy

Quote from: rgecy on August 18, 2009, 01:17:24 AM
How do I fix this issue with the Header in the Gallery?  Its showing too big in my forum!  Installed 2.04b on SMF 1.1.9.

Thanks,

RGecy

Dragoon,

Any help to this issue?  http://www.simplemachines.org/community/index.php?topic=260821.msg2218569#msg2218569

Thanks,

RGecy

Nao 尚

@BYU> I told you... The code I gave you WILL absolutely, totally and completely remove the unseen part of the URL. You probably didn't patch it correctly.

@DirtRider> I sold 3 copies of Foxy! in 6 weeks (so that makes a 90€ benefit for 2 months of fulltime work on the mod), so I'm definitely not in a hurry to develop any additional features for said mod...
And new features for SMG itself are limited to my own needs I'm afraid. With Dragooon dropping out of the project and not willing to pass it along to me (which is totally up to him, of course, and I respect his decision), I don't see any reason to keep working like crazy on something I don't feel I have a hand on, at all. So I will stay on the project -- but as a part-time job I'll only work on when I feel like it. Not the fulltime crap I've been doing for so long. Costs too much, doesn't bring much in return. And unfortunately, it's NOT as fun to work on as it used to be.
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

I did not know that you had released Foxy thought it was still in the project stages. Pity about you not wanting to go further with it but I can understand your feelings. My subs on the other gallery have expired so I am now more than ever needing this to be done  :'(  Not going to renew the subs on the old one never really got great support from it anyway  :-\

What features does Foxy have over and above what this version has
http://www.triumphtalk.com

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

BYUFanatic

Quote from: Nao 尚 on August 21, 2009, 12:46:21 PM
@BYU> I told you... The code I gave you WILL absolutely, totally and completely remove the unseen part of the URL. You probably didn't patch it correctly.

I don't know what to tell ya. I did EXACTLY what you directed me to do. Here is the entire "IF" conditional:

(I bolded the changes you gave me.)

Quote
   // Recalculate number of unseen items
   if (!empty($user_info['mgal_unseen']) && $user_info['mgal_unseen'] == -1)
   {
      $request = $mgalFunc['db_query']('
         SELECT COUNT(m.id_media)
         FROM {db_prefix}mgallery_media AS m
            INNER JOIN {db_prefix}mgallery_albums AS a ON (m.album_id = a.id_album)
            LEFT JOIN {db_prefix}mgallery_log_media AS lm ON (lm.id_media = m.id_media AND lm.id_member = {int:user})
            LEFT JOIN {db_prefix}mgallery_log_media AS lm_all ON (lm_all.id_media = 0 AND lm_all.id_member = {int:user})
         WHERE {query_see_album}
         AND IFNULL(lm.time, IFNULL(lm_all.time, 0)) < m.log_last_access_time' . (!mgalAllowedTo('moderate') ? '
         AND m.approved = 1' : '') . '
         LIMIT 1', array('user' => $user_info['id']), __FILE__,__LINE__);
      list ($mgallery_unseen) = $mgalFunc['db_fetch_row']($request);
      $mgalFunc['db_free_result']($request);
      updateMemberData($user_info['id'], array('mgal_unseen' => mgalAllowedTo('access_unseen') ? $mgallery_unseen : 0));
      $user_info['mgal_unseen'] = mgalAllowedTo('access_unseen') ? $mgallery_unseen : 0;

   }

I have also set the permissions to not allow access to the unseen area.

By the way - in comment on your response to DirtRider - I am EXTREMELY grateful for the work you have put into this mod. It is EXACTLY what I have been looking for and is an excellent tool for helping my students.

Rob

Nao 尚

@byu> I suppose you'll have to wait for beta 5 then... Because I don't know why it's not working for you. Anyone else tried this hack?

Quote from: DirtRider on August 21, 2009, 01:00:50 PM
I did not know that you had released Foxy thought it was still in the project stages.
Released on July 3rd...
http://aeva.noisen.com/5354/foxy-add-on-for-smf-media-gallery/

QuotePity about you not wanting to go further with it but I can understand your feelings.
Foxy! was somehow the excuse I gave my GF about not working on SMG for nothing... Well, she did notice that it actually worsened the whole SMG situation ;)

QuoteMy subs on the other gallery have expired so I am now more than ever needing this to be done  :'(  Not going to renew the subs on the old one never really got great support from it anyway  :-\

What features does Foxy have over and above what this version has
Look at the topic mentioned above, it has a feature list + changelog. (Although it hasn't been updated -- I usually post the changelog in the private Foxy! board for regged members -- we're up to v1.04 or v1.05, can't remember...)
You can see it in action at http://fox.noisen.com as well (99% of the pages over there are made with Foxy!, without any changes.)
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

@ Nao 尚  - Ok the Changelog I am seeing is v1.01 July 9th, 2009. I am a bit lost on the site as I don't speak French  ;D Basically the show stopper for me is if it can post the newly uploaded image into a thread on a selected board or not.
http://www.triumphtalk.com

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

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.

BYUFanatic

Quote from: Nao 尚 on August 21, 2009, 07:52:51 PM
@byu> I suppose you'll have to wait for beta 5 then... Because I don't know why it's not working for you. Anyone else tried this hack?



Thanks for trying. I appreciate it.

Can you tell me which file(s) build the URL that gets linked to the GALLERY tab under the headers on each page? School starts next Tuesday and I would like to have it fixed by then. I could probably track it down much faster if you can point me in the right direction (knowing which file(s) are involved in creating  the link to the GALLERY tab).

Rob

Nao 尚

If you're using SMF1, it's in (Themes\default) index.template.php, otherwise it's in (Sources) Subs.php
Just search for 'unseen' and mess around to simplify the code.
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.

rgecy

Just noticed that when I upgraded to 2.0b4, the Slideshow is no longer available.  I went to uninstall and of course it will not unistall without errors.
QuoteInstalling this package will perform the following actions:  Type Action Description

1. Execute Modification ./Sources/ManagePermissions.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
3. Execute Modification ./Sources/MGallery.php Test failed
4. Execute Modification ./Sources/MGallery-Sub.php Test failed
5. Execute Modification ./Themes/default/MGallery.template.php Test failed
6. Execute Modification ./Themes/default/languages/MGallery.english.php Test failed
7. Delete File slideshow.js

Any ideas?

Thanks,

Robert

Nao 尚

#4214
Just reinstall your slideshow stuff without uninstalling it first (only because all of the SMG files have been overwritten in the first place!)

I think. (I didn't write the slideshow mod, I'm not responsible for it, I'm not earning any shares on it, so if you have a problem with it, complain to Dragooon.)
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.

rgecy

Didn't work!  Any idea where to find the manual edits?

Thanks,

RGecy

Akyhne

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.

flamechica

Quote from: flamechica on August 20, 2009, 08:05:14 AM
Quote from: flamechica on August 14, 2009, 05:03:29 PM
I am using SMF 2.0 RC1.2 and just installed this mod (1.5.6). When I try to create an album it keeps coming up with this error:

QuoteAn Error Has Occurred!
This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums is chmodded to 777         

Funny thing is, is that the directory and the file they are talking about are indeed chmodded to 777...any suggestions???

By the way, if anyone else has this problem, I finally found the solution. All the directories in the package were for some reason uploaded as files instead of directories. I had to go through and manually copy all the directories into the correct spots.





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 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????

Angelotus

Hey Dragooon, excellent mod, using it for several sites.
One question, is it possible to add a column in the memberlist next to the nr of posts they´ve made that shows the nr of images they´ve added to the site?

http://www.mypicas.com/1/index.php?action=mlist

Kindred

of course it is POSSIBLE...   you just have to code it. :)
Сл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."

Advertisement: