Contact Page

Started by SMFHacks.com Team, July 06, 2006, 12:59:38 PM

Previous topic - Next topic

deansmar

the e-mail address that is used to send the contact page.. is the one you have setup with your SMF installation.

Admin - Configuration - General - Webmaster Email Address

if you want to send the mail to a different Email address, you will need a little knowledge in PHP

find this in your \Sources\contact2.php and edit it..

// Send email to webmaster
sendmail($webmaster_email, $subject, $m,$email);

PraveerD


Exterminator2006

Quote from: deansmar on October 04, 2010, 11:59:36 AM
the e-mail address that is used to send the contact page.. is the one you have setup with your SMF installation.

Admin - Configuration - General - Webmaster Email Address

if you want to send the mail to a different Email address, you will need a little knowledge in PHP

find this in your \Sources\contact2.php and edit it..

// Send email to webmaster
sendmail($webmaster_email, $subject, $m,$email);


Same sample?  [email protected] how?

vbgamer45

Change

      sendmail($webmaster_email, $subject, $m,$email);


      sendmail('[email protected] ', $subject, $m,$email);

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NoFeaR / NFSMW

I finaly got around to do this. It looks better now.

Quote from: deansmar on September 13, 2010, 11:11:07 AM
this is very basic HTML....

you have still left in

<tr>
    <td width="100%"  class="windowbg2">

after the </tbody>

i told you to delete it in my last post..!! am i talking to my self...

i would suggest you learn HTML coding...  in perticular tables http://www.htmlcodetutorial.com/tables/

if you come with another HTML coding question i will ignore it...
probably because you did not do the steps that were told in my very first posting... and then after repeating my self you still have not done what i typed...

NoFeaR / NFSMW

Is there a way to add a box where the user can imput his telephone number in the contact page.

vbgamer45

You would need to modify the template and the main source file to collect that information
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NoFeaR / NFSMW


vbgamer45

By editing the files adding the html and php code.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

henrik1782

#329
Nice mod...

Here is the Danish translation


<file name="$languagedir/Modifications.danish-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Contact Page Text Strings
$txt['smfcontact_contact'] = 'Kontakt';
$txt['permissionname_view_contact'] = 'Vis kontakt siden';
$txt['permissionhelp_view_contact'] = 'Tillad medlemmer af se kontakt side og sende e-mail.';
$txt['cannot_view_contact'] = 'Du har ikke adgang til kontakt siden.';
$txt['smfcontact_name'] = 'Dit navn:';
$txt['smfcontact_subject'] = 'Emne:';
$txt['smfcontact_body'] = 'Besked:';
$txt['smfcontact_emailaddress'] = 'Din e-mail adresse:';
$txt['smfcontact_sendemail'] = 'Send e-mail';
$txt['smfcontact_messagesent'] = 'Din besked blev sendt!';
$txt['smfcontact_messagesent_click'] = 'Din besked blev sendt! Klik ';
$txt['smfcontact_messagesent_return'] = 'her</a> for at returnere til forum.';
$txt['smfcontact_errname'] = 'Du skal indtaste dit navn.';
$txt['smfcontact_errsubject'] = 'Du skal indtaste et emne.';
$txt['smfcontact_errmessage'] = 'Du skal skrive en besked.';
$txt['smfcontact_erremail'] = 'Du skal indtaste din e-mail adresse.';
$txt['smfcontact_titlesent'] = ' - Besked sendt.';
$txt['smfcontact_form'] = 'Kontakt side formular for ';
$txt['smfcontact_formname'] = "Navn: ";
$txt['smfcontact_formemail'] = "E-mail: ";
$txt['smfcontact_ip'] = "IP: ";
$txt['smfcontact_formmessage'] =  "Besked: \n";

// END Contact Page Text Strings
]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.danish.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
// Begin Contact Page Text Strings
$txt['smfcontact_contact'] = 'Kontakt';
$txt['permissionname_view_contact'] = 'Vis kontakt siden';
$txt['permissionhelp_view_contact'] = 'Tillad medlemmer af se kontakt side og sende e-mail.';
$txt['cannot_view_contact'] = 'Du har ikke adgang til kontakt siden.';
$txt['smfcontact_name'] = 'Dit navn:';
$txt['smfcontact_subject'] = 'Emne:';
$txt['smfcontact_body'] = 'Besked:';
$txt['smfcontact_emailaddress'] = 'Din e-mail adresse:';
$txt['smfcontact_sendemail'] = 'Send e-mail';
$txt['smfcontact_messagesent'] = 'Din besked blev sendt!';
$txt['smfcontact_messagesent_click'] = 'Din besked blev sendt! Klik ';
$txt['smfcontact_messagesent_return'] = 'her</a> for at returnere til forum.';
$txt['smfcontact_errname'] = 'Du skal indtaste dit navn.';
$txt['smfcontact_errsubject'] = 'Du skal indtaste et emne.';
$txt['smfcontact_errmessage'] = 'Du skal skrive en besked.';
$txt['smfcontact_erremail'] = 'Du skal indtaste din e-mail adresse.';
$txt['smfcontact_titlesent'] = ' - Besked sendt.';
$txt['smfcontact_form'] = 'Kontakt side formular for ';
$txt['smfcontact_formname'] = "Navn: ";
$txt['smfcontact_formemail'] = "E-mail: ";
$txt['smfcontact_ip'] = "IP: ";
$txt['smfcontact_formmessage'] =  "Besked: \n";

// END Contact Page Text Strings
]]></add>
</operation>
</file>
My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

Eyesman

Hello all,

I have installed while I was having the Greek language in smf. Then I have returned to English language and the Contact page gave the following error:
Fatal error: require_once() [function.require]: Failed opening required '/home/domain/public_html/forum/Sources/Contact.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/forum/index.php on line 359

I tried to uninstall it but i get the errors attached.

If I continue to uninstall it will I have any other problems? I need to uninstall it and install it again or some other Contact mod.

Thanking you in advance.

Eyesman

I have tried to uninstall it again and now it gives one more error!! (see attached)

Eyesman

Problem solved! I have uninstall all mods and it was removed.

searchgr

It doesn't support the greek characters in a  "ISO-8859-1" forum.

cyberdyne

Installed manually and working well.
Many thanks
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GlitchPC

#336
vbgamer,

I have this mod installed, as well.  It, too, does not validate XHTML.  If you go to my contact page and click the XHTML validation link at the bottom of the page, you will see where your errors are.

It would seem you are using the term "POST" when you should be using "post" and you're also using just an "&" when it should be "&amp;".

Now...I know the mod works but, I'm a stickler when it comes to mods being XHTML compliant.

By the way...thanks for the quick replies to my posts...I really didn't expect them...having previously migrated from vBulletin to SMF.

GlitchPC

It's been a few days...so, thought I'd bump this for a reply, please...

vbgamer45

Updated

2.1.2
!Fixed some xhtml validation issues.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GlitchPC

The contact page is still failing XHTML validation based on the following:

Line 175, Column 33: value of attribute "align" cannot be "top"; must be one of "left", "center", "right", "justify", "char"

<td width="40%" align="top" class="windowbg2">

Advertisement: