Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 ... 3 4 5 6 [7] 8 9   Go Down

Author Topic: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification  (Read 290100 times)

0 Members and 1 Guest are viewing this topic.

eternaldrive

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #120 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).
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #121 on: February 02, 2006, 12:29:24 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #122 on: February 04, 2006, 05:23:42 am »

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
« Last Edit: February 04, 2006, 05:35:23 am by Stramm »
Logged

brambond

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #123 on: February 09, 2006, 03:13:39 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #124 on: February 09, 2006, 03:43:21 pm »

a link to such a pic please and do you use GD2?

brambond

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #125 on: February 10, 2006, 02:57:03 pm »

Yeah, I use GD2.

Here a link to my watermark picture: http://www.raregaste.nl/fotoalbum/watermerk.png

Hope you can help :) thanks in advance!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #126 on: February 10, 2006, 03:15:29 pm »

open the file include/picmgmnt.inc.php, find
Code: [Select]
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
Code: [Select]
//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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #127 on: February 10, 2006, 05:37:15 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #128 on: February 10, 2006, 07:01:41 pm »

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

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #129 on: February 17, 2006, 01:41:09 pm »

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 ?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #130 on: February 17, 2006, 02:45:45 pm »

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

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #131 on: February 18, 2006, 04:30:30 am »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #132 on: February 18, 2006, 08:57:06 am »

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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #133 on: February 18, 2006, 02:18:42 pm »

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.

Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #134 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 :)
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #135 on: February 18, 2006, 08:20:57 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #136 on: February 18, 2006, 09:18:57 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.
Code: [Select]
        '{HOME_LNK}' => $lang_main_menu['home_lnk'],
and replace it with eg.
Code: [Select]
        '{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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #137 on: February 19, 2006, 05:17:17 pm »

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

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #138 on: February 20, 2006, 07:35:02 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #139 on: February 20, 2006, 07:56:33 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 ;)
Pages: 1 ... 3 4 5 6 [7] 8 9   Go Up
 

Page created in 0.026 seconds with 20 queries.