Why?
What is your fear? :LOL:
[MOD] - OTF Gallery
Subject: Re: [MOD] - OTF Gallery
Hi MG,
No real fear but i ask because it not the newest thread :mryellow:
No real fear but i ask because it not the newest thread :mryellow:
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.
Subject: Re: [MOD] - OTF Gallery
OK thank you .. ill probably give it a go then
Thanks and have a nice weekend MG :wink:
Thanks and have a nice weekend MG :wink:
Subject: Re: [MOD] - OTF Gallery
hiya,
There a small language error in otf_upload.php:
the fix would be to replace the above with:
-----------------------------------------------
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 :wink:
Greetings,
..Joshua103
There a small language error in otf_upload.php:
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');
}
{
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:
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']);
}
{
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 :wink:
Greetings,
..Joshua103
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. :mri:
I will fix in my local copy even though I doubt I will update this mod, since so few people are interested in it. :mri:
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?
Any hint on where to look anyone?
Subject: Re: [MOD] - OTF Gallery
I think this is a reasonable period to start bumping :oops: :LOL:
Joshua203 wrote: [View Post]
I think this is a reasonable period to start bumping :oops: :LOL:
Subject: Re: [MOD] - OTF Gallery
Really nice mod icy, thanks :wink:
I have just change some smalls modifications
Open styles/prosilver/template/overall_header.html
Find :
Before add :
Open otf_gallery.php
Find :
After add :
Open language/en/common.php
Find :
After add :
Open includes/functions.php
Find :
After add :
I have just change some smalls modifications
Open styles/prosilver/template/overall_header.html
Find :
Code: [Download] [Hide] [Select]
<a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
Before add :
Code: [Download] [Hide] [Select]
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><a href="{U_OTF_GALLERY}">{L_OTF_GALLERY}</a> • <!-- ENDIF -->
Open otf_gallery.php
Find :
Code: [Download] [Hide] [Select]
$user->setup();
After add :
Code: [Download] [Hide] [Select]
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN']);
}
{
login_box('', $user->lang['LOGIN']);
}
Open language/en/common.php
Find :
Code: [Download] [Hide] [Select]
'OPTIONS' => 'Options',
After add :
Code: [Download] [Hide] [Select]
'OTF_GALLERY' => 'OTF Gallery',
Open includes/functions.php
Find :
Code: [Download] [Hide] [Select]
'U_FAQ' => append_sid("{$phpbb_root_path}faq.$phpEx"),
After add :
Code: [Download] [Hide] [Select]
'U_OTF_GALLERY' => append_sid("{$phpbb_root_path}otf_gallery.$phpEx"),
Subject: Re: [MOD] - OTF Gallery
Thank you very much for these suggestions. I'll add them on the first post.
Page 3 of 3
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.9699s (PHP: 2% SQL: 98%)
SQL queries: 16 - Debug Off - GZIP Enabled