News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Search results for: delete comment

Search order
#1
......  for this software. I would like to eliminate the comment menu, any suggestions? Thanks in advance. ......
......   // CPMFETCH COMMANDS BETWEEN THE ===== LINES AND COMMENT OUT ANY LINES OF CODE YOU DON'T NEED USING //  / ............  and any others will not be seen. Rename them or delete if you wish to use other setup files.  ......
......  nouvelle version le plus rapidement possible.  Comment faire la mise à jour: Les utilisateurs des  ............  sur la sécurité: Correction de la fonction 'delete all comments' dans les propriétés des albums  ......
......  need help figuring out how to stop the "spam" comments.  We have the Askimet plug-in and it has stopped  ............ ,000 "spam" comments. We have turned off new registrations, and have  ............  comments to registered users. Notwithstanding this,  ............  are still thousands of comments for me to delete. As these comments do not  ............ , and to try to figure out how to stop the "spam" comments. I'd love to turn the comment feature back on,  ............  for guests, but to try to prevent automated comments, etc.  If you can help, please contact me via  ......
......  prefer that you take my themes off this site & delete the attachments that I put with both of my theme  ............ , so why should we keep the corresponding comment in the code? Added some comment lines like <!--  ......
......  will be open for non-registered visitors to comment ... but I checked that both anonymous comments  ............  registeres users' comments can be deleted or edited by anybody, registered  ............  not ... How do I make the edit and delete actions just allowed to the administrator      ......
......  a bad word exists, I just want the comment to disappear completely (or simply not be  ............   So, rather than just starring out the bad words, delete the post instead.  Any ideas on where I can code  ......
......  the following hooks: add_file_data_success after_delete_file before_delete_file post_breadcrumb  ............  thread.  Changelog: Fixed default page when comments are sorted in descending order (thread) Fixed  ............  when bridged (thread) Added charsetmgr.php to the delete files array (thread) Fixed admin email address  ............ ) Removed declaration of function 'cpg_folder_file_delete' from update.php (thread) Fixed spelling of  ............  a MySQL engine - use the server default. Fixed comment approval when editing comments (thread) Add  ......
...... .css   Make a backup just in case.   On line 535 delete or comment out this line,  Code Select Expand  ......
#10
......  error  Code Select Expand While executing query 'DELETE FROM `xxx`.cpg133_sessions WHERE time <  ............  int(1) default '0',  PRIMARY KEY (session_id) ) COMMENT='Used to store sessions'; Beim erneuten Aufruf  ............  NULL default '0',  PRIMARY KEY (ban_id) ) COMMENT='Data about banned users'; Beim erneuten Aufruf  ............ ` TEXT NOT NULL , PRIMARY KEY ( `user_id` ) ) COMMENT = 'Stores the server side favourites'; Beim  ......
......  couldn't replicate the problem. The ability to delete posts is based on the writers IP-address. I am  ............  and the IP-address is always 127.0.0.1 so i can delete every anonymous comment... Anyway, maybe the  ......
......  want that everybody can vote for photos och post comments but the cookie stops voting more than once on  ............  cookie setting. Also, if one player have posted a comment other not inlogged visitors can edit or delete it. ......
#13
......  have to be changed first into lower case to be deleted, since they are saved as lower-case in the  ............  of keywords make your app slower. You can always delete synonym and plural kwds afterwards in the kwd  ............  and hyphens removed (works for clicking). Comment out the behavior you don't want in this part of  ......
......  users to be able to Reset album info like views comments... I want to remove this part from page. and  ............  i dont want Reset view counter Reset votes Delete comments and description box on page. what code  ............  i have to remove or comment out?  ......
......  an Anonymous user. Whenever someone adds a comment to a picture, anyone is able to change / delete  ............  other comments (since they are all anonymous posts). Is there  ............  this behaviour and have anonymous just POST a comment and not being able to modify or delete it anymore  ......
#16
cpg1.4 plugins / Photoshop with Paypal plugin
November 27, 2006, 03:52:05 PM by julala
...... { that needs moving down to the next line when you comment out the code otherwise it stops working)   ............  that they do not wish to complete the order and delete it.  It's terribly crude but works for me.  Why  ......
#17
cpg1.5 themes (visuals) / keyword mgr link
December 05, 2013, 10:35:01 AM by brynn
...... , 8, even 10 keywords for each image!  So my first comment is sort of a feature request. Could the CPG  ............  keywords, although I doubt that many people will delete all their keywords. So I enabled clickable  ............  that I can easily access the Keyword Manager and delete them myself. Here's the problem!  If I type url/ ......
......  disabled by default when installing.  3. Tried to delete the SQL table as mentioned in this post http:// ............ => 'Administrators,Registered,Anonymous',  'comment' => 'Administrators,Registered,Anonymous',   ......
......  all,  I know that after installation you must delete "install.php" for any CMS but often that does not  ............  - error=http://devilbat.fileave.com/zfxid1.txt?  Comment:  Caught! It seems that finally the fish has the  ......
......  gallery so i guess the only way to stop him is to delete any comment he posts but is there a better way to  ......
...... , 2 also last names). Coppermine allows users to delete their accounts, but that does not affect  ............  no hook for user deletion.  Known Issues Editing comments doesn't work when plugin_facebookauth_show_names  ............ . Workaround: uncheck 'Allow users to edit their comments'.  Demo If you want to try it out, go to http:// ............ , then click on "Login via facebook" link below comment section. You can delete your account afterwards  ......
...... -Spam. The listing is called "Remove Edit and Delete from Comments", however the link leads to the  ............ -gallery.net/index.php/topic,60626.0.html  Remove Comment Edit - http://forum.coppermine-gallery.net/index. ......
#23
cpg1.5 miscellaneous / Comment removal
August 05, 2010, 07:43:17 PM by imgr8
......  Coppermine. In COppermine 1.4.x there used to be comment moderation where all the comments used to appear  ............  spam I have to go to each invidual pic and hit delete button. Is there any easier way because today I  ............  to remove about 200 comments and its very time consuming  ......
...... , you shouldn't delete the plugins table but the shop plugin entry.  ............  (name),  UNIQUE KEY path (path) ) TYPE=MyISAM COMMENT='Stores the plugins'; ......
#25
cpg1.5 miscellaneous / Re: MASS DELETE USERS!
December 13, 2014, 11:28:37 AM by allvip
......  on December 12, 2014, 07:47:11 PMI wanted to delete all users.  1) To delete all inactive users that  ............  end after }:  Code Select Expand cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_active =  ............  < NOW() - INTERVAL 24 HOUR");  Will not delete users that registered in the last 24 hours.  If  ............  change in the code above NO to YES, will delete all users from all groups included Admin, even  ............  that uploaded or commented on your gallery.  2) To delete all users from  ............  end after }   Code Select Expand cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_group = ' ............ . Change 2 with the value of the group you want to delete.  Will not delete users that registered in the  ............  24 hours.  Will delete all users from Registered groups, even users that  ............  or commented on your gallery.  I do know how to do it if  ............  activated their account, but never uploaded or commented on your gallery. It should work with if pic  ............  and comment count is 0 or if Space used/Quota is 0 then:   ............  Select Expand cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_active =  ......
...... 't work, edit codebase.php with a text editor and comment out the marked line or delete it. ......
#27
...... ', '); ?> on <?php the_time('F jS, Y'); ?> | <?php comments_popup_link('No Comments ', '1 Comment ', '%  ............ : http://rhyswakefield.net/pictures) before I delete the old one from the ftp? So that I don't have  ......
#28
cpg1.6 plugin contributions / Re: Suppressor Plugin
November 09, 2025, 11:59:30 AM by 406man
......  panhead – thanks for your comment. It's good to know that someone out there is  ............  ? Including the exact URL would be helpful. Delete the domain name if you don't want to display it  ......
#29
cpg1.4 upload / Upload to albums - error.
July 12, 2009, 02:36:49 PM by ericer
...... ] => 5  [num_URI_upload] => 3  [can_post_comments] => 1  [can_upload_pictures] => 1  [ ............  FROM cpg14xen_filetypes; (0.004s)  [1] => delete from `ma3x15`.cpg14xen_sessions where time< ............  and remember=0; (0s)  [2] => delete from `ma3x15`.cpg14xen_sessions where time< ............ (num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures)  ............  WHERE user_id = 1 (0.002s)  [12] => DELETE FROM cpg14xen_banned WHERE expiry < '2009-07-12  ............  GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB  ......
#30
cpg1.5 miscellaneous / Re: IP Logging
October 15, 2012, 09:30:02 PM by Jeff Bailey
...... ******************** ** Section <<<$template_image_comments>>> - START ************************************** ............ *************/ // HTML template for the display of comments $template_image_comments = <<<EOT <table align=" ............ }</strong>  <a name="comment{MSG_ID}"></a>&nbsp; <!-- BEGIN ipinfo --> <!--  ............ " align="right" width="100%"> <!-- BEGIN report_comment_button -->  <a href=" ............ .php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}">{ ............ }</a> <!-- END report_comment_button --> <!-- BEGIN pending approval -->   ............  </script>  <a href="delete.php?msg_id={MSG_ID}&amp;what=comment&amp; ............ ={TIMESTAMP}" onclick="return confirm('{CONFIRM_DELETE}');" title="{DELETE_TITLE}">{DELETE_ICON}</a> <!-- ............ ="nowrap">  <span class="comment_date">[{MSG_DATE}]</span>  </ ............  <input type="hidden" name="event" value="comment_update" />  <input  ............  <input type="hidden" name="event" value="comment_update" />  <input  ............ ******************** ** Section <<<$template_image_comments>>> - END **************************************** ............ ************************* ** Section <<<theme_html_comments>>> - START ************************************** ............ *************************************/ // Displays comments for a specific picture function  ............ , $HTML_SUBST;  global $template_image_comments, $template_add_your_comment, $ ............ = Inspekt::makeSuperCage();  $template_add_your_comment = CPGPluginAPI::filter('theme_add_comment', $ ............ );  $template_image_comments = CPGPluginAPI::filter('theme_edit_comment', $ ............ ) {  template_extract_block($template_image_comments, 'report_comment_button');  }   if (!$ ............ ['enable_smilies']) {  $tmpl_comment_edit_box = template_extract_block($ ............ ');  template_extract_block($template_image_comments, 'edit_box_smilies');   ............ ($template_add_your_comment, 'input_box_smilies');  } else {  $ ............  = template_extract_block($template_image_comments, 'edit_box_smilies', '{EDIT}');   ............ ($template_image_comments, 'edit_box_no_smilies');   ............ ($template_add_your_comment, 'input_box_no_smilies');  }    $ ............  = template_extract_block($template_image_comments, 'buttons', '{BUTTONS}');  $ ............  = template_extract_block($template_image_comments, 'ipinfo', '{IPINFO}');   if ($CONFIG[' ............ '] == 1) {  $comment_sort_order = 'DESC';  } else {  $ ............ ("SELECT COUNT(msg_id) FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'");  list($num) =  ............ );   if ($num) {   $limit = $CONFIG['comments_per_page'];  $max = ceil($num/$limit);    ............ $page = max(0, $page);  } else if ($CONFIG['comments_sort_descending'] == 1) {  $page = 1;  ............ "tableh2"><div style="float: left">'.$lang_display_comments['comment'].' '.sprintf($lang_display_comments[' ............  echo '<div style="float: right">'.$lang_display_comments['page'].': ';  $links = array();    ............ "displayimage.php?pid=' . $pid . '&amp;page='.$i.'#comments_top">'.$i.'</a>';  }  }    ............ , msg_hdr_ip, pid, approval FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid' ORDER BY msg_id $ ............  && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS) || (!USER_ID && USER_CAN_POST_COMMENTS && ($ ............   if (($user_can_edit != '' && $CONFIG['comment_user_edit'] != 0) || (GALLERY_ADMIN_MODE)) {   ............  $comment_buttons = $tmpl_comments_buttons;   ............ $comment_edit_box = $tmpl_comment_edit_box;  }  ............  {  $comment_buttons = '';  $comment_edit_box =  ............ '';  }  $comment_ipinfo = ($row['msg_raw_ip'] &&  ............ )?$tmpl_comments_ipinfo : '';  $hide_comment = 0;    ............  // comment approval  $pending_approval = '';   ............  $pending_approval = cpg_fetch_icon('comment_disapprove_disabled', 0) . '<a href="reviewcom. ............ }&amp;what=approve" title="' . $lang_display_comments['approve'] . '">' . cpg_fetch_icon(' ............ }&amp;what=disapprove" title="' . $lang_display_comments['disapprove'] . '">' . cpg_fetch_icon(' ............ ', 0) . '</a>' . cpg_fetch_icon('comment_approve_disabled', 0);  }   ............  if ($row['approval'] == 'NO') { // the comment is not approved - start  if ($ ............ ) { // the comment comes from the current visitor, display it with a  ............  $pending_approval = cpg_fetch_icon('comment_approval', 0, $lang_display_comments[' ............ ']);  } else { // the comment comes from someone else - don't display it at all  ............  if ($CONFIG['comment_placeholder'] == 0) {   ............ $hide_comment = 1;  } else {   ............  $row['msg_author'] = $lang_display_comments['unapproved_comment'];   ............  $row['msg_body'] = $lang_display_comments['pending_approval_message'];   ............  }  }  } // the comment is not approved - end  } // user or  ............  if ($CONFIG['enable_smilies']) {  $comment_body = process_smilies(make_clickable($row[' ............ 'msg_body');  } else {  $comment_body = make_clickable($row['msg_body']);   ............  = '';  }   // wrap the comment into italics if it isn't approved  if ( ............ $row['approval'] == 'NO') {  $comment_body = '<em>'.$comment_body.'</em>';   ............ ();  $params = array('{EDIT}' => &$comment_edit_box,  '{BUTTONS}' => &$ ............ ,  '{IPINFO}' => &$comment_ipinfo,  '{PENDING_APPROVAL}' => &$ ............  $template = template_eval($template_image_comments, $params);   if ($row['author_id'] ==  ............ ,  '{EDIT_TITLE}' => &$lang_display_comments['edit_title'],  '{DELETE_TITLE}' = ............ > &$lang_display_comments['delete_title'],  '{DELETE_ICON}'  ............ => cpg_fetch_icon('delete', 0),  '{EDIT_ICON}' =>  ............ ('edit', 0),  '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'],   ............ }' => localised_date($row['msg_date'], $lang_date['comment']),  '{MSG_BODY}' => bb_decode($ ............  '{SMILIES}' => $smilies,  '{REPORT_COMMENT_TITLE}' => &$lang_display_comments[' ............ '],  '{REPORT_COMMENT_ICON}' => cpg_fetch_icon('report', 0),   ............ ,  );   if ($hide_comment != 1) {  $html .= template_eval($ ............  $html .= $tabs;  }  if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {   ............  template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);   ............  } else {  $user_name = $lang_display_comments['your_name'];  }  }    ............  (($CONFIG['comment_captcha'] == 0) || ($CONFIG['comment_captcha'] ==  ............  template_extract_block($template_add_your_comment, 'comment_captcha');  } else {   ............ $template_add_your_comment = CPGPluginAPI::filter('captcha_comment_print', $ ............ ();  $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],   ............  // Modified Name and comment field  '{NAME}' => $ ............ ['name'],  '{COMMENT}' => $lang_display_comments['comment'],   ............   '{DEFAULT_USERNAME}' => $lang_display_comments['your_name'],  '{ ............ }' => $lang_display_comments['default_username_message'],  '{ ............  template_extract_block($template_add_your_comment, 'smilies');  }    ............ ($template_add_your_comment, 'login_to_comment');  if ($CONFIG[' ............  $html = '<br />'.template_eval($template_add_your_comment, $params).$html;  } else {  $ ............  .= template_eval($template_add_your_comment, $params);  }  } else { // user can not  ............  comments  if ($CONFIG[' ............ '] == 1 && $CURRENT_ALBUM_DATA['comments'] == 'YES') {  template_extract_block( ............ $template_add_your_comment, 'user_name_input');  if ($CONFIG[' ............  template_extract_block($template_add_your_comment, 'input_box_smilies');  } else {   ............  template_extract_block($template_add_your_comment, 'input_box_no_smilies');  }   ............  template_extract_block($template_add_your_comment, 'comment_captcha');   ............ ($template_add_your_comment, 'smilies');  template_extract_block($ ............  'submit');  $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],   ............ 'picture_table_width'],  '{LOGIN_TO_COMMENT}' => sprintf($lang_display_comments[' ............ => '',  );  if ($CONFIG['comments_sort_descending'] == 1) {  $html = ............  '<br />'.template_eval($template_add_your_comment, $params).$html;  } else {   ............  $html .= template_eval($template_add_your_comment, $params);  }  }  }    ............ ************************* ** Section <<<theme_html_comments>>> - END **************************************** ............   cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ............ , approval, spam) VALUES ('$pid', '{$CONFIG['comments_anon_pfx']}$msg_author', '$msg_body', NOW(), '{$ ............   cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ............  //cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ............ , approval, spam) VALUES ('$pid', '{$CONFIG['comments_anon_pfx']}$msg_author', '$msg_body', NOW(), '{$ ............   cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ............ , approval, spam) VALUES ('$pid', '{$CONFIG['comments_anon_pfx']}$msg_author', '$msg_body', NOW(), '{$ ............  //cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ............   cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date,  ......