Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 19 Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 19
 

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]

Main Menu

Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs...

Started by Stramm, February 24, 2006, 01:34:35 PM

Previous topic - Next topic

0 Members and 6 Guests are viewing this topic.

rongxanhnet


Stramm

Quote from: Dr Preacox on June 10, 2006, 10:26:11 AM
I was looking around, and I was wondering if its possible that people on your buddy list get emails or pms when say I upload a pic, or vise versa,

no, there's no built in function for that

Stramm


Dr Preacox

Quote from: Stramm on June 10, 2006, 08:48:38 PM
no, there's no built in function for that

I was wondering if you could aid me in making this :) I can probably code it but I might need some guidance, if you dont mind, if your busy dont worry about it :)

Thanxs, Sam
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Stramm

hmm... look in picmgmnt.inc.php
here I've added a part of the function for 'notification on comments'. If a user uploads a file, then he's on the 'notification' list (no emails sent before a comment). You probably can learn from that function and somewhere there add your own that just reads the buddy list and sends out emails to the posters buddies (maybe a good idea to combine it with some profile switch to enable/ disable that behaviour)
oh, how to call the mail function... for the notification on comments it's in db_input.php

Dr Preacox

This is working well, once I have finished and got the code debugged, I'll add it here for everyone
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Steffen

Uhm... I also can't get the watermark-feature to work, even though I tried out what was discussed here.

Situation is following:
-Installed the latest coppermine-version today, tested, worked ok.
-Installed the latest version of Stramm's mod, but after configuring the settings, realized that watermark-function doesn't work.

-I switched to english language and used both templates Stramm delivered with the mod to avoid having a non-working template
-I tried both batch upload and single/web upload, after that set the folders and images to 666, 755, 777, didn't work.
-Checked that the path to watermark.png works (chmod to 666, 777 as well), tried absolute and relative path (./images/watermark.png and /home/strato/www/ag/www.xyz.de/htdocs/zero/images/watermark.png) - yes, I'm using Strato as provider.
Means I only have GD1-support. I heard there's a possibility to use GD2 using a .htaccess-file, would this be worth a try? But it should work with GD1...
-I also checked if it's a caching problem, but there's no watermark, whatever I do.
-Tried another batch run with the admin tools, no success.

Currently, I'm clueless. Any advice what else I might try?

Also, another problem I have with the tentacle-template mod, the filmstrip and the exif data isn't displayed properly (only 1 pixel height it seems). Anyone stumbled over this bug? (I didn't change anything in the source code)

Oh and hm, if I'm allowed to ask that question here, too: On Stramm's sandbox, there's kind of a shopping cart/payment mod for purchasing pictures. Is that a public mod or a commercial one? Or asked differently; where may I obtain it? ;)

Stramm

The watermark only works with GD2 and Image Magick. GD1 is kinda relict. Still supported by CPG but not by the modpack. That's mentioned in the first post in this thread
Quote-Watermark (transparent) with undo possibility (GD2, ImageMagick)

Steffen

Damn! Sorry, I somehow must have missed that somehow :(
Okay, then I'll have a look for this possibility to use GD2 on a Strato-Server. Grrr...

(Thanks for the quick reply by the way!)

tibu

Quote from: Steffen on June 15, 2006, 11:34:50 PM
Oh and hm, if I'm allowed to ask that question here, too: On Stramm's sandbox, there's kind of a shopping cart/payment mod for purchasing pictures. Is that a public mod or a commercial one? Or asked differently; where may I obtain it? ;)

It's a plugin available to everyone, you can find it here: http://forum.coppermine-gallery.net/index.php?topic=32231.0

JCMoD

I´m very sorry that i didnt read the whole thread ... 19 pages...

I hope my probleme wasnt told before...


I really love your modpack and the tantacle Theme is fantastic...

but as setting it up as the default theme, everytime i look it up, it has been changed to "fruity"

Whats the problem

Thx already vor your help

JCMoD

Stramm

clear your cookie... just setting a theme as default not necessarily changes the theme for all users if they have set a valid cookie. Not modpack related though but a general coppermine behaviour

ymca

Hi Stamm,

There is a problem in the subscribtions/subscriptions.
i think that if a user uploads 10 pics & delete 9 it will show him that he has a subscription of 10

ymca

so how do i add translation for it?
Quote from: Stramm on June 09, 2006, 07:38:55 AM
For PM and buddylist no lang fallback options are available.
Same for admin and the welcome/ login box on top

The english UK / US ... better ask that on the CPG support forum, but I'd say simply cause there are differences

Stramm

Quote from: ymca on June 19, 2006, 11:06:38 AM
Hi Stamm,

There is a problem in the subscribtions/subscriptions.
i think that if a user uploads 10 pics & delete 9 it will show him that he has a subscription of 10

can't reproduce your problem. Please try to be more specific. Tell me exactly what you're doing.
I've uploaded 5 pics and deleted 4 of them using 'edit files' next to the album I uploaded the pics into. Then I called the subscription manager and that user was subscribed to one pic... as it should be

how to translate... I've described that 2 times somewhere in this thread

ymca


Stramm

Quote from: Stramm on June 19, 2006, 02:39:25 PM
can't reproduce your problem. Please try to be more specific. Tell me exactly what you're doing.

ymca

Ok...

i think i know what is the problem...
its a problem that was at the begining that no one told me how to solve & now it came back & bite me in the ass.

1) i created a test user.
2) test uploaded a pic.
3) admin approved it.
4) admin deleted the pic.
4.5) pic attach shows the problem that i think is making the new problem.
5) subscription still 1 pic.

Stramm

my bad
in delete.php find
//$query = "DELETE FROM {$CONFIG['TABLE_NOTIFY']} WHERE picture_id='$pid'";
    //$result = db_query($query);

and replace with
$query = "DELETE FROM {$CONFIG['TABLE_NOTIFY']} WHERE picture_id='$pid'";
    $result = cpg_db_query($query);


the pics that are still in the notify table and didn't get wiped out need to be removed manually

docgonzo

Quote from: farhan on March 02, 2006, 11:50:56 PM
what modifications do i need to do to the theme to show Mini thumbs in film strips ?

thanks for the wonderfull mod :)

Hi there, i know it's a bit late, but i cannot seem to find the sample theme that is referred to in the answer to your post.
Could you please share how you solved it?
I'd like to use minithumbs in my theme too.