Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - senloel

Pages: 1 [2]
16
Hey,

I just have a small problem:

I created a new category and set the rights to "Private".
Now, some Users have an access to this category and are able to upload their photos to this category.

But in the Validation area, the category isn't in the dropdown-List in the "Edit"-Image-Window and in the sort options.
Why?

The affected Users use the Moderator Control Panel to validate the images.

I can see the category in the validation area, but I'm using the Admin Control Panel, not the Moderator CP.

Thanks for your help!

Regards,
Patrick

17
Hey,

As you know, there are two Buttons in the Validation area: "Validate" and "Delete".
But how about a third button, which moves the image to a specific category?

That would be a great function!

But if you decide to move the file to a specific category, it would be great if the user knows about this.
So there must be a connection to this MOD (Validation Result Mail): http://www.4homepages.de/forum/index.php?topic=8286.0

In the Validation Mail, the Status could be "Moved" for example.
A link or a thumbnail to this moved picture (also direct path, not via details.php) would also be a great function!

Thanks to all your help!

Greetings,
Patrick


...und in Deutsch:

Im Validation area gibt's ja zwei Buttons: "Validate" (Hinzufügen) und "Delete" (Löschen).
Aber wie wärs mit einem dritten Button, der das Bild in eine bestimmte Kategorie verschiebt?

Das wär eine sehr hilfreiche Funktion!

Da der User aber auch darüber informiert werden sollte, wäre eine Verbindung mit diesem MOD (Validation Result Mail) http://www.4homepages.de/forum/index.php?topic=8286.0 hilfreich.
Als Status könnte man dann "Verschoben" nehmen z.B. .
Zusätzlich könnte ein Link oder ein Thumbnail (auch über den direkten Pfad, also nicht via details.php) zum verschobenen Bild angezeigt werden.

Danke für eure Hilfe!

Grüße,
Patrick

18
Hey,

ich habe ein kleines Problem:

In der functions.php habe ich eine neue URL hinzugefügt:
"airline_url" => "<a href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".$image_row['image_name'])."\">".$image_row['image_name']."</a>"

Diese URL soll unter jedem Thumbnail die Airline anzeigen mit einem Link, der andere Bilder der Airline zeigt.
So weit, so gut, die Airline wird angezeigt.

Nur beim Link gibt es das Problem:
http://www.planepicture.cwsurf.de/search.php?search_keywords=British%20Airways

Damit das richtige Ergebnis angezeigt wird, muss der Wert hinter " search_keywords= " in Anführungszeichen stehen, also

http://www.planepicture.cwsurf.de/search.php?search_keywords="British%20Airways".

Nur wie bekommt man diese Anführungszeichen in den Code?
Mit \" klappt es nicht.

Danke und Grüße,
Patrick


19
Hey,

ich hätte mal eine kleine Frage:

Ist es möglich, den Löschbefehl beim nicht-freischalten eines Bildes zu entfernen?
(Am besten wäre es, wenn das Bild in eine bestimmte Kategorie verschoben wird, aber das ist erstmal nicht so wichtig...)
Ich finde leider die entsprechende Stelle im Code nicht...

Danke und Grüße,
Patrick

20
Hey,

ich habe dieses Topic gefunden und gleich begonnen, den Code in die Uploadform zu integrieren.

So sieht es jetzt aus:
--> siehe Attachment

Der Code ist:


//-----------------------------------------------------
// --- Choose autofill - Start --------------------------
//-----------------------------------------------------

$sql "SELECT image_reg, image_typ 
        FROM 4images_images "
;
$result $site_db->query($sql);

$image_autofill .= "<input type=\"text\" name=\"image_reg\" value=\"{image_reg}\">";    

   
while (
$row $site_db->fetch_array($result))
{
 
$image_autofill .= "<input type=\"text\" name=\"image_typ\" value=\"{image_typ}\" " $row['image_typ'] . ">";     

}
$site_template->register_vars("image_autofill"$image_autofill);
unset(
$image_autofill);

//-----------------------------------------------------
// --- Choose autofill - End ----------------------------
//-----------------------------------------------------


...und die member_uploadform.html:

<tr>
            <
td class="row1"><b>{lang_image_typ}</b></td>
            <
td class="row1"><input type="text" name="image_typ"  size="30" value="{image_typ}" class="input" /></td>
          </
tr>


bzw:

         <tr>
            <
td class="row2"><b>Auto Fill</b></td>
            <
td class="row2">{image_autofill}</td>
          </
tr>


Wie ihr seht: Bei "Auto Fill" stehen zwei Eingabefelder, dabei sollte hier nur eines sein, in welches man die Reg eingibt.
Hat man die Reg eingegeben, soll das Feld "Registration" mit der eingegeben Reg ausgefüllt werden und der Typ soll aus der Datenbank ausgelesen werden.
Nur funktioniert das nicht so richtig, weder beim einen Einagbefeld, noch beim anderen daneben:
Beim ersten Eingabefeld füllt er nur das Feld "Registration" mit dem eingegebenen Wert aus, das "Flugzeugtyp"-Feld bleibt jedoch leer.
Beim zweiten Eingabefeld füllt er plötzlich das Feld "Flugzeugtyp" mit dem eingebenen Wert (der Reg) aus...

Des weiteren wäre es gut, wenn neben dem "Auto Fill"-Feld ein Absendebutton wäre, bei dem dann die beiden Felder ausgefüllt werden, ohne dass das ganze Formluar abgesendet wird.

Ich bitte wirklich um Hilfe, da diese Funktion unvermeidlich ist, weshalb ich über jede noch so kleine Hilfe dankbar bin ;)

Grüße,
Patrick

21
Hey,

für ein neues Internetprojekt, dass momemtan im Aufbau ist, suchen wir einen Programmierer, der uns bei der Erstellung helfen kann.
Dabei geht es konkret um die folgenden Teile:

- Datenbank mit Informationen (Airline, Flugzeugtyp usw.)
- Erweiterte Suche mit Dropdown-Menüs für Airline, Flugzeugtyp usw.


- Thumbnails in der Validation Result Mail
- Bild bei "delete" erst nach Zetít löschen

+ ein paar kleinere Dinge, die schnell erledigt werden sollten.

Genauerers gibts dann via PN.
Wer Interesse hat - bitte melden!

Über eure Unterstützung wäre ich sehr dankbar!

Grüße,
Patrick

PS: You only speak english? No problem, contact me via PN and I'll give you the information.

22
Hey,

ich hatte diese Frage schon in einem anderen Thread gestellt ( https://www.4homepages.de/forum/index.php?topic=8286.30 ), jedoch hat es dort nicht so richtig reingepasst.

Wenn man ein Bild nicht freischaltet, sondern auf "delete" klickt, wird das Bild ja sofort vom Server gelöscht.
Gibt es eine Möglichkeit, das Bild erst nach z.B. 7 Tagen zu löschen?

Man könnte dann eine extra Seite für die abgelehnten Bilder erstellen, bei welcher dann oben z.B. steht: "This picture will be deleted in seven days".

Wäre super wenn jemand eine Idee hätte wie man das lösen könnte, vielleicht kann man daraus auch einen MOD machen? Wäre sicherlich für andere auch interssant.

Grüße und Danke,
Patrick

PS: Vielleicht weiß ja auch noch jemand wie man Thumbnails in der Email erstellt, wär klasse --> siehe Link oben zum anderen Thread

23
Hey all,

there is a new problem concerning my website:

After I've changed the language in the administration area the website went down.
Now, there isn't content any more.

To check if something is wrong with my server, I've uploaded the gallery to another server but the problem was still existing.

May somebody has an idea where the problem is?

Thank you and Greetings,
Patrick


...und auf Deutsch ;)

Nachdem ich im Admibereich die Sprache gewechselt habe, war die Website down.
Ich habe die ganze Galerie auf einen anderen Server hochgeladen, um zu schauen ob es am Server liegt, aber es war immernoch kein Inhalt zu sehen.

Weiß evtl. jemand wo hier das Problem begraben ist?

Danke schonmal und Grüße,
Patrick

--> http://planepicture.cwsurf.de

24
Hey all,

I'm new in working with 4images and have a little problem:
I've added two new image_fields and it worked perfect, but then I tried to show them also in the gallery search and then it happend:
Something went wrong.

Now, if you are trying to upload a picture and fill in some specific names in the fields "name", "Flugzeugtyp" and "Registration" you'll get an error message like this:

DB ErrorBad SQL QueryREPLACE INTO 4images_wordmatch (image_idword_idname_matchdesc_matchkeys_matchreg_matchtyp_matchVALUES (2830000)
Column count doesn't match value count at row 1


The strange thing is: This error message appears not always when uploading a picture.
I think it only appears if you type in two single words in one of the three fields named above.
But I'm not sure if this is right so I added a new category called "Test" where you can upload some pictures if you want to check that or something else.

Maybe this can help you: You also can not search for the "Registration" or the "Flugzeugtyp".

I hope you can help me! If you need some more information or the content of some files simlpy write it ;)

I also speak German so an answer in German would also be very helpful!

Thanks a lot!

Patrick 

Pages: 1 [2]