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 ... 8 9 10 11 [12] 13 14 15 16 ... 26   Go Down

Author Topic: Permanant watermark with undo possibility (GD2+IM working!) + better admin tools  (Read 386675 times)

0 Members and 2 Guests are viewing this topic.

Elwood J. Blues

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Eymard.net

Hello,

How can I add the username on the picture and the watermark ?

Thanks


PS : Sorry for my poor English, I'm French....
Logged
Avant de poser une question passez par ici . 90% des réponses s'y trouvent !

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

That's not a feature of this mod. You'll have to code it.

Elwood J. Blues

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Eymard.net

ok thank you  ;)
Logged
Avant de poser une question passez par ici . 90% des réponses s'y trouvent !

toe

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Hi,

first I must say that I love the idea of watermarks and the way you're helping us :)

I tried to get the watermarks work but I came to a problem.

I've changed and uploaded all the files I had to. In the gallery setting i have the 'image watermarking'. If i set it to yes and save the setting, those setting return to previous where the watermarking was set to 'no' even though i have saved them.

Does any of you know what's wrong?

I was thinking the thing could be the language. Instead of changing the english one i've changed slovenian. Could that be it?
After this problem I also changed the english file, but my gallery setting wont let me switch the language so I can't check if it works there.

Thanks for your help
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Quote
Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php

toe

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Thanks! Took me some time to figure out what actually means to run updat.php but i did it. It works perfect now :D

Logged

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

I have installed the maintenance release cpg1.4.12 and it removed the watermark functionality. It doesn't show up in the config screen anymore and new images are not getting watermarked. Is there a fix?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #227 on: September 09, 2007, 08:58:35 am »

If you overwrite modded files with fresh, unmodded ones, then of course you'll have to reapply the code changes. That's the downside of modding. Upgrading's getting harder.
You could use the modpack. It contains the watermark mod as well as a bunch of other ones. It's premodded code. You upgrade as usual, then you upload the modpack (as you did with your original CPG files) and run again update.php.

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #228 on: September 09, 2007, 08:40:39 pm »

If you overwrite modded files with fresh, unmodded ones, then of course you'll have to reapply the code changes. That's the downside of modding. Upgrading's getting harder.
You could use the modpack. It contains the watermark mod as well as a bunch of other ones. It's premodded code. You upgrade as usual, then you upload the modpack (as you did with your original CPG files) and run again update.php.

That is what I did but I got the error in the next reply ->

Logged

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

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

Template error
Failed to find block 'my_friends'(#(<!-- BEGIN my_friends -->)(.*?)(<!-- END my_friends -->)#s) in :

                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN home -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END home -->
<!-- BEGIN my_gallery -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}">{MY_PROF_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END my_profile -->
<!-- BEGIN faq -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END faq -->

<!-- BEGIN leave_admin_mode -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftup" src="themes/hardwired/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END upload_pic -->
<!-- BEGIN register -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END register -->

<!-- BEGIN logout -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
                                                <a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END logout -->
                                </tr>
                        </table>

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

Logged

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

This is after I run update.php (which is already in the directory. Your mod doesn't have one in it, right?) and I get the following:

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

 
Performing Database Updates
CREATE TABLE IF NOT EXISTS cpg1410_sessions ( session_id varchar(40) NOT NULL default '', user_id int(11) default '0', time int(11) default NULL, remember int(1) default '0', PRIMARY KEY (session_id) ) TYPE=MyISAM COMMENT='Used to store sessions' OK
CREATE TABLE IF NOT EXISTS cpg1410_filetypes ( extension char(7) NOT NULL default '', mime char(30) default NULL, content char(15) default NULL, KEY extension (extension) ) TYPE=MyISAM COMMENT='Used to store the file extensions' OK
ALTER TABLE `cpg1410_filetypes` DROP INDEX `EXTENSION`, ADD PRIMARY KEY ( `extension` ) Already Done
ALTER TABLE `cpg1410_filetypes` ADD `player` VARCHAR( 5 )  Already Done
INSERT INTO cpg1410_filetypes VALUES ('jpg', 'image/jpg', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jpeg', 'image/jpeg', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jpe', 'image/jpe', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('gif', 'image/gif', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('png', 'image/png', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('psd', 'image/psd', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('bmp', 'image/bmp', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jpc', 'image/jpc', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jp2', 'image/jp2', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jpx', 'image/jpx', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('jb2', 'image/jb2', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('swc', 'image/swc', 'image', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('iff', 'image/iff', 'image', '') Already Done
UPDATE cpg1410_config SET value='ALL' WHERE name='allowed_img_types' OK
INSERT INTO cpg1410_filetypes VALUES ('asf', 'video/x-ms-asf', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('asx', 'video/x-ms-asx', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mpg', 'video/mpeg', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mpeg', 'video/mpeg', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('wmv', 'video/x-ms-wmv', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('swf', 'application/x-shockwave-flash', 'movie', 'SWF') Already Done
INSERT INTO cpg1410_filetypes VALUES ('avi', 'video/avi', 'movie', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mov', 'video/quicktime', 'movie', 'QT') Already Done
INSERT INTO cpg1410_config VALUES ('allowed_mov_types', 'ALL') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mp3', 'audio/mpeg3', 'audio', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('midi', 'audio/midi', 'audio', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mid', 'audio/midi', 'audio', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('wma', 'audio/x-ms-wma', 'audio', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('wav', 'audio/wav', 'audio', 'WMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('ogg', 'audio/ogg', 'audio', '') Already Done
INSERT INTO cpg1410_config VALUES ('allowed_snd_types', 'ALL') Already Done
INSERT INTO cpg1410_filetypes VALUES ('ram', 'audio/x-pn-realaudio', 'document', 'RMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('ra', 'audio/x-realaudio', 'document', 'RMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('rm', 'audio/x-realmedia', 'document', 'RMP') Already Done
INSERT INTO cpg1410_filetypes VALUES ('tiff', 'image/tiff', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('tif', 'image/tif', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('doc', 'application/msword', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('txt', 'text/plain', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('rtf', 'text/richtext', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('pdf', 'application/pdf', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('xls', 'application/excel', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('pps', 'application/powerpoint', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('ppt', 'application/powerpoint', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('zip', 'application/zip', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('rar', 'application/rar', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('gz', 'application/gz', 'document', '') Already Done
INSERT INTO cpg1410_filetypes VALUES ('mdb', 'application/msaccess', 'document', '') Already Done
INSERT INTO cpg1410_config VALUES ('allowed_doc_types', 'ALL') Already Done
UPDATE cpg1410_filetypes SET player='WMP' WHERE extension IN ('asf','asx','mpg','mpeg','wmv','avi','mp3','midi','mid','wma','wav') OK
UPDATE cpg1410_filetypes SET player='QT' WHERE extension IN ('mov') OK
UPDATE cpg1410_filetypes SET player='RMP' WHERE extension IN ('ra','ram','rm') OK
UPDATE cpg1410_filetypes SET player='SWF' WHERE extension IN ('swc','swf') OK
ALTER TABLE cpg1410_comments add msg_raw_ip tinytext Already Done
ALTER TABLE cpg1410_comments add msg_hdr_ip tinytext Already Done
ALTER TABLE cpg1410_pictures add pic_raw_ip tinytext Already Done
ALTER TABLE cpg1410_pictures add pic_hdr_ip tinytext Already Done
INSERT INTO cpg1410_config VALUES ('thumb_use', 'any') Already Done
INSERT INTO cpg1410_config VALUES ('show_private', '0') Already Done
INSERT INTO cpg1410_config VALUES ('first_level', '1') Already Done
INSERT INTO cpg1410_config VALUES ('display_film_strip', '1') Already Done
INSERT INTO cpg1410_config VALUES ('display_film_strip_filename', '0') Already Done
INSERT INTO cpg1410_config VALUES ('max_film_strip_items', '5') Already Done
INSERT INTO cpg1410_config VALUES ('read_iptc_data', '0') Already Done
INSERT INTO cpg1410_config VALUES ('display_uploader', '0') Already Done
INSERT INTO cpg1410_config VALUES ('display_filename','0') Already Done
INSERT INTO cpg1410_config VALUES ('reg_notify_admin_email', '0') Already Done
INSERT INTO cpg1410_config VALUES ('disable_comment_flood_protect', '0') Already Done
INSERT INTO cpg1410_config VALUES ('upl_notify_admin_email', '0') Already Done
INSERT INTO cpg1410_config VALUES ('language_list', '0') Already Done
INSERT INTO cpg1410_config VALUES ('language_flags', '0') Already Done
INSERT INTO cpg1410_config VALUES ('theme_list', '0') Already Done
INSERT INTO cpg1410_config VALUES ('language_reset', '1') Already Done
INSERT INTO cpg1410_config VALUES ('theme_reset', '1') Already Done
INSERT INTO cpg1410_config VALUES ('offline', '0') Already Done
INSERT INTO cpg1410_config VALUES ('vanity_block','1') Already Done
INSERT INTO cpg1410_config VALUES ('allow_memberlist', '0') Already Done
INSERT INTO cpg1410_config VALUES ('display_faq', '0') Already Done
INSERT INTO cpg1410_config VALUES ('views_in_thumbview', '1') Already Done
INSERT INTO cpg1410_config VALUES ('show_bbcode_help', '1') Already Done
INSERT INTO cpg1410_config VALUES ('log_ecards', '0') Already Done
INSERT INTO cpg1410_config VALUES ('email_comment_notification', '0') Already Done
INSERT INTO cpg1410_config VALUES ('enable_zipdownload', '1') Already Done
INSERT INTO cpg1410_config VALUES ('debug_notice', '0') Already Done
INSERT INTO cpg1410_config VALUES ('slideshow_interval', '5000') Already Done
INSERT INTO cpg1410_config VALUES ('log_mode', '0') Already Done
INSERT INTO cpg1410_config VALUES ('media_autostart', '1') Already Done
INSERT INTO cpg1410_config VALUES ('enable_encrypted_passwords','0') Already Done
ALTER TABLE `cpg1410_categories` ADD `thumb` INT NOT NULL AFTER `parent`  Already Done
ALTER TABLE `cpg1410_albums` ADD `keyword` VARCHAR( 50 ) NOT NULL  Already Done
CREATE TABLE cpg1410_banned ( ban_id int(11) NOT NULL auto_increment, user_id int(11) DEFAULT NULL, ip_addr tinytext, expiry datetime DEFAULT NULL, PRIMARY KEY (ban_id) ) TYPE=MyISAM Already Done
CREATE TABLE cpg1410_exif ( `filename` varchar(255) NOT NULL default '', `exifData` text NOT NULL, UNIQUE KEY `filename` (`filename`) ) TYPE=MyISAM Already Done
CREATE TABLE cpg1410_ecards ( eid int(11) NOT NULL auto_increment, sender_name varchar(50) NOT NULL default '', sender_email text NOT NULL, recipient_name varchar(50) NOT NULL default '', recipient_email text NOT NULL, link text NOT NULL, date tinytext NOT NULL, sender_ip tinytext NOT NULL, PRIMARY KEY (eid) ) TYPE=MyISAM COMMENT='Used to log ecards' Already Done
ALTER TABLE `cpg1410_usergroups` ADD `upload_form_config` TINYINT(4) DEFAULT '3' NOT NULL Already Done
ALTER TABLE `cpg1410_usergroups` ADD `custom_user_upload` TINYINT(4) DEFAULT '0' NOT NULL Already Done
ALTER TABLE `cpg1410_usergroups` ADD `num_file_upload` TINYINT(4) DEFAULT '5' NOT NULL Already Done
ALTER TABLE `cpg1410_usergroups` ADD `num_URI_upload` TINYINT(4) DEFAULT '3' NOT NULL Already Done
CREATE TABLE IF NOT EXISTS `cpg1410_temp_data` ( `unique_ID` CHAR( 8 ) NOT NULL , `encoded_string` BLOB NOT NULL , `timestamp` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY ( `unique_ID` ) ) TYPE = MYISAM COMMENT = 'Holds temporary file data for multiple file uploads' OK
UPDATE `cpg1410_config` SET value='classic' WHERE (name='theme' AND value='default') OK
DELETE FROM `cpg1410_filetypes` WHERE mime='text/html' OK
UPDATE `cpg1410_config` SET value='$/\\\\:*?"\'<>|` &' WHERE name='forbiden_fname_char' OK
ALTER TABLE `cpg1410_users` CHANGE user_lang user_group_list varchar(255) NOT NULL default '' Already Done
ALTER TABLE cpg1410_pictures DROP INDEX `owner_id` OK
ALTER TABLE cpg1410_pictures DROP INDEX `owner_id_2` Already Done
ALTER TABLE cpg1410_pictures ADD INDEX owner_id( `owner_id` ) OK
ALTER TABLE cpg1410_pictures ADD `galleryicon` INT UNSIGNED DEFAULT '0' NOT NULL AFTER `approved` Already Done
ALTER TABLE `cpg1410_pictures` ADD `lasthit_ip` TINYTEXT  Already Done
CREATE TABLE `cpg1410_favpics` ( `user_id` INT( 11 ) NOT NULL , `user_favpics` TEXT NOT NULL , PRIMARY KEY ( `user_id` ) ) COMMENT = 'Stores the server side favourites' Already Done
CREATE TABLE cpg1410_dict ( keyId bigint(20) NOT NULL auto_increment, keyword varchar(60) NOT NULL default '', PRIMARY KEY (keyId) ) TYPE=MyISAM COMMENT = 'Holds the keyword dictionary' Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_location` `user_profile1` VARCHAR(255) Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_interests` `user_profile2` VARCHAR(255) Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_website` `user_profile3` VARCHAR(255) Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_occupation` `user_profile4` VARCHAR(255) Already Done
ALTER TABLE `cpg1410_users` ADD `user_profile5` varchar(255) default '' NOT NULL Already Done
ALTER TABLE `cpg1410_users` ADD `user_profile6` varchar(255) default '' NOT NULL Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_password` `user_password` VARCHAR( 40 ) NOT NULL default '' OK
INSERT INTO cpg1410_config VALUES ('user_profile1_name', 'Location') Already Done
INSERT INTO cpg1410_config VALUES ('user_profile2_name', 'Interests') Already Done
INSERT INTO cpg1410_config VALUES ('user_profile3_name', 'Website') Already Done
INSERT INTO cpg1410_config VALUES ('user_profile4_name', 'Occupation') Already Done
INSERT INTO cpg1410_config VALUES ('user_profile5_name', '') Already Done
INSERT INTO cpg1410_config VALUES ('user_profile6_name', 'Biography') Already Done
INSERT INTO cpg1410_config VALUES ('language_fallback', '0') Already Done
INSERT INTO cpg1410_config VALUES ('time_offset', '0') Already Done
ALTER TABLE `cpg1410_users` CHANGE `user_profile6` `user_profile6` TEXT NOT NULL OK
ALTER TABLE `cpg1410_albums` ADD `alb_password` varchar(32) default '' Already Done
INSERT INTO cpg1410_config VALUES ('ban_private_ip', '0') Already Done
INSERT INTO cpg1410_config VALUES ('smtp_host', '') Already Done
INSERT INTO cpg1410_config VALUES ('smtp_username', '') Already Done
INSERT INTO cpg1410_config VALUES ('smtp_password', '') Already Done
INSERT INTO cpg1410_config VALUES ('enable_plugins', '1') Already Done
CREATE TABLE cpg1410_plugins ( plugin_id int(10) unsigned NOT NULL auto_increment, name varchar(64) NOT NULL default '', path varchar(128) NOT NULL default '', priority int(10) unsigned NOT NULL default '0', PRIMARY KEY (plugin_id), UNIQUE KEY name (name), UNIQUE KEY path (path) ) TYPE=MyISAM COMMENT='Stores the plugins' Already Done
INSERT INTO cpg1410_config VALUES ('enable_help', '2') Already Done
INSERT INTO cpg1410_config VALUES ('allow_email_change', '0') Already Done
INSERT INTO cpg1410_config VALUES ('show_which_exif', '|0|0|0|0|0|0|0|0|1|0|1|1|0|0|0|0|0|0|0|0|0|0|0|1|0|0|0|1|0|0|0|1|1|0|0|0|0|1|0|0|0|1|0|0|1|1|0|0|0|0|0|1|0|1|1') Already Done
Logged

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

INSERT INTO cpg1410_config VALUES ('alb_desc_thumb', '1') Already Done
ALTER TABLE `cpg1410_albums` ADD `alb_password_hint` TEXT  Already Done
INSERT INTO cpg1410_config VALUES ('categories_alpha_sort', '0') Already Done
ALTER TABLE `cpg1410_banned` ADD `brute_force` TINYINT( 5 ) DEFAULT '0' NOT NULL  Already Done
INSERT INTO cpg1410_config VALUES ('login_threshold', '5') Already Done
INSERT INTO cpg1410_config VALUES ('login_expiry', '10') Already Done
INSERT INTO cpg1410_config VALUES ('clickable_keyword_search', '1') Already Done
INSERT INTO cpg1410_config VALUES ('link_pic_count', '0') Already Done
ALTER TABLE cpg1410_pictures ADD position INT(11) DEFAULT '0' NOT NULL Already Done
INSERT INTO cpg1410_config VALUES ('auto_resize', '0') Already Done
CREATE TABLE cpg1410_bridge ( name varchar(40) NOT NULL default '0', value varchar(255) NOT NULL default '', UNIQUE KEY name (name) ) TYPE=MyISAM Already Done
INSERT INTO cpg1410_bridge VALUES ('short_name', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('license_number', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('db_database_name', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('db_hostname', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('db_username', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('db_password', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('full_forum_url', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('relative_path_of_forum_from_webroot', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('relative_path_to_config_file', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('logout_flag', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('use_post_based_groups', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('cookie_prefix', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('table_prefix', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('user_table', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('session_table', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('group_table', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('group_relation_table', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('group_mapping_table', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('use_standard_groups', '1') Already Done
INSERT INTO cpg1410_bridge VALUES ('validating_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('guest_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('member_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('admin_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('banned_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('global_moderators_group', '') Already Done
INSERT INTO cpg1410_bridge VALUES ('recovery_logon_failures', '0') Already Done
INSERT INTO cpg1410_bridge VALUES ('recovery_logon_timestamp', '') Already Done
INSERT INTO cpg1410_config VALUES ('bridge_enable', '0') Already Done
CREATE TABLE cpg1410_vote_stats ( `sid` int(11) NOT NULL auto_increment, `pid` varchar(100) NOT NULL default '', `rating` smallint(6) NOT NULL default '0', `ip` varchar(20) NOT NULL default '', `sdate` bigint(20) NOT NULL default '0', `referer` text NOT NULL, `browser` varchar(255) NOT NULL default '', `os` varchar(50) NOT NULL default '', PRIMARY KEY (`sid`) ) Already Done
INSERT INTO cpg1410_config VALUES ('vote_details', '0') Already Done
CREATE TABLE cpg1410_hit_stats ( `sid` int(11) NOT NULL auto_increment, `pid` varchar(100) NOT NULL default '', `ip` varchar(20) NOT NULL default '', `search_phrase` varchar(255) NOT NULL default '', `sdate` bigint(20) NOT NULL default '0', `referer` text NOT NULL, `browser` varchar(255) NOT NULL default '', `os` varchar(50) NOT NULL default '', PRIMARY KEY (`sid`) ) Already Done
INSERT INTO cpg1410_config VALUES ('hit_details', '0') Already Done
INSERT INTO cpg1410_config VALUES ('browse_batch_add', '1') Already Done
INSERT INTO cpg1410_config VALUES ('custom_header_path', '') Already Done
INSERT INTO cpg1410_config VALUES ('custom_footer_path', '') Already Done
INSERT INTO cpg1410_config VALUES ('comments_sort_descending', '0') Already Done
INSERT INTO cpg1410_config VALUES ('report_post', '0') Already Done
INSERT INTO cpg1410_config VALUES ('users_can_edit_pics', '0') Already Done
INSERT INTO cpg1410_config VALUES ('allow_unlogged_access', '1') Already Done
INSERT INTO cpg1410_config VALUES ('home_target', 'index.php') Already Done
DELETE FROM cpg1410_config WHERE `name` = 'comment_email_notification' OK
DELETE FROM cpg1410_config WHERE `name` = 'hide_admin_uploader' OK
INSERT INTO cpg1410_config VALUES ('custom_lnk_name', '') Already Done
INSERT INTO cpg1410_config VALUES ('custom_lnk_url', '') Already Done
INSERT INTO cpg1410_config VALUES ('comments_anon_pfx', 'Guest_') Already Done
DELETE FROM cpg1410_config WHERE `name` = 'admin_activate' OK
INSERT INTO cpg1410_config VALUES ('admin_activation', '0') Already Done
ALTER TABLE cpg1410_pictures CHANGE `mtime` `mtime` DATETIME OK
DELETE FROM cpg1410_exif OK
DELETE FROM cpg1410_config WHERE `name` = 'randpos_interval' OK
ALTER TABLE cpg1410_pictures DROP INDEX `randpos` Already Done
ALTER TABLE cpg1410_pictures DROP `randpos` Already Done
ALTER TABLE `cpg1410_pictures` CHANGE `mtime` `mtime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' OK
ALTER TABLE `cpg1410_albums` CHANGE `description` `description` TEXT NOT NULL OK
INSERT INTO cpg1410_config (name, value) values ('enable_unsharp', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('unsharp_amount', '120') Already Done
INSERT INTO cpg1410_config (name, value) values ('unsharp_radius', '0.5') Already Done
INSERT INTO cpg1410_config (name, value) values ('unsharp_threshold', '3') Already Done
INSERT INTO cpg1410_config (name, value) values ('thumb_height', '140') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_watermark', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('where_put_watermark', 'southeast') Already Done
INSERT INTO cpg1410_config (name, value) values ('watermark_file', 'images/watermark.png') Already Done
INSERT INTO cpg1410_config (name, value) values ('which_files_to_watermark', 'both') Already Done
INSERT INTO cpg1410_config (name, value) values ('orig_pfx', 'orig_') Already Done
INSERT INTO cpg1410_config (name, value) values ('watermark_transparency', '40') Already Done
INSERT INTO cpg1410_config (name, value) values ('reduce_watermark', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('watermark_transparency_featherx', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('watermark_transparency_feathery', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_mini_thumbs', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('mini_thumb_width', '60') Already Done
INSERT INTO cpg1410_config (name, value) values ('mini_thumb_height', '60') Already Done
INSERT INTO cpg1410_config (name, value) values ('mini_pfx', 'mini_') Already Done
INSERT INTO cpg1410_config (name, value) values ('mini_as_category_lead', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_user_notification', '0') Already Done
ALTER TABLE cpg1410_users ADD auto_subscribe_post tinyint(4) NOT NULL DEFAULT 1 Already Done
ALTER TABLE cpg1410_users ADD auto_subscribe_comment tinyint(4) NOT NULL DEFAULT 1 Already Done
CREATE TABLE IF NOT EXISTS cpg1410_notify ( user_id INT(10) UNSIGNED NOT NULL DEFAULT 0, picture_id INT(10) UNSIGNED NOT NULL DEFAULT 0, mail_sent TINYINT(4) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (user_id, picture_id) ) TYPE=MyISAM OK
INSERT INTO cpg1410_config (name, value) values ('enable_avatar', '0') Already Done
ALTER TABLE cpg1410_users ADD avatar_url varchar(255) NOT NULL default '' Already Done
CREATE TABLE IF NOT EXISTS cpg1410_pms ( id INT(10) NOT NULL AUTO_INCREMENT, owner int(10) NOT NULL DEFAULT '0', subject VARCHAR(120) NOT NULL DEFAULT '', message TEXT, sender VARCHAR(120) NOT NULL DEFAULT '', sender_id int(10) NOT NULL DEFAULT '0', posted INT(10) NOT NULL DEFAULT '0', sender_ip VARCHAR(120), smileys TINYINT DEFAULT '1', status TINYINT DEFAULT '0', showed TINYINT DEFAULT '0', replied TINYINT DEFAULT '0', PRIMARY KEY (id) ) TYPE=MyISAM OK
ALTER TABLE cpg1410_users ADD user_pmsmail tinyint(4) NOT NULL DEFAULT 1 Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_enabled', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_messages', '200') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_enable_email', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_make_links', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_date_format', 'l dS of F Y ') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_time_format', 'h:i:s') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_smilies', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_post_flood', '30') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_message_bbcode', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('pms_message_img_tag', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('display_buddy_status', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('display_pms_status', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_custom_thumbs', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_thumb_watermark', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_buddy', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_buddy_email', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_buddy_private_view', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('buddy_enhanced_display', '1') Already Done
ALTER TABLE cpg1410_users ADD enable_admin_email tinyint(4) NOT NULL DEFAULT 1 Already Done
CREATE TABLE IF NOT EXISTS `cpg1410_buddy_req` ( `id` int(11) NOT NULL auto_increment, `buddy_from` int(11) NOT NULL default '0', `buddy_to` int(11) NOT NULL default '0', `since` int(11) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM OK
CREATE TABLE IF NOT EXISTS `cpg1410_buddy` ( `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `buddy_id` int(11) NOT NULL default '0', `buddy_ok` enum('YES','NO') NOT NULL default 'NO', `buddy_block` enum('YES','NO') NOT NULL default 'NO', `since` int(11) NOT NULL default '0', PRIMARY KEY (`id`,`user_id`) ) TYPE=MyISAM OK
INSERT INTO cpg1410_config (name, value) values ('fast_stats', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_stats', '1') Already Done
INSERT INTO cpg1410_config (name, value) values ('enable_loginform', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('info_block_align', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('display_pic_voting', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('display_pic_rating', '0') Already Done
INSERT INTO cpg1410_config (name, value) values ('lang_autodetect', '1') Already Done
INSERT INTO cpg1410_bridge (name, value) values ('avatar_path', '') Already Done

Upgrade completed
It's recommended to check your file versions if you just upgraded from an older version of coppermine.
If you didn't (or you don't want to check), you can go to your gallery's start page

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

To make it work again I upload the security update and run update.php again but then I obviously don't have your watermark mod.

Thanks,
zoti
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #232 on: September 09, 2007, 08:48:35 pm »

If you've questions related to the modpack, then ask on the modpack support forum... even better search before posting cause your 'problem' has been asked and answered before

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

I did search but maybe I'm not using the right search terms. Can you point me in the direction of the answer to this problem?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #234 on: September 09, 2007, 09:29:39 pm »

the sticky thread in the modpack board
How/What to change to a theme to be 100% operational?

zoti

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

Are you sure we are talking about the same problem?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #236 on: September 10, 2007, 07:34:43 am »

yes, ask on the modpack board...

dke

  • Guest
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #237 on: September 22, 2007, 06:29:48 pm »

Quote
Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php

now have a look at your coppermine config. You'll need to modify the path to the watermark. Preset is a file watermark.png in the coppermine images folder. If that doesn't work for you, use the absolute path to the watermark image

uhm, that's what i did and i see exactly nothing new in the config.

however in your next post you post alot of changes, so im very confused, and i suppose to do all the other changes also?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #238 on: September 22, 2007, 07:05:09 pm »

you edited the english (US) lange file... then you need to switch to english US to see the config entries

and yes, you need to do all the edits.. are apply the modpack (pre edited files)

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4850
    • Windsurf.me

Hi.

I've just tried applying this mod (installed using your superb modpack) and no watermark shows up.

I've run update.php, enabled watermarking for both and uploaded an image to images/watermark.php

I've not run admin tools but just uploaded a new file (http://www.windsurf.me.uk/cpg133/albums/userpics/10002/normal_IMG_5862.jpg) and now watermark appears.

If I can get this working I think thiss would be a superb mod, it is a shame a user cannot have the option to add the watermark to his pictures during uploading with the default no as that would really fit with my siet well.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: 1 ... 8 9 10 11 [12] 13 14 15 16 ... 26   Go Up
 

Page created in 0.034 seconds with 20 queries.