[ABD] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam

[ABD] Auto Image Resizer w Lytebox - phpBB 3.0.1 GOLD

Post by darkera13 »

phpBB Part: Forum
MOD Name: Auto Image Resizer
MOD Version: 1.3.0 Beta
Author: darkera13
MOD Description: This mod fix the bug of Image

Image

Change log:

2007-07-05 - Version 1.0.1

Code: Select all

        *  Add lang variable to common.php 
        *  Change file: styles/*/templates/over_header.html 
        *  Change file: styles/*/templates/imageResize.js
2007-07-07 - Version 1.1.0

Code: Select all

        *  Optimize script auto image resize(reduce size) and combine with Lytebox. Seperate language variable.
        *  And the error of method "onload" call on tag "img" solved when you check your site by W3C validate tool.
2007-07-16 - Version 1.2.0

Code: Select all

        *  Updated Lytebox library from 3.1.0 to 3.2.0.
2008-04-17 - Version 1.3.0

Code: Select all

        *  Updated Lytebox library from 3.2.0 to 3.2.2.
        *  Add ACP control
ATTACHMENT IMAGE

PROSILVER
OPEN

Code: Select all

styles/prosilver/template/attachment.html
FIND

Code: Select all

<dt><a href="{_file.U_DOWNLOAD_LINK}">
REPLACE WITH

Code: Select all

<dt><a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">
FIND

Code: Select all

<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
REPLACE WITH

Code: Select all

<dt><a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a></dt>
SUBSILVER2
OPEN

Code: Select all

styles/subsilver2/template/attachment.html
FIND

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
			<a href="{_file.U_DOWNLOAD_LINK}">
REPLACE WITH

Code: Select all

<!-- IF _file.S_THUMBNAIL -->
			<a href="{_file.U_DOWNLOAD_LINK}" rel="lytebox">
FIND

Code: Select all

<!-- IF _file.S_IMAGE -->
			<img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" />
REPLACE WITH

Code: Select all

<!-- IF _file.S_IMAGE -->
			<a href="{_file.U_INLINE_LINK}" rel="lytebox" class="image-resize"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /></a>

LYTEBOX BBCODE :

Group Images :

Code: Select all

[glytebox={TEXT2}]{TEXT1}[/glytebox]

Code: Select all

<a href="{TEXT1}" rel="lytebox[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt="" 
/></a>
{TEXT2} is group name
{TEXT1} is link to image

Slide Show Images:

Code: Select all

[slytebox={TEXT2}]{TEXT1}[/slytebox]

Code: Select all

<a href="{TEXT1}" rel="lyteshow[{TEXT2}]" title="" class="image-resize"><img src="{TEXT1}" alt="" /></a>
{TEXT2} is group name
{TEXT1} is link to image

Frame:

Code: Select all

[flytebox={TEXT2}]{TEXT1}[/flytebox]

Code: Select all

<a href="{TEXT2}" rel="lyteframe" title="{TEXT2}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>
{TEXT2} is link to target
{TEXT1} is title

Frame Group:

Code: Select all

[fglytebox={TEXT3},{TEXT1}]{TEXT2}[/fglytebox]

Code: Select all

<a href="{TEXT3}" rel="lyteframe[{TEXT2}]" title="{TEXT3}" rev="width: 700px; height: 500px; scrolling: yes;">{TEXT1}</a>
{TEXT3} is link to target
{TEXT2} is group name
{TEXT1} is title
Last edited by DavidIQ on Tue Feb 17, 2009 2:52 am, edited 23 times in total.
Reason: Marked as abandoned
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Post by saaiberke »

Nice mod. Thank you very much. :)

Can I send you a Dutch translation of the script?

Grtz,

Nic
internet1
Registered User
Posts: 77
Joined: Sun Apr 09, 2006 9:11 am

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Post by internet1 »

link dead :cry:
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Post by darkera13 »

internet1 wrote:link dead :cry:
Check your internet connect, it live now.
carmelomvp
Registered User
Posts: 85
Joined: Sun Sep 10, 2006 1:37 pm

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by carmelomvp »

Hi I installed the mod and works fine, but you can tell me how install the mod using the templete serenity?please this mod is very important for me. Thanks

The skin is here: http://www.phpbb.com/community/viewtopi ... 345&hilit=
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by darkera13 »

Do same action for prosilver. Repalce the url path to prosilver template by serenity and edit theme.
User avatar
okada1314
Registered User
Posts: 209
Joined: Sat Oct 29, 2005 10:51 am
Location: HK

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by okada1314 »

carmelomvp wrote:Hi I installed the mod and works fine, but you can tell me how install the mod using the templete serenity?please this mod is very important for me. Thanks

The skin is here: http://www.phpbb.com/community/viewtopi ... 345&hilit=
try it

Code: Select all

#
#-----[OPEN]-----
#
styles/serenity/template/overall_header.html
#
#-----[FIND]-----
#
</head>

#
#-----[BEFORE ADD]-----
#
<script type="text/javascript" src="{T_TEMPLATE_PATH}/imageResize.js"></script>
<script type="text/javascript" >
NcodeImageResizer.MODE = 'newwindow';
NcodeImageResizer.IMAGE = '{T_THEME_PATH}/images/img_warn.gif';
NcodeImageResizer.MAXWIDTH = 640;
NcodeImageResizer.MAXHEIGHT = 0;
</script>

#
#-----[OPEN]-----
#
serenity/template/bbcode.html
#
#-----[FIND]-----
#

<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" /><!-- END img -->

#
#-----[Replace With]-----
#

<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" onload="NcodeImageResizer.createOn(this);" /><!-- END img -->
WBASS
Registered User
Posts: 77
Joined: Thu Sep 21, 2006 11:09 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by WBASS »

Hmm..great i need it but not in all my forums :| how can i use it in specifique forums???
searchforme
Registered User
Posts: 47
Joined: Wed May 23, 2007 7:13 pm

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by searchforme »

thanks once again darkera13.. once again you come thru wit great thangs to share 8-)

& this works great for me as well :!:
saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium

Re: [BETA] Auto Image Resizer 1.0.0 for phpBB 3.0 RC2

Post by saaiberke »

saaiberke wrote: Can I send you a Dutch translation of the script?
Grtz,

Nic
User avatar
Algore
Registered User
Posts: 294
Joined: Tue Oct 24, 2006 10:19 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by Algore »

I installed this mod but it had no effect at all

Nor to the previous posted images nor to the new ones

I did the ones written in the .xml file
Uploaded 2 files
edited 3 file

Help pls
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by darkera13 »

Algore wrote:I installed this mod but it had no effect at all

Nor to the previous posted images nor to the new ones

I did the ones written in the .xml file
Uploaded 2 files
edited 3 file

Help pls
Refresh template and theme on Styles Section in ACP please. All of here instlled success.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by lefty74 »

very nice mod darkera13
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
Algore
Registered User
Posts: 294
Joined: Tue Oct 24, 2006 10:19 am

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by Algore »

I refreshed it and i use ur skin darkgreen

I tried in FF2 and IE7

No change ( NO effect at all )
User avatar
darkera13
Registered User
Posts: 91
Joined: Sun Jun 03, 2007 7:12 pm
Location: Ha Noi, Viet Nam

Re: [BETA] Auto Image Resizer 1.0.1 for phpBB 3.0 RC2

Post by darkera13 »

Algore wrote:I refreshed it and i use ur skin darkgreen

I tried in FF2 and IE7

No change ( NO effect at all )
Check your install step by step or try reinstall it on localhost. No one has any problem with this mod.

Return to “[3.0.x] Abandoned MODs”