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

richyp

Quote from: Nao 尚 on May 27, 2009, 12:11:49 PM
Dragooon is offline for the week.
I suppose you made sure this is not a problem with the php.ini max file/upload size variables either?

Hi,
I have the max filesize set at 2048kb, people on the forum are reporting issues with much smaller sizes, I have replicated the issue with images just 200kb or less.

???

Lonewood

I have one members on my forum reporting that they cannot upload photos to either their user album or any of the general albums.  This issue was reported publicly and no other member has mentioned having similar problems - I have checked and I can upload properly and a number of other members are uploading new photos so it appears to be a very isolated problem.  Just cannot work out where the problem is.

When this member tries to upload a photo, she gets this error message:

Forbidden
You don't have permission to access /forum/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.41 Server at aussiesapphire.com.au [nofollow] Port 80


She can create a new user album ok - cant upload anything to it.  Only 49 images in her album so not near the file limit - tried a range of images but all well under the size limits.  She can comment normally.

I am not seeing anything in the error log but a newbie so could easily be missing something.
I am running SMF 1.1.9 and using the default theme. 
My url is www.aussiesapphire.com.au/forum [nofollow]
Not many mods installed - Media Gallery 1.5.6, Tiny Portal 1.0.75, SMF Links, Tagging, "Are You Human" - nothing too fancy.

This one has me stumped!!   I love this mod and all my members love it - there is almost as much activity on the gallery as the whole forum because it offers lots of interactivity to my members.  BUT, this particular member is one of my most active and so I'd really love to be able to fix up this problem for her.

Can anyone point me in the right direction please?

cheers Leah

Lonewood

Further to my message just above...

I think this problem might be solved by a very simple answer.  I think my member might have been using exclamation marks in the file name of the images she was trying to upload.  Didnt think to check this with her.  Will advise further if turns out not to be the answer but I'm pretty sure problem is solved.

cheers
Leah

Nao 尚

Exclamation marks? Strange...

Can you ask her if she's using a third-party firewall software? Such as ZoneAlarm?
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.

Sudhakar Arjunan

On Topics , i could see the thumb. Which is off very small in size.

How could i increase the size  both height and width.

( Increase the size of thumb on topics )
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Nao 尚

Uh... Increase the size of thumbs in general ;)
Or use previews instead of thumbs (type=preview). You can even use them by default. Oh wait, maybe that's just in SMG2...

Oh my, SMG2 is so much ahead of SMG1 in every way... :-/ When will we get to release 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.

Dragooon

Quote from: Nao 尚 on June 02, 2009, 04:43:00 AM
Oh my, SMG2 is so much ahead of SMG1 in every way... :-/ When will we get to release it?
Not until you come on MSN.

Sudhakar Arjunan

Quote from: Nao 尚 on June 02, 2009, 04:43:00 AM
Uh... Increase the size of thumbs in general ;)
Or use previews instead of thumbs (type=preview). You can even use them by default. Oh wait, maybe that's just in SMG2...

Oh my, SMG2 is so much ahead of SMG1 in every way... :-/ When will we get to release it?

on smf settings page,

changed Max thumb width = 1020 and Max thumb height = 1020.

But  no change on topics
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

LadyC

one of my admins posted her personal albums in the general category instead of as a user album. i've tried everything i can think of, but can't figure out how to move it from general to users. is it possible?

Nao 尚

@Dragooon> Over my dead body! :P
@ASK> Use the Regenerate Thumbnails feature in admin...
@LadyC> Yes it is. Unless it's only in SMG2... I'm not sure.
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.

L'AltroWeb

#3570
Hi!
I've maked a "test" gallery with password but i've see than i can't see image icon if first i don't use password to access in this album.
Is there any way to force icon and maintain password?
And/Or is there any way to don't show a specific album in recent images list?
-
Maybe with a mod in this line (MGallery-Sub.php)?
-
// Load recent items
$context['mgallery_member']['recent_items'] = getMediaItems(0, $mgalSettings['recent_item_limit'], 'm.time_added DESC', true, array(), 'm.ID_MEMBER = '. $memID);

-
Thanks in advance, DarkWolf :)
-
PS: i've also put two small mod to make album icon click-able ;)

Thenewguy2009

When I installed this mod, I get this stuff on the top of my forum.  I have done manual edits and everything.  Does anyone know what may cause this?

// SMF Media Gallery extra strings $txt['mgallery_gallery'] = 'Gallery'; $txt['mgallery_profile_sum'] = 'Summary'; $txt['mgallery_view_items'] = 'View items'; $txt['mgallery_view_coms'] = 'View comments'; $txt['mgallery_gotolink'] = 'More details...'; $txt['permissiongroup_mgallery'] = 'SMF Media Gallery'; $txt['permissiongroup_simple_mgallery'] = 'SMF Media Gallery'; $txt['permissionname_mgallery_access'] = 'Access Gallery'; $txt['permissionname_mgallery_moderate'] = 'Moderate Gallery'; $txt['permissionname_mgallery_manage'] = 'Administrate Gallery'; $txt['permissionname_mgallery_access_unseen'] = 'Access unseen area'; $txt['permissionname_mgallery_search'] = 'Search in Gallery'; $txt['permissionname_mgallery_download_item'] = 'Download items'; $txt['permissionname_mgallery_add_user_album'] = 'Add User Albums'; $txt['permissionname_mgallery_auto_approve_albums'] = 'Auto-approve User Albums'; $txt['permissionname_mgallery_add_videos'] = 'Add videos'; $txt['permissionname_mgallery_add_audios'] = 'Add audio files'; $txt['permissionname_mgallery_add_images'] = 'Add pictures'; $txt['permissionname_mgallery_rate_items'] = 'Rate items'; $txt['permissionname_mgallery_edit_own_com'] = 'Edit own comments'; $txt['permissionname_mgallery_report_com'] = 'Report comment'; $txt['permissionname_mgallery_edit_own_item'] = 'Edit own items'; $txt['permissionname_mgallery_comment'] = 'Comment in items'; $txt['permissionname_mgallery_report_item'] = 'Report items'; $txt['permissionname_mgallery_auto_approve_com'] = 'Auto-approve comments'; $txt['permissionname_mgallery_auto_approve_item'] = 'Auto-approve items'; $txt['permissionname_mgallery_multi_upload'] = 'Mass Upload'; $txt['permissionname_mgallery_viewprofile'] = 'View anyone\'s Gallery profile'; $txt['permissionname_mgallery_whoratedwhat'] = 'View who rated what'; $txt['cannot_mgallery_viewprofile'] = 'You cannot view Gallery profiles'; // End SMF Media Gallery strings

PRaDiUS

@ Nao

I need to know how to change the color of those copyright links without effecting the color of the other forum links. White will go good with my blue background and your links will be more readable. I would still like to keep the other links of my forum Navy Blue however, so I need to know how to/where to change the color of those copyright links without effecting the other forum links. Also, I am still getting that albumid error. I will attach it again if you would like to see it from my view. I have searched the net high and low for answers, tried a few things and I just can't seem to get rid of it. Thanks.

          [ RGXbox.com ]

L'AltroWeb

#3573
Thenewguy2009: Search error in your Modifications.english.php
Maybe you have forgot to close with
?> ;)

L'AltroWeb

#3574
@Pradius:
I don't know if you can (legal notice) but i think is here:
Open Subs-MGallery.php
Search:

function mgallery_copyright()
{
global $mgalSettings;
// IT IS ILLEGAL TO MODIFY/REMOVE THIS FUNCTION OR NOT INCLUDE THIS ON THE PAGE WITHOUT WRITTEN PERMISSION FROM THE AUTHOR
// DO NOT MODIFY/REMOVE THIS FUNCTION UNLESS YOU GOT WRITTEN PERMISSION FROM THE AUTHOR OR YOU BOUND TO A LEGAL OFFENSE
echo 'SMF Media Gallery ',$mgalSettings['version'],' &copy; <a href="http://smf-media.com" target="_blank">SMF-Media.com</a>';
}
and change this:
echo 'SMF Media Gallery ',$mgalSettings['version'],' &copy; <a href="http://smf-media.com" target="_blank">SMF-Media.com</a>';to something like this (for entire copy):
echo '<span style="color: red;">SMF Media Gallery ',$mgalSettings['version'],' &copy; <a href="http://smf-media.com" target="_blank">SMF-Media.com</a></span>';
or (if you want change only link): echo 'SMF Media Gallery ',$mgalSettings['version'],' &copy; <a href="http://smf-media.com" target="_blank" style="color: red">SMF-Media.com</a>';
PS: not tested and, i repeat, see legal notice before apply.

PRaDiUS

i tried changing the color thru style in the html but i guess the info in stylesheet is overriding it somehow because links are remaining the same color.

          [ RGXbox.com ]

L'AltroWeb

Quote from: PRaDiUS on June 02, 2009, 09:04:02 PM
i tried changing the color thru style in the html but i guess the info in stylesheet is overriding it somehow because links are remaining the same color.
test a ctrl+f5 or send me a link to test :)

Thenewguy2009

Dark-Wolf

He he...you were right! Thank you so much!

Thenewguy2009

ONe more question....if you have smf shop is there a way to give points to people that upload a photo or comment a photo like on smf gallery lite?

L'AltroWeb

#3579
Quote from: Thenewguy2009 on June 02, 2009, 09:29:38 PMHe he...you were right! Thank you so much!
:)
Quote from: Thenewguy2009 on June 02, 2009, 09:43:17 PMONe more question....
Sorry, i don't know smf shop :|
---
Edit: to delete an album from recent (and random) i've edit this (Sources/MGallery.php):
// Load up some side stuff, only when required
$context['recent_items'] = array();
$context['recent_comments'] = array();
$context['random_items'] = array();
$context['random_comments'] = array();

if (!empty($mgalSettings['recent_item_limit']) && $mgalSettings['recent_item_limit'] > 0)
$context['recent_items'] = getMediaItems(0, $mgalSettings['recent_item_limit'], 'm.id_media DESC');
if (!empty($mgalSettings['random_item_limit']) && $mgalSettings['random_item_limit'] > 0)
$context['random_items'] = getMediaItems(0, $mgalSettings['random_item_limit'], 'RAND()');
if (!empty($mgalSettings['recent_comments_limit']) && $mgalSettings['recent_comments_limit'] > 0)
$context['recent_comments'] = getMediaComments(0, $mgalSettings['recent_comments_limit']);
if (!empty($mgalSettings['random_comments_limit']) && $mgalSettings['random_comments_limit'] > 0)
$context['random_comments'] = getMediaComments(0, $mgalSettings['random_comments_limit'], true);
to this: // Load up some side stuff, only when required
$context['recent_items'] = array();
$context['recent_comments'] = array();
$context['random_items'] = array();
$context['random_comments'] = array();

if (!empty($mgalSettings['recent_item_limit']) && $mgalSettings['recent_item_limit'] > 0)
$context['recent_items'] = getMediaItems(0, $mgalSettings['recent_item_limit'], 'm.id_media DESC', true, array(), 'm.album_id NOT IN (13)');
if (!empty($mgalSettings['random_item_limit']) && $mgalSettings['random_item_limit'] > 0)
$context['random_items'] = getMediaItems(0, $mgalSettings['random_item_limit'], 'RAND()', true, array(), 'm.album_id NOT IN (13)');
if (!empty($mgalSettings['recent_comments_limit']) && $mgalSettings['recent_comments_limit'] > 0)
$context['recent_comments'] = getMediaComments(0, $mgalSettings['recent_comments_limit'], true, array(), 'm.album_id NOT IN (13)');
if (!empty($mgalSettings['random_comments_limit']) && $mgalSettings['random_comments_limit'] > 0)
$context['random_comments'] = getMediaComments(0, $mgalSettings['random_comments_limit'], true, array(), 'm.album_id NOT IN (13)');
It seems to work fine but i'm not sure if is a good way this :(
(i've simply add: "', true, array(), 'm.album_id NOT IN (13)');" to all without know)
-
Especially i can't understood difference from
      $context['recent_comments'] = getMediaComments(0, $mgalSettings['recent_comments_limit']);and      $context['random_comments'] = getMediaComments(0, $mgalSettings['random_comments_limit'], true);(final , true)
Please confirm me if is ok or not :)

Advertisement: