#2717 closed enhancement (fixed)
管理画面で複数の書き込みを一括削除する機能
Reported by: | imamura623 | Owned by: | fukamachi |
---|---|---|---|
Priority: | minor | Milestone: | OpenPNE2.13.8 |
Component: | pne-admin | Version: | |
Keywords: | Cc: |
Description (last modified by )
■概要
複数の書き込み、コミュニティを一括削除する機能を追加したい。
■仕様
■関連情報
元のdescription
http://sns.openpne.jp/?m=pc&a=page_fh_diary&target_c_diary_id=17541 より転記
コミュニティのトピックやトピックのコメントを 100件以上スクリプトで投稿されても 1件づつ削除ボタンで消していくしかないのはかなりつらいです せめてチェックボックスで一斉削除できなければ と思いますが
Attachments (2)
Change History (17)
comment:1 Changed 13 years ago by
Milestone: | → OpenPNE2.14.0 |
---|
comment:2 Changed 13 years ago by
Owner: | changed from nobody to fukamachi |
---|---|
Status: | new → assigned |
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Keywords: | 確認中 added |
---|---|
Milestone: | OpenPNE2.14.0 → OpenPNE2.13.8 |
comment:6 Changed 13 years ago by
r11511で、必要なファイルだけをまとめました。
http://trac.openpne.jp/browser/OpenPNE/branches/work/fukamachi/select_delete
comment:8 follow-up: 9 Changed 13 years ago by
Keywords: | 差し戻し added; 確認中 removed |
---|
ハードタブ、インデントがずれています。
comment:9 Changed 13 years ago by
Keywords: | 確認中 added; 差し戻し removed |
---|
Replying to nagasawa:
ハードタブ、インデントがずれています。
r11519で、タブを半角スペースに変換しました。
また、空行に半角スペースが入っていたのでr11520で削除しました。
comment:10 follow-up: 11 Changed 13 years ago by
Keywords: | 差し戻し added; 確認中 removed |
---|
- 日記管理
- 日記コメント管理
- コミュニティ管理
- トピック・イベント管理
- トピック・イベントのコメント管理
- レビュー管理
- アルバム管理
の動作は確認しましたが、
- アルバム写真管理
同じアルバムの中の写真を複数選択し、削除の確認ボタンを押した後にWarningが表示される。
警告内容
( ! ) Warning: Missing argument 2 for db_album_delete_c_album_image(), called in /hogehoge/webapp/modules/admin/do/delete_c_album_image_selected.php on line 27 and defined in /hogehoge/webapp/lib/db/album.php on line 547 Call Stack # Time Memory Function Location 1 0.0002 47504 {main}( ) ../index.php:0 2 0.0279 743860 openpne_execute( ) ../index.php:10 3 0.0280 743896 openpne_forward( ) ../controller.php:45 4 0.0380 828900 admin_do_delete_c_album_image_selected->execute( ) ../controller.php:210 5 0.0403 831408 db_album_delete_c_album_image( ) ../delete_c_album_image_selected.php:27 ( ! ) Warning: Missing argument 2 for db_album_delete_c_album_image(), called in /hogehoge/webapp/modules/admin/do/delete_c_album_image_selected.php on line 27 and defined in /hogehoge/webapp/lib/db/album.php on line 547 Call Stack # Time Memory Function Location 1 0.0002 47504 {main}( ) ../index.php:0 2 0.0279 743860 openpne_execute( ) ../index.php:10 3 0.0280 743896 openpne_forward( ) ../controller.php:45 4 0.0380 828900 admin_do_delete_c_album_image_selected->execute( ) ../controller.php:210 5 0.0504 893344 db_album_delete_c_album_image( ) ../delete_c_album_image_selected.php:27 ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /hogehoge/webapp/lib/db/album.php:547) in /hogehoge/webapp/lib/util/util.php on line 34 Call Stack # Time Memory Function Location 1 0.0002 47504 {main}( ) ../index.php:0 2 0.0279 743860 openpne_execute( ) ../index.php:10 3 0.0280 743896 openpne_forward( ) ../controller.php:45 4 0.0380 828900 admin_do_delete_c_album_image_selected->execute( ) ../controller.php:210 5 0.0576 893724 admin_client_redirect( ) ../delete_c_album_image_selected.php:30 6 0.0577 893924 client_redirect_absolute( ) ../etc_admin.php:89 7 0.0578 894336 header ( ) ../util.php:34
comment:11 Changed 13 years ago by
Keywords: | 確認中 added; 差し戻し removed |
---|
Replying to kudo:
引数の不十分な箇所があったので、r11542で修正しました。
アルバム画像の削除には以下の関数を使っており、2つ目のメンバーIDを引数に指定しなかったことが原因でした。
// webapp/lib/db/album.php 547 function db_album_delete_c_album_image($c_album_image_id, $c_member_id)
自分のミスで申し訳ないです。
comment:12 Changed 13 years ago by
Keywords: | 2.13 added; 2.13要望 確認中 removed |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
動作テストしました。問題が無いので閉じます。
comment:14 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Keywords: | 2.13 removed |
comment:15 Changed 13 years ago by
Summary: | 監視機能で複数の書き込みを一括削除する機能 → 管理画面で複数の書き込みを一括削除する機能 |
---|
Note: See
TracTickets for help on using
tickets.
深町です。 初めてですが、私がつくります。