Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 3 of 3
Goto page Previous  1, 2, 3
 
Reply with quote Download Post 
Post Re: [MOD] - OTF Gallery 
 
Why?

What is your fear?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: [MOD] - OTF Gallery 
 
Hi MG,

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




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [MOD] - OTF Gallery 
 
OK thank you .. ill probably give it a go then

Thanks and have a nice weekend MG  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [MOD] - OTF Gallery 
 
hiya,

There a small language error in otf_upload.php:

Code: [Download] [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: [Download] [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
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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   
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: [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> &bull; <!-- 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']);
}


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"),

 



 
FranckTHSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [MOD] - OTF Gallery 
 
Thank you very much for these suggestions. I'll add them on the first post.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 3 of 3
Goto page Previous  1, 2, 3


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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