4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: steelers on August 20, 2005, 02:41:53 PM

Title: Bild melden / report a pic
Post by: steelers on August 20, 2005, 02:41:53 PM
Ich habe ein Script umgeschrieben, welches die Bild Id in einen Formmailer setzt und dem Admin, oder mehrere vordiefinierte E-Mail Adressen eine Mail schickt, dass das Bild gemeldet wurde. Dann kann man es ganz leicht kontrollieren! Zusätlich ist noch ein Adminbereich vorhanden, wo man die Mails nochmals lesen kann und zusätzlich bearbeiten kann.!

Ein Beispiel findet ihr hier:
http://www.piccas.de/gallery/details.php?image_id=2045

Möcht mal wissen, wer interrese hat, dann werde ich das umgeschriebene Script hier reinstellen.

--------------------------
I have circumscribed a Script which sets the picture Id in a Formmailer and mails this to one or more  Admins per E-Mail. Then you can check if the picture must be delete or not. Additional there is a Admin Area where you can read this Mails and delete or edit them.

Here you can see this function:
http://www.piccas.de/gallery/details.php?image_id=2045

I just want to know who is interrested. Then I will take the script here in!

##############################################
##############################################
#################DOWNLOAD#####################
http://www.piccas.de/upload/details.php?image_id=60
##############################################
##############################################
##############################################

------------------
SORRY FOR MY ENGLISH....
Title: Re: Bild melden / report a pic
Post by: TheOracle on August 20, 2005, 02:52:10 PM
You mean like this page :

http://www.piccas.de/gallery/melden.php?sf_url=131&sf_subject=Bild%20melden

?
Title: Re: Bild melden / report a pic
Post by: steelers on August 20, 2005, 03:00:17 PM
You mean like this page :

http://www.piccas.de/gallery/melden.php?sf_url=131&sf_subject=Bild%20melden

?
thats the url where you can report the pic. And if you click on submit i will get a E-mail with the image id...
Title: Re: Bild melden / report a pic
Post by: TheOracle on August 20, 2005, 03:32:57 PM
Not a bad suggestion. However, I think this MOD is already published from the MOD sections of this forum. If not, you could always customize the "Contact Form" MOD (which, I think, is the one that has simply been simply customized). ;)
Title: Re: Bild melden / report a pic
Post by: steelers on August 20, 2005, 03:39:08 PM
Not a bad suggestion. However, I think this MOD is already published from the MOD sections of this forum. If not, you could always customize the "Contact Form" MOD (which, I think, is the one that has simply been simply customized). ;)

No, theres no Mod like this.

My Mod works... I just want to know if i should puplish it here?
Title: Re: Bild melden / report a pic
Post by: TheOracle on August 20, 2005, 03:41:52 PM
Quote

My MOD works... I just want to know if I should puplish it here?


In that case, I don't see why not. ;)
Title: Re: Bild melden / report a pic
Post by: steelers on August 20, 2005, 03:45:29 PM
Quote

My MOD works... I just want to know if I should puplish it here?


In that case, I don't see why not. ;)

Ok, if i collected all files for this mod i will puplish this mod here... I think in a few days...
Title: Re: Bild melden / report a pic
Post by: TheOracle on August 20, 2005, 03:57:05 PM
Sure. Take the time to collect all your information before posting your results.
Title: Re: Bild melden / report a pic
Post by: steelers on August 20, 2005, 03:59:39 PM
Sure. Take the time to collect all your information before posting your results.
Yes, I will do that  :D
Title: Re: Bild melden / report a pic
Post by: Vincent on August 20, 2005, 04:07:08 PM
@theOracle
i am surprised about your writing - when i asked you about something like this - you told it is not easy
http://www.4homepages.de/forum/index.php?topic=7526.0
so i hope to get this script and after this i hope to modifie it to my need!

vincent
Title: Re: Bild melden / report a pic
Post by: TheOracle on August 20, 2005, 04:09:50 PM
@Vincent :

This is about a reporting image feature issue MOD ... does your pointed topic requests the same addon as this one ?
Title: Re: Bild melden / report a pic
Post by: JensF on August 22, 2005, 03:13:23 AM
Sehr interessant. Ich würde den Mod gerne haben wollen ;)
Title: Re: Bild melden / report a pic
Post by: steelers on August 22, 2005, 05:21:54 AM
Sehr interessant. Ich würde den Mod gerne haben wollen ;)

Ich bin dabei ihn aus meiner Seite auszubauen... Sobald dies geschehen ist, werde ich ihn hier reinsetzen...

Gruß,
Chris
Title: Re: Bild melden / report a pic
Post by: steelers on August 24, 2005, 01:23:52 PM
So, ich habe ihn hochgeladen. Der Downloadlink steht im ersten Beitrag!

I have finished it. You can find the downloadlink in the first topic!
Title: Re: Bild melden / report a pic
Post by: JensF on September 04, 2005, 07:33:43 PM
Hat nochmal jemand den Mod für mich??? Kann den irgendwie nicht finden. Danke!!!!
Title: Re: Bild melden / report a pic
Post by: steelers on September 04, 2005, 07:43:29 PM
Hat nochmal jemand den Mod für mich??? Kann den irgendwie nicht finden. Danke!!!!
Habs dir geschickt! Wers noch will, bitte per E-Mail an mich. Danke!!!

Gruß,
Chris
Title: Re: Bild melden / report a pic
Post by: JensF on September 04, 2005, 08:09:18 PM
Vielen Dank dafür...
Title: Re: Bild melden / report a pic
Post by: steelers on September 04, 2005, 08:13:38 PM
Vielen Dank dafür...
Kein Problem!
Title: Re: Bild melden / report a pic
Post by: JensF on September 12, 2005, 12:12:25 AM
Hi,

ich habe nochmal eine Frage. Welche Dateien muss ich ändern damit in den Betreffs der Mails nicht mehr [ScarFormMail] steht???

Außerdem wäre es ne coole Sache wenn im Meldeformular auch gleich der Name und die Mail Adresse des registrierten Users der ein Bild melden möchte eingetragen ist. Geht das???

Habe die Dateien schon durchsucht aber leider nichts gefunden!!!
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 10:32:59 AM
Hi,

ich habe nochmal eine Frage. Welche Dateien muss ich ändern damit in den Betreffs der Mails nicht mehr [ScarFormMail] steht???

Außerdem wäre es ne coole Sache wenn im Meldeformular auch gleich der Name und die Mail Adresse des registrierten Users der ein Bild melden möchte eingetragen ist. Geht das???

Habe die Dateien schon durchsucht aber leider nichts gefunden!!!

Betreff der Mails:

im template Ordner findest du Textdateien und da müsstest du dies ändern können (soweit ich noch weiß)...
Falls dies nicht da sein sollte, sag mir nochmal bescheid, dann guck ich nach...

Des mit dem Namen und der Mail Adresse hab ich schon versucht, aber nach 5 Tagen hab ich aufgegeben... Wenn das einer von euch hinbekommt, wäre ich froh :-)
Title: Re: Bild melden / report a pic
Post by: JensF on September 12, 2005, 01:08:13 PM
Habe schon die ganzen Templates durchgesucht aber leider nichts gefunden oder ich bin einfach nur blind....
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 01:25:14 PM
Habe schon die ganzen Templates durchgesucht aber leider nichts gefunden oder ich bin einfach nur blind....

mom. ich guck mal...
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 01:36:43 PM
So, habs gefunden. War ein bisschen versteckt :-)

Code: [Select]
Öffne melden.php

suche:
if (@mail($_SF["sf_to"][$sf_i], $sf_mail_subject." [ScarFormMail]", $sf_mail_body, $sf_headers) == 1) {
ersetzen durch:
if (@mail($_SF["sf_to"][$sf_i], $sf_mail_subject."", $sf_mail_body, $sf_headers) == 1) {

Gruß,
Chris
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 01:40:30 PM
Ah, nochwas:

Code: [Select]
in melden.php

finde:
@mail($_SF["sf_email"], $sf_mail_thx_subject." [ScarFormMail]", $sf_mail_thx_body, $sf_headers);
Eretzen durch:
@mail($_SF["sf_email"], $sf_mail_thx_subject."", $sf_mail_thx_body, $sf_headers);

So, das wars :-)

Gruß,
Chris
Title: Re: Bild melden / report a pic
Post by: Nicky on September 12, 2005, 01:48:32 PM
@steelers,

schicke den mod bitte auch an mich.. werde es zum downloaden anbieten, falls du es nicht willst.
email 4images at nicky.net
ersparst dir auch unmengen an emails.
Title: Re: Bild melden / report a pic
Post by: JensF on September 12, 2005, 01:57:13 PM
Eine melden.php gibt es doch gar nicht...
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 04:00:31 PM
Eine melden.php gibt es doch gar nicht...

... mist. sorry, bei mir heißt die Datei melden.php bei euch aber report.php... Also. nimm die Änderungen in der report.php durch...
Title: Re: Bild melden / report a pic
Post by: steelers on September 12, 2005, 04:03:07 PM
@steelers,

schicke den mod bitte auch an mich.. werde es zum downloaden anbieten, falls du es nicht willst.
email 4images at nicky.net
ersparst dir auch unmengen an emails.


Hi, ne das hat einen anderen Grund

laut dem Verfasser des Scriptes (ich habe des ja nur nach meinen Wünschen umgeschrieben) darf man des leider nicht umschreiben, deswegen biete ich das Script auch nicht öffentlich zum Download an, sondern nur für Private Zwecke :-)

Aber wenn du den Mod für dich haben möchtes (privat, also nicht zum Download anbieten) , schicke ich ihn dir gerne!

Gruß,
Chris.

PS.: So viele E-Mails sind des gar nicht und des ist auch net Schlimm :-)
Title: Re: Bild melden / report a pic
Post by: JensF on September 13, 2005, 07:14:36 AM
Besten Dank....
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 28, 2006, 09:42:13 PM
Hat nochmal jemand den Mod für mich??? Kann den irgendwie nicht finden. Danke!!!!
Habs dir geschickt! Wers noch will, bitte per E-Mail an mich. Danke!!!

Gruß,
Chris

Ich will!
Bitte an Hotscripts@mic-w.de
Betreff: Mod 4images
(sonst lösch ich den vielleicht)
Title: Re: Bild melden / report a pic
Post by: JensF on January 28, 2006, 10:10:06 PM
Du hast Post
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 28, 2006, 10:18:00 PM
In der Tat, hatte ich, vielen Dank, werde ich ausprobieren.
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 28, 2006, 10:39:47 PM
Etwas Hilfe bräuchte ich noch.

Zunächst,
- ich kann mich mit "Admin" nicht einloggen
-
Code: [Select]
4images root/report.php?sf_url={image_id}&sf_subject=Report a pic so kann das unmöglich richtig sein.
Title: Re: Bild melden / report a pic
Post by: Stoleti on January 28, 2006, 10:44:37 PM
where can i download this or see demo (links from 1º post doesn't work to me ) ...

 :?:
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 28, 2006, 11:30:31 PM
Also ich habe es jetzt hin bekommen.
Beim Passwort ist auf die Kleinschreibung zu achten.
Im Menü unter "Script" Email Adresse eintragen.
Der Pfad in details.htm muss so aussehen:
Code: [Select]
<a href="report.php?sf_url={image_id}&sf_subject=Report a pic">Bild melden</a>
Allerdings ist das nicht genau das, was ich gesucht habe, weil man dort unbedingt einen Text eingeben muss.
Ein einfacher Button, mit einer optionalen Texteingabe wäre besser.

Viele sind einfach zu faul, noch aufwendig einen Text oder ihre Daten einzutragen.

Gruß
michi-w.
Title: Re: Bild melden / report a pic
Post by: JensF on January 29, 2006, 01:34:26 PM
where can i download this or see demo (links from 1º post doesn't work to me ) ...

 :?:

You can see a demo here (http://www.terraristik-galerie.de/details.php?image_id=845&l=english) . Click on »You think this Picture is in the wrong Category please send me a Mail.«

Quote
Allerdings ist das nicht genau das, was ich gesucht habe, weil man dort unbedingt einen Text eingeben muss.
Ein einfacher Button, mit einer optionalen Texteingabe wäre besser.

Du kannst doch Standardmäßig einen Text im Textfeld festlegen. Habe ich ja auch. Ich habe aber halt nur nen Bindestrich drin. Aber da kann man jeden beliebigen Text festlegen.
Title: Re: Bild melden / report a pic
Post by: dosensteck on January 29, 2006, 05:01:23 PM
würde den mod auch gerne haben :)

dosensteck [at] chello.at
Title: Re: Bild melden / report a pic
Post by: TheOracle on January 29, 2006, 05:16:28 PM
@JensF:

Do you happend to have this MOD aside or you took it from this forum / topic somewhere ? ;)
Title: Re: Bild melden / report a pic
Post by: JensF on January 29, 2006, 06:03:07 PM
@JensF:

Do you happend to have this MOD aside or you took it from this forum / topic somewhere ? ;)

I have this Mod from my Computer :) I can post it here....Give me some hours, please....!
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 29, 2006, 06:15:05 PM
Gibt es einen Grund, weshalb der Mod nicht zum download angeboten wird?
Ich könnte ihn auf meine Webspace legen, falls niemand etwas dagegen hat.

Allerdings ist er für meine Zwecke nicht zu gebrauchen, wer ihn aber gerne haben möchte ...

Gruß
michi-w.
Title: Re: Bild melden / report a pic
Post by: TheOracle on January 31, 2006, 08:47:44 PM
Has this script been developped yet (or have you contacted the original author from the pointed site JensF pointed above) ? ;)

If not, I'd like to give my inputs on this one, if no one minds, since I'm still interested in this MOD. It sounds very interesting. ;)
Title: Re: Bild melden / report a pic
Post by: michi-w. on January 31, 2006, 09:00:18 PM
In den nächsten Tagen gibt es vielleicht einen besseren Mod, es muss noch etwas geklärt werden, aber was es bis jetzt gibt, sieht sehr gut aus.

Gruß
michi-w.
Title: Re: Bild melden / report a pic
Post by: Vincent on January 31, 2006, 11:06:02 PM
nun da bin ich ja gespannt!  8)
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 01, 2006, 03:01:35 AM
A little update (if anyone's interested to know) - I have began to code this MOD since I believe I will need this addon myself. I will let you know of my progress as soon as I finish to code it. For now, all is going as planned.

Note: This will be my only status message for this MOD. Further questionnings will have to be done over PM.

Thanks.
Title: Re: Bild melden / report a pic
Post by: michi-w. on February 01, 2006, 04:39:39 AM
Another Mod is almost finished, can concern only a few days.

Gruß
michi-w.
Title: Re: Bild melden / report a pic
Post by: JensF on February 01, 2006, 06:06:13 AM
Another Mod is almost finished, can concern only a few days.

Gruß
michi-w.

I will wait for this :) For all other here is the old Version. Sorry for waiting

** CLICK ** (http://www.terraristik-galerie.de/sonstiges/reportapic.zip)
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 01, 2006, 06:12:28 AM
@JensF:

Quote

For all other here is the old Version.


This seems to come from another script. I'm currently building one for 4images. ;)

Quote

Another Mod is almost finished, can concern only a few days.


@michi-w:

Are you saying you're also coding it ? If so, I'm currently coding it as well and almost finished. If you intend to publish it, please advise as I won't need to work on it no more (unless it's on demand).  8O ;)
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 01, 2006, 11:12:21 PM
Update:

The MOD is now 99% completed. It should be released pretty soon as everything is working expectedly. ;)
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 02, 2006, 01:01:41 AM
Good news. I have just tested this MOD with another user as he reported "success". The webmaster did received my e-mail from the report page without any problems - including all available details in order for each of receivers to understand. :D
Title: Re: Bild melden / report a pic
Post by: JensF on February 02, 2006, 01:29:41 AM
Great :) I will wait for it.....
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 02, 2006, 10:50:52 PM
Final update:

[MOD] - Report a picture - Officially released.

This is it guys, fill up your gallery from :

http://www.4homepages.de/forum/index.php?topic=11447.new#new

;)
Title: Re: Bild melden / report a pic
Post by: michi-w. on February 02, 2006, 11:05:55 PM
Hilfe / Help
No email to Admin!

Der Mod von meinem Freund ist auch soweit fertig, doch gibt es ein Problem mit der Admin Email, die kommt nämlich nicht an.
Vielleicht weiß jemand woran das liegen kann.

Code: [Select]
<?php
if (isset($_POST["submit"])) {
    $img_id $_POST["img_id"];
    $username strip_tags($_POST["username"]);
    $comment strip_tags($_POST["comment"]);
    $poster strip_tags($_POST["poster"]);
    $up_date strip_tags($_POST["up_date"]);

    // Admin-Emailadresse
    $emailto "email@T-Online.de";

    // Your email subject text
    $esubject "web-upload.de - Eine Meldung wurde gesendet";

    $emailtext "Der User $username hat das Bild mit der ID $img_id gemeldet.\n\r
    Pfad zum Bild: http://www.web-upload.de/details.php?image_id=
$img_id\n\r
    Detailansicht: http://www.web-upload.de/details.php?image_id=
$img_id\n\r
    Nickname des Posters: 
$poster\n\r
    Nickname des Melders: 
$username\n\r
    Upload-Datum: 
$up_date\n\r\n\r
    Kommentar des Melders:\n\r
$comment";

    @mail($emailto$esubject$emailtext"From: web-upload.de");
}
header("Location: index.php");
exit;
?>
Oder liegt es an einem anderen Teil des Mod, aber dort wird die Email Adresse eingetragen?

Demo (not final Version)
http://www.web-upload.de/details.php?image_id=16945

Gruß
michi-w.
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 02, 2006, 11:07:39 PM
@michi-w:

Then, perhaps you'd be interested to uninstall your current version and test out mine I just released ? (See the thread above your previous post) ;)
Title: Re: Bild melden / report a pic
Post by: michi-w. on February 02, 2006, 11:20:42 PM
A database update (install_report_image.php), why?
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 02, 2006, 11:56:28 PM
Quote

A database update (install_report_image.php), why?


If you have questions regarding the new release, please state them into the new topic from now on. ;)

The installation file was meant for users who doesn't have any experience with SQL tables (I happened to meet some this week). This has been thought and used as an installation file rather than giving them specific instructions which could result additional postings. ;)
Title: Re: Bild melden / report a pic
Post by: michi-w. on February 04, 2006, 08:35:54 PM
Ein vergleichbarer Mod, der etwas einfacher gebaut ist:
http://www.4homepages.de/forum/index.php?topic=11470.0

@TheOracle
That is it! :wink:
Title: Re: Bild melden / report a pic
Post by: TheOracle on February 04, 2006, 08:58:09 PM
Topic has been modified below :

http://www.4homepages.de/forum/index.php?topic=11470.0

Thanks for understanding my point of vue. ;)