[MOD] - OTF Gallery »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - [MOD] - OTF Gallery



Mighty Gorgon [ Sat 23 Oct, 2010 12:16 ]
Post subject: Re: [MOD] - OTF Gallery
Why?

What is your fear?


Joshua203 [ Sat 23 Oct, 2010 12:21 ]
Post subject: Re: [MOD] - OTF Gallery
Hi MG,

No real fear but i ask because it not the newest thread


Mighty Gorgon [ Sat 23 Oct, 2010 12:24 ]
Post subject: Re: [MOD] - OTF Gallery
This MOD is almost stand alone, if you don't install the "Upload Image" part you can just use the Gallery with no files edits (if I remember correct). There should be no risk.


Joshua203 [ Sat 23 Oct, 2010 13:16 ]
Post subject: Re: [MOD] - OTF Gallery
OK thank you .. ill probably give it a go then

Thanks and have a nice weekend MG


Joshua203 [ Mon 22 Nov, 2010 16:48 ]
Post subject: Re: [MOD] - OTF Gallery
hiya,

There a small language error in otf_upload.php:

Code: [Hide] [Select]
if($file_size > $maxsize)
{
trigger_error($user->lang['UPLOAD_FAILURE'] . '<br /><br />' . $user->lang['UPLOAD_FAILURE_TOO_BIG'] . '<br /><br />' . $user->lang['MAX_ALLOWED_SIZE'] . floor($maxsize / 1024) . 'SIZE_KB');
}

the fix would be to replace the above with:
Code: [Hide] [Select]
if($file_size > $maxsize)
{
trigger_error($user->lang['UPLOAD_FAILURE'] . '<br /><br />' . $user->lang['UPLOAD_FAILURE_TOO_BIG'] . '<br /><br />' . $user->lang['MAX_ALLOWED_SIZE'] . floor($maxsize / 1024) . $user->lang['SIZE_KB']);
}

-----------------------------------------------

There's also a bug where the file redirects to the page containig this same text, i'm still looking for the reason why and where this goes wrong, this window has the size of the popup but has the normal overall header included, making it bigger than the window it is shown in)

------------------------------------------------

also in otf_copyright.html the flep.com link is dead... it should be flepstudio.org

------------------------------------------------

finally ... i think the version number is not updated ...in otf_config.php it says 1.5.0 where i think it should say 1.5.1

No hurry and unimportant but i just thought i should mention it before i forget

Greetings,
..Joshua103


Mighty Gorgon [ Sun 05 Dec, 2010 10:52 ]
Post subject: Re: [MOD] - OTF Gallery
Thanks for reporting.

I will fix in my local copy even though I doubt I will update this mod, since so few people are interested in it.


Joshua203 [ Wed 03 Aug, 2011 14:44 ]
Post subject: Re: [MOD] - OTF Gallery
I've never been able to find the fix where "Upload fail pages" open up with the wrong header ("overall" instead of "simple") described above.

Any hint on where to look anyone?


Joshua203 [ Sun 24 Jun, 2012 23:16 ]
Post subject: Re: [MOD] - OTF Gallery
Joshua203 wrote: [View Post]
I've never been able to find the fix where "Upload fail pages" open up with the wrong header ("overall" instead of "simple") described above.

Any hint on where to look anyone?

I think this is a reasonable period to start bumping


FranckTH [ Sun 01 Jun, 2014 12:33 ]
Post subject: Re: [MOD] - OTF Gallery
Really nice mod icy, thanks

I have just change some smalls modifications

Open styles/prosilver/template/overall_header.html

Find :
Code: [Hide] [Select]
<a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>


Before add :
Code: [Hide] [Select]
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><a href="{U_OTF_GALLERY}">{L_OTF_GALLERY}</a> &bull; <!-- ENDIF -->


Open otf_gallery.php

Find :
Code: [Hide] [Select]
$user->setup();


After add :
Code: [Hide] [Select]
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN']);
}


Open language/en/common.php

Find :
Code: [Hide] [Select]
'OPTIONS' => 'Options',


After add :
Code: [Hide] [Select]
'OTF_GALLERY' => 'OTF Gallery',


Open includes/functions.php

Find :
Code: [Hide] [Select]
'U_FAQ' => append_sid("{$phpbb_root_path}faq.$phpEx"),


After add :
Code: [Hide] [Select]
'U_OTF_GALLERY' => append_sid("{$phpbb_root_path}otf_gallery.$phpEx"),


Mighty Gorgon [ Mon 23 Jun, 2014 21:58 ]
Post subject: Re: [MOD] - OTF Gallery
Thank you very much for these suggestions. I'll add them on the first post.




Powered by Icy Phoenix