BBCodeBox3

prosilver | subsilver2

Willkommen und Guten Tag, Guest  Beim nächsten Piep ist es zwischen 13:00 und 14:00 Uhr

It is currently Sun 23. Feb 2025, 14:58

All times are UTC + 1 hour [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Mon 28. Sep 2009, 15:54 
Administrator
User avatar

Posts: 427

Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...

Joined:
Sun 13. Jan 2008, 23:44

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:

Attachment:

Attachment:

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:
       <!-- 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:
             <!-- 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:
          <!-- 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:
          <!-- 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:
 <!-- 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 -->


Top
 Profile  
 
PostPosted: Fri 28. May 2010, 22:12 
Administrator
User avatar

Posts: 427

Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...

Joined:
Sun 13. Jan 2008, 23:44

[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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
POWERED_BY
[ Time : 0.016s | 19 Queries | GZIP : Off | Board-Version: 3.0.7 PL1 ]