Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification - Page 7 Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification - Page 7
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification

Started by Stramm, November 29, 2005, 05:05:42 PM

Previous topic - Next topic

0 Members and 12 Guests are viewing this topic.

eternaldrive

Hey Stramm have to say I like your mod alot, it has given my photo gallery added functionality (without having a forum). Is there anyway to add a pm link to the menu system (or have i stuffed up the installation somewhere).

Stramm

Quote from: eternaldrive on February 02, 2006, 12:20:59 PM
Hey Stramm have to say I like your mod alot, it has given my photo gallery added functionality (without having a forum). Is there anyway to add a pm link to the menu system (or have i stuffed up the installation somewhere).

I didn't consider that for necessary. To send PMs there are a lot of possibilities to blend in a send PM link after the usernames in comments, thumb view, profile etc.

To check email just use the PM status info (to be enabled in config -> performance settings  [I know, kinda missleading naming])

However it's very easy to change the menu and add eg. a 'View PMs' link

Stramm

Quote from: andrewshu329 on January 24, 2006, 08:16:08 PM
Hi Stramm,
Can you please mark in the files where you made modifications? Im working with a modified version and that would help alot.
Thanks

tell me what's not working. Despite a lil modification to show the pm/ buddy quickstats in template.html all seems to work

edit: ahhh, ok, found what you meant... the my_friends template error when you're not logged in. Please use the attached theme.php
You still need to add the gfx to your themes images directory and you'll need to update the css file

brambond

Really nice mod Stramm! only one question: I uploaded my watermark and it is shown on my photo's, but the edges aren't sharp and on a dark background there are white pixels around the edges...
Can you/someone tell me how I can make my picture sharp and smooth (e.g. the options which I should enable in photoshop or someting)

I appreciate your help! thanks in advance!

Stramm


brambond


Stramm

open the file include/picmgmnt.inc.php, find
ImageCopyMerge($dst_img,$logoImage,$src_x,$src_y,0,0,$logoW,$logoH,$CONFIG['watermark_transparency']); //$dst_x,$dst_y,0,0,$logoW,$logoH);
//ImageCopy($dst_img,$logoImage,$src_x,$src_y,0,0,$logoW,$logoH); //$dst_x,$dst_y,0,0,$logoW,$logoH);


replace with
//ImageCopyMerge($dst_img,$logoImage,$src_x,$src_y,0,0,$logoW,$logoH,$CONFIG['watermark_transparency']); //$dst_x,$dst_y,0,0,$logoW,$logoH);
ImageCopy($dst_img,$logoImage,$src_x,$src_y,0,0,$logoW,$logoH); //$dst_x,$dst_y,0,0,$logoW,$logoH);


now the transparency setting in config has no function anymore. If you want the watermark to be transparent against the background, then reduce layer transparency to eg. 50 in your paint proggy

brambond

Thanks Stramm, it works :D

I only have one question: Now my watermark pic isn't transparant at all, but I would like to have the white corners of my watermark picture to be transparant. (as you can see in my watermark-link above), the corners don't belong to the logo.

How can I do that? Thanks for your help!

Stramm

in your paint proggy make white transparent, save as png with transparency...

n3n

I checked the option for watermarking both files in the config, but it only watermarks the intermediate picture ? How can i fix this ?
And would it be possible to have different watermark files for the intermediate and fullsize picture ?

Stramm

link?
do you use the latest version?
and please tell me all watermark related settings

n3n

tnx for the quick reply. i'm using the version from the attachment in the first post.
Also using the laters coppermine

www.grafflix.org/flix
Watermark image: yes
Where to place the watermark: bottom right
Which files to watermark: Both
Which file to use for watermark: /home/web/MyUsername/flix/albums/watermarks/watermark.png
Transparency 0-100 for entire image: 40
Set color transparent x (GD2 only): 0
Set color transparent y (GD2 only): 0


Tnx for the help

Stramm

OK, had a look but wasn't able to upload a test pic due to your settings... but doesn't matter. I've seen that the first pic you've uploaded has a watermark on fullsized
http://www.grafflix.org/flix/displayimage.php?album=lastup&cat=0&pos=81

so my guess is that you've switched to 'only intermediate' and later again (after the uploads) to 'both'... just recreate the fullsized images with the admin tools... hope this helps. New uploads always have your current settings applied

n3n

Hi, tried it, but didnt have any effect. What pics do have the fullsize watermark ? can't find any
Ill make you an account later, maybe that would help.


n3n

Hi stramm, got another question if you don't mind.
It doesnt regard this problem, but your oranje template.
I wanted to change the sidebar menu by replacing the links with images. But when
I copy the code from the sample theme, like i would do normally the menu doesn't show up, just the flags for the menu.
What should i do to change the appearance of the menu ?

Your theme is really nice btw :)

n3n

Hmm, problem seems to be fixed  ??? Have no idea how, what or why, but it works :)

Tnx for the help.

If you have the time please checkout my post above.

Stramm

Quote from: n3n on February 18, 2006, 07:03:26 PM
Hi stramm, got another question if you don't mind.
It doesnt regard this problem, but your oranje template.
I wanted to change the sidebar menu by replacing the links with images. But when
I copy the code from the sample theme, like i would do normally the menu doesn't show up, just the flags for the menu.
What should i do to change the appearance of the menu ?

Your theme is really nice btw :)

hmm, for the oranje theme I'd copy the function theme_main_menu and then look for eg.
        '{HOME_LNK}' => $lang_main_menu['home_lnk'],

and replace it with eg.
        '{HOME_LNK}' => "<img src='themes/oranje/images/home.gif' alt='Home' border='0' width='100' height='20'>",

do similar for all menu entries you want to replace with images

oh... and nice to hear the watermark stuff is working ;)

n3n

Tnx again man, worked perfectly :D
Very nice mod, watermarking is done quite fast.

n3n

Is anyone experiencing problems with report to admin when using bridged coppermine ?

Stramm

Quote from: n3n on February 20, 2006, 07:35:02 PM
Is anyone experiencing problems with report to admin when using bridged coppermine ?

are you talking about the oranje theme? If yes, then please post in the theme's thread. Makes it far easier ;)