• [MOD] Contact Form 5 0 5 1
Currently:  

Author Topic: [MOD] Contact Form  (Read 380731 times)

0 Members and 1 Guest are viewing this topic.

Offline Boardy

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [MOD] Contact Form
« Reply #15 on: August 01, 2005, 11:56:00 PM »
Ja deshalb hatte ich gefragt. Wusste nicht genau wo mein Fehler lag, da ich alles so gemacht hatte wie es in der Read Me stand. Bloß der Schreibfehler ist mir auch erst später aufgefallen  :lol:

Offline colorssky

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • http://www.nnjj.net
Re: [MOD] Contact Form
« Reply #16 on: August 18, 2005, 05:28:33 PM »
when I tried to send contact I have this error


Email Error: Couldn't open Template ./lang/arabic_sestore/email/contactform_message.html

Warning: Cannot modify header information - headers already sent by (output started at /home/saudiele/public_html/4images/includes/email.php:336) in /home/saudiele/public_html/4images/contact.php on line 85


how to fix it?

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] Contact Form
« Reply #17 on: August 19, 2005, 10:21:14 AM »
zum Beitrag von Boardy

klar ist die Datei nicht im zip-Ordner, wozu auch?? Die Datei ist Orginal im Ordner email vorhanden!

wer die natürlich nicht nutzt oder löscht...

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Contact Form
« Reply #18 on: August 23, 2005, 06:01:38 PM »
I am also getting
Code: [Select]
Email Error: Couldn't open Template ./lang/english/email/contactform_message.html

Warning: Cannot modify header information - headers already sent by (output started at /xxxx/4images/includes/email.php:336) in /xxxx/4images/contact.php on line 85

This has been covered above in German, but please post the solution in English.
Thank You.

Please Vote for my site: Here

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [MOD] Contact Form
« Reply #19 on: August 23, 2005, 06:11:29 PM »
strange - did you read this topic  :?:

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Contact Form
« Reply #20 on: August 23, 2005, 06:15:16 PM »
Yes, but the previous comment on the same error was in German, you replied to him, but I don't know what it meant.

Please Vote for my site: Here

TheOracle

  • Guest
Re: [MOD] Contact Form
« Reply #21 on: August 23, 2005, 06:47:34 PM »
Make sure there are no spaces between <?php<spaces> and ?><spaces>.

The "<spaces>" must not be included. ;)

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Contact Form
« Reply #22 on: August 23, 2005, 07:10:08 PM »
nope, there are no extra spaces..
It sends the e-mail allright, but it keeps adding the error to the top.

It doesn't return an error when you don't fill all the fields, so it is not the submitting, it is the sending part that gives me the error.

Please test:
www.34tr.com/contact.php

 :(

Please Vote for my site: Here

TheOracle

  • Guest
Re: [MOD] Contact Form
« Reply #23 on: August 24, 2005, 03:34:50 AM »
Quote

Email Error: Couldn't open Template ./lang/english/email/contactform_message.html


You did not complete the instructions of this MOD. You must create a file called : contactform_message.html under your templates/<your_template> folder and paste the content from the instructions. From there, it should definitely resolve the issue. ;)

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Contact Form
« Reply #24 on: August 24, 2005, 06:03:02 AM »
Hi Oracle,

saw your test at the site, thanks for the concern.

About the instructions=   :( Am I missing something that was previously released and now is not around?

All i get is the zip file with 3xhtml and 2xphp and 1xhelp file in german.

Code: [Select]
so, die beiden html dateien legst du in den ordner: template/default/dein_template
und auch in alle anderen aktiven templates, solltest du den useren templates zur auswahl geben!

die datei: email.php legst du in den ordner includes

und die datei contakt.php legst du in den ordner root der galerie bzw. deiner webseite, dort wo die index liegt.  passe vorher die zeilen 74 bis 76(75) an deine seite und deine e-mail-addi an!

danach gibst du die datei home.html mit chmod 777 frei um im acp das template bearbeiten zu können..
ACP >>> Template bearbeiten  >>> Template home.html bearbeiten

suche: <td align="right" width="50%">
        <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
        <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;&nbsp;
</td>

und ersetze es mit:

<td align="right" width="50%">
        <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
        <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;&nbsp;<br><br>
<a href="contact.php"><b>Kontakt</b></a>&nbsp;&nbsp;&nbsp;&nbsp;
<br>
<br>

       </td>

(wäre der link zur kontaktseite in der home.html) zu kannst den link aber auch an anderer stelle z.b. header/footer oder wo auch immer einbauen.

die datei mailform_message.html kommt in den ordner: lang/deutsch/email/

solltest du die datei in englisch haben wollen, so ändere die lang und leg die datei zusätlich in den ordner: lang/english/email/
(den inhalt der datei kannst du frei anpassen!

das war´s! viel spaß mit dem kontaktformular!

bedankt euch bei: vincent kocher (www.foto-kocher.com)

solltet ihr fragen haben zu diesem mod haben: info@thomas-heydel.de oder www.thomas-heydel.de/galerie/


 

I only got the idea that I can add link to contact in my userlogin section and that's about it.

Could you please help me get the idea of a contactform_message or something similar?

It also mentions chmodding something to 777. Could you translate it? I assume that's the error about declaring header?



Please Vote for my site: Here

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [MOD] Contact Form
« Reply #25 on: August 24, 2005, 08:10:09 AM »
do you have this file  mailform_message.html  in your template?

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [MOD] Contact Form
« Reply #26 on: August 24, 2005, 09:00:50 AM »
contact_mailform and mailform_message, contact.html must be in all templates, in default an in all styles.
email.php-file in > includes
contact.php in root of galery

for linking:
in my site is the link to Kontakt (contakt) in the  Template home.html
CHMOD is for working in ACP on home.html

TheOracle

  • Guest
Re: [MOD] Contact Form
« Reply #27 on: August 24, 2005, 12:12:16 PM »
Quote

contact_mailform and mailform_message


The extension would be important to specify since you're also referring to PHP files below. ;)

Quote

CHMOD is for working in ACP on home.html


I'm not sure I get this part though ... it is like you're talking about two different process in one single line.

Offline hyde101

  • Sr. Member
  • ****
  • Posts: 410
  • 34TR.COM (Running 4images)
    • View Profile
    • Nostalgia Istanbul
Re: [MOD] Contact Form
« Reply #28 on: August 24, 2005, 03:56:50 PM »
do you have this file mailform_message.html in your template?

vincent


Actually:

 contact.php is in root,
contact.html is in my template folder
contact_mailform.html in my template folder
mailform_message.html is /4images/lang/english/email/ (already had this one there, didn't replace, --does this have to be in template or under email?)

contactform_message.html <- I don't have this.

Thank You.

Please Vote for my site: Here

TheOracle

  • Guest
Re: [MOD] Contact Form
« Reply #29 on: August 24, 2005, 03:59:55 PM »
Quote

mailform_message.html is /4images/lang/english/email/ (already had this one there, didn't replace, --does this have to be in template or under email?)


It is in the right place.

Quote

contactform_message.html <- I don't have this.


You must have this file by following the instructions.