[OUTDATED] Advanced Attach Watermark v.0.1.2 + v.0.1.3 (en)

DEV-Area for phpBB 3.0.x

[OUTDATED] Advanced Attach Watermark v.0.1.2 + v.0.1.3 (en)

Postby 4seven » Mon 28. Sep 2009, 15:54 | Userzeit: +1.00 / Mo 28. Sep 2009, 16:54

Advanced Attach Watermark

MOD-Title: Advanced Attach Watermark
MOD-Version: 0.1.2
MOD-Autor: 4seven (Bugfixing, Redesign, Advanced)

Credits: Josh18657
Credits: Torstein Hønsi for higslide
Credits: Beta-Tester and Usability-Inspirator: Tim
Credits: Beta-Tester and English Language-File: jonnilaumann
Credits: MODX for v.0.1.3: jonnilaumann (see also tweak on the bottom of the post)

Note: Since the author did not write longer in [BETA]-Thread, i take over the development of this Mod. The Mod is bugfixed and completely re-designed.

MOD-Description: This Mod inserts a watermark in Attachment Pics

phpBB-Version: phpBB 3.0.x
phpBB-Languages: en, de
phpBB-Styles: prosilver, subsilver2

Download:

Advanced_Attach_Watermark_v_0_1_2.zip
(1015.03 KiB) Downloaded 340 times

Advanced_Attach_Watermark_v_0_1_3_en.zip
(927.88 KiB) Downloaded 420 times

Image in v.0.1.3 (en)

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

[dev] info und status

[fixed] clean, transparent watermarks without "black flashs"
[fixed] jpeg is now standard output-format (fixes the "encrease-file-size bug")
[fixed] compatibility for "multiple uploads mod" * (see bottom of thread for further info)
[fixed] code optimizing to increase performance and reduce server-load

[feature] quality of output jpg is variable
[feature] thumb-pics watermarking
[feature] watermark-size is dynamic (standard 50% of main-pic) to prevent a "little-watermark" on large pics, which makes it possible to easy stamp it away with photoshop etc.
[feature] backup-copy of original for each watermarked main-pic (standard = files/backup)
[feature] backup-copy of original for each thumb-pic (standard = files/backup)
[feature] auto-deleting of backup'ed thumb- and main-pics by deleting original post or attach

[feature] usage of true type fonts with adjustable size/color of text-watermarks

[feature] insertable genuine resize function (instead of the usual javascript client-side-resize-method, which makes the pic only "optically-smaller" )
[feature] standalone resize function
[feature] resize-function with/without watermark

[feature] convert-function [img]: the picture copied to " images/files/picname-syntax" and inserted in posting by click with [img] - tags.
[feature] convert-function [img] as standalone-feature
[feature] convert-function [img] with/without watermark

[feature] convert-function [highslide]: the picture copied to " images/files/picname-syntax" and inserted in posting by click with [highslide] - tags.
[feature] convert-function [highslide] as standalone-feature
[feature] convert-function [highslide] with/without watermark

[feature] acp orphan-function for [img] and [highslide] convert-mode. acp-deleting of thumb- and main-pics for orphaned [img] or [highslide] pics in deleted posts.

[feature] controlling all functions over ACP
[feature] radical redesign of structure and code-lines

[feature] afterward water-marking of present attach's (with backup)

[feature] compatibility for "multiple uploads mod" for [img] and [highslide] in convert-mode
[feature] compatibility for "multiple uploads mod" for watermarked [img] and [highslide] in convert-mode

[new feature] thumb-preview in postbox for [img] and [highslide] in both convert-modes and both standard-styles
[new feature] combining of "Attachment Watermark Function" with "Convert Function [img]" and "Convert Function [img_higslide]"

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

Newest ACP and Posting-Screens (en)

prosilver http://4seven.bplaced.net/pix/new_screens/a ... ver_en.png
subsilver2 http://4seven.bplaced.net/pix/new_screens/a ... er2_en.png
AeroBlue http://4seven.bplaced.net/pix/new_screens/a ... lue_en.png

ACP-Basics http://4seven.bplaced.net/pix/new_screens/a ... ics_en.png
ACP-Specials http://4seven.bplaced.net/pix/new_screens/a ... als_en.png

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

Demos

prosilver http://4seven.bplaced.net/phpbb3/posting.ph ... e=post&f=7
subsilver2 http://4seven.bplaced.net/phpbb3/posting.ph ... e=post&f=7
AeroBlue http://4seven.bplaced.net/phpbb3/posting.ph ... e=post&f=7

guest-access or username: test / pw: testuser

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

* multiple-uploads-mod

download > mutiple_upload_0.0.3.zip
download/file.php?id=87

upload bar for prosilver
http://www.phpbb.com/community/viewtopi ... 5#p9934415

read original thread for fixes etc.
http://www.phpbb.com/community/viewtopi ... 0&t=579645

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

Credits: jonnilaumann


parafun wrote:
Extra tweak with Higslide on Attachment and File Comment under Image when Zooming/Highslide:

Open: styles/prosilver/template/attachment.html

Find:
Code: Select all
       <!-- IF _file.S_THUMBNAIL -->
          <dl class="thumbnail">
             <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
             <!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
          </dl>
       <!-- ENDIF -->


Replace with:
Code: Select all
             <!-- IF _file.S_THUMBNAIL -->
                      <div class="highslide-gallery">
                       <a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this, { captionText: '<!-- IF _file.COMMENT -->{_file.COMMENT}<!-- ENDIF -->' } )"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a>
             <div class="highslide-caption"></div>
                      </div>
                <!-- IF _file.COMMENT -->{_file.COMMENT}<!-- ENDIF -->
             <!-- ENDIF -->




//////////////////////SUBSILVER2///////////////////////////
Open: styles/subsilver2/template/attachment.html:

Find:
Code: Select all
          <!-- IF _file.S_THUMBNAIL -->
             <a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" /></a><br />
             <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span>
          <!-- ENDIF -->


Replace with:
Code: Select all
          <!-- IF _file.S_THUMBNAIL -->
             <div class="highslide-gallery">
                <a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" class="highslide" onclick="return hs.expand(this, { captionText: '<!-- IF _file.COMMENT -->{_file.COMMENT}<!-- ENDIF -->' } )"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" /></a><br />
                <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span>
                <div class="highslide-caption"></div>
             </div>
          <!-- ENDIF -->



In Both Styles :
-styles/subsilver2/template/overall_header.html, before </head>
-styles/prosilver/template/overall_header.html, before </head>

Code: Select all
 <!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" or SCRIPT_NAME == "ucp" or SCRIPT_NAME == "search" -->
<script type="text/javascript" src="{ROOT_PATH}/highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="{ROOT_PATH}/highslide/highslide.css" />     
<script type="text/javascript">
           hs.graphicsDir = 'highslide/graphics/';
           hs.align = 'center';
           hs.transitions = ['expand', 'crossfade'];
           hs.fadeInOut = false;
           hs.dimmingOpacity = 0.75;
           hs.wrapperClassName = 'borderless';
           hs.captionOverlay.hideOnMouseOut = true;
           hs.marginLeft = 85;
           hs.marginBottom = 0;
           hs.marginTop = 0;
           hs.numberPosition = 'caption';

           // Adding the controlbar
           if (hs.addSlideshow) hs.addSlideshow({
              //slideshowGroup: 'group1',
              interval: 3000,
              repeat: false,
              useControls: true,
              fixedControls: true,
              overlayOptions: {
                 opacity: .6,
                 position: 'top center',
                 hideOnMouseOut: true
              },
              thumbstrip: {
                 position: 'middle left',
                 mode: 'vertical',
                 relativeTo: 'viewport'
              }
           });
</script>
<!-- ENDIF -->
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Mon 28. Sep 2009, 15:54 +1.00
Userzeit: Mo 28. Sep 2009, 16:54

Re: [DEV] Advanced Attach Watermark v.0.1.2 + v.0.1.3 (en)

Postby 4seven » Fri 28. May 2010, 22:12 | Userzeit: +1.00 / Mo 28. Sep 2009, 16:54

[DEV] Status v.0.1.4 (current: 90%)

To do:
- Finish coding (90%)
- Cleaning Code
- Make ModX (0 %)
- ModX Test Install (0%)

In progress:
- All-possibility-testings for all Working Modes(80%)

Newly added:
- Complete overworking ACP-Module
- ACP Color-Picker for all Text Color Modes (no inserting "by hand" anymore)
- ACP Font-Picker for Text Font Mode (no inserting "by hand" anymore)
- ACP Group-ID-Picker for Text Font Mode (no inserting "by hand" anymore)
- Make new ACP valid xhtml 1.0 strict
- Make all dev/test-hardcoded language-entrys to a new watermark lang file
- Mix of AAW Username- and AAW Private-Mode with Global Watermark
- User Switch to activate Global Watermark for all 3 Modes (attachment, img, img_highslide)
- Re-coding afterward module with new text engine
- Adding global on/off switches for Text-Watermarking in AAW Username- and AAW Private-mode
- Adding group-rights for Text-Watermarking in AAW Username- and AAW Private-mode
- Visual View of active Text- and Text-Background-Colors (see ACP Screens)
- Re-worked Language Files (en,de)
- AeroBlue style
- Optimize Usability for ACP

Allready added:
- AAW Username Mode
- AAW Private Mode
- AAW Watermark Info
- Full UTF8 Font-Support
- Textsize-Ratio addicted to img-width, instead of em or px
- Perfect Text Offset
- Complete New Text WM Engine
- subsilver2 style
- valid xhtml 1.0 strict (prosilver)
- valid 4.0.1 transitional (subsilver2)
- Optimize Usability for AAW Username- and AAW Private-Mode
- Optimized Main-Code

New ACP Screens:
Basics > http://4seven.bplaced.net/phpbb3/images/mods/aaw/basics.png
Specials > http://4seven.bplaced.net/phpbb3/images/mod ... ecials.png

Feel free to check it out:
Demo: http://4seven.bplaced.net/phpbb3/posting.ph ... &f=7&t=365
Results: http://4seven.bplaced.net/phpbb3/viewtopic.php?f=7&t=365
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Fri 28. May 2010, 22:12 +1.00
Userzeit: Mo 28. Sep 2009, 16:54


Return to [DEV] Mods for 3.0.x



Who is online

Users browsing this forum: No registered users and 0 guests

cron