• [MOD] - Report a picture (configurable from ACP + over HTML template files) 4 0 5 1
Currently:  

Author Topic: [MOD] - Report a picture (configurable from ACP + over HTML template files)  (Read 138301 times)

0 Members and 1 Guest are viewing this topic.

Offline newuser222

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #105 on: December 16, 2008, 09:32:33 PM »
If you have categories in different non-latain characters language and want to reporting add this MOD,then you'll face a problem with the link characters, since the link will include non-latain characters of the category name and/or the uploaded image name.

the original code in includes/functions.php file:
Code: [Select]
$report_url = ($config['report_image_status'] == 0 && $user_info['user_level'] >= USER) ? $site_sess->url(ROOT_PATH."report_pic.php?".URL_CAT_ID."=".$image_row['cat_id']."&cat_name=".$image_row['cat_name']."&".URL_IMAGE_ID."=".$image_row['image_id']."&image_name=".$image_row['image_name']) : "";
must be change into this:
Code: [Select]
$report_url = ($config['report_image_status'] == 0 && $user_info['user_level'] >= USER) ? $site_sess->url(ROOT_PATH."report_pic.php?".URL_CAT_ID."=".$image_row['cat_id']."&cat_name=".urlencode($image_row['cat_name'])."&".URL_IMAGE_ID."=".$image_row['image_id']."&image_name=".urlencode($image_row['image_name'])) : "";
that's it!!
If there are any modifications ur welcome guys! :wink:

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #106 on: February 02, 2009, 04:04:45 PM »
Im having problems installing this mod i will pay 20 USD Who ever can install this mod for me :D PM ME  :D if someone can install this mof for me im runing 4images 1.74

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #107 on: February 02, 2009, 04:06:23 PM »
What is the problem?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #108 on: February 02, 2009, 04:10:02 PM »
Hi bro when i click setting nothin shows up

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #109 on: February 02, 2009, 04:45:00 PM »
in step 2 and 3 did you replace X with needed number?
to find the correct number, scroll up the code in the file and find the last instance of similar line with number, then add 1 to that number = that is the number you need
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #110 on: February 02, 2009, 04:48:52 PM »
bro on my orignal file setting.php the code is like this

Code: [Select]
MOD RECYCLE BIN FOR IMAGES
  END REPLACE
*/
  show_setting_row("user_edit_comments", "radio");
  show_setting_row("user_delete_comments", "radio");
  show_setting_row("account_activation", "show_account_activation_options");
  show_setting_row("activation_time");
  show_setting_row("session_timeout");
  show_setting_row("display_whosonline", "radio");
  show_setting_row("highlight_admin", "radio");

  /*
    MOD BAN
    START INSERT
  */
    show_table_separator($setting_group[7], 2, "#setting_group_7");
    show_setting_row("look_hostname", "radio");
  /*

So i put 8 on the X is that rite ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #111 on: February 03, 2009, 03:03:04 AM »
If what you showed is the last piece, then yes, 8 would be the correct number
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #112 on: February 03, 2009, 04:26:37 AM »
i installed the mod now the form comes everything comes but when i try to report the image send the email it redirects to this link

http://www.mysite.com/report_pic.php?action=send_image_report  ( WITH A BLANK WHITE PAGE) anyone knows what could be the problem ??
« Last Edit: February 03, 2009, 04:56:49 AM by __G__ »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #113 on: February 03, 2009, 05:09:07 AM »
When you do what exactly? (click a link, fill up the form and press submit button, etc)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #114 on: February 03, 2009, 06:01:25 AM »
when i fill the form and click "send the report" button than white page comes up bro i sent u a link of my site in your pm bro if u wanna see what i mean

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #115 on: February 06, 2009, 03:05:04 AM »
Im still waiting on someone to help me out here :( please ... . i really need this mod im running 4 images 1.7.4

Offline arabcine

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #116 on: December 16, 2009, 01:43:33 PM »
wow it's work fine on 1.7.7,

but how i can show only this for members "Report a Picture"

and it's not support arabic lang,

tell me how i can?


Offline Kurman

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • www.kurman.ru
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #117 on: December 18, 2009, 07:13:20 AM »
Can somebody change this MOD in way to report a lightbox as well as a picture? (or just lightbox only)
4images running as a music portal http://music.kurman.ru/

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #118 on: December 18, 2009, 07:17:35 AM »
report a lightbox?
* V@no confused
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Kurman

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • www.kurman.ru
Re: [MOD] - Report a picture (configurable from ACP + over HTML template files)
« Reply #119 on: December 22, 2009, 09:49:36 PM »
Yes, V@no, not exactly "report" ))) but to increase funtionality of this MOD, so we could send to admin all picture names which are in lightbox with a message, just like this MOD does for a certain picture. Then we could use this MOD as well to report a single picture, or several at once, if we had such a button in lightbox.

P.S. Here is another MOD "send lightbox to admin", but it is too complicated.  :? but this MOD, "report a picture" is the nice one.
4images running as a music portal http://music.kurman.ru/