Advertisement:

Author Topic: Contact Page  (Read 217031 times)

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: Contact Page 2.1.2 now with SMF 2.0 RC5 Support!
« Reply #340 on: May 27, 2011, 06:57:40 PM »
B-U-M-P!

Again...it's been a couple of days.  The issue with the xhtml validation is being caused by the Contact2.template.php file and needs to be updated.  I have, since, made the appropriate modifications to the code for that template...and now...the form validates as XHTML compliant.

vbgamer,

If you have any questions as to the modifications I made...please...don't hesitate to contact me (via PM) and I will be more than happy to help.
« Last Edit: May 28, 2011, 09:54:24 AM by GlitchPC »

Offline nukinfuts29

  • Semi-Newbie
  • *
  • Posts: 18
Re: Contact Page 2.1.2 now with SMF 2.0 RC5 Support!
« Reply #341 on: June 03, 2011, 08:43:54 AM »
Can I modify this so that it sends email as a different email account? Even if it's a dummy account. What i mean is my Blackberry makes the "ding" noise (my email comes to my phone) but you don't see a new message because it shows up like i sent it to myself. I have to hunt for it. Now if the emails came in from say robot@mydomain.com then they would show up all bright and shiney as a new, normal email.

The best would be if it showed that it came from the users email, because then i would only need to hit reply instead of reply to.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #342 on: June 03, 2011, 10:16:20 AM »
Updates
3.0
+Added new setting to allow you to set a custom email address to send contact form results to.
!Fixed some xhtml validation issues hopefully last ones
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

Offline nukinfuts29

  • Semi-Newbie
  • *
  • Posts: 18
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #343 on: June 03, 2011, 03:34:26 PM »
Thanks!

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #344 on: June 04, 2011, 09:32:01 AM »
vbgamer,

Uninstalled the older mod and downloaded/uploaded this one via the Package Manager.

After installation of your latest version, I've run into a couple of issues...

First...
I'm getting two errors in the Admin Error Log (see below)...

Error 1:

Code: [Select]
http://xxxxxxxx.xxx/index.php?action=admin;area=packages;sa=install;package=smfcontactpage3.0.zip
2: fclose() expects parameter 1 to be resource, boolean given
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/Subs-Package.php
Line: 2502

Error 2:

Code: [Select]
http://xxxxxxxx.xxx/index.php?action=admin;area=packages;sa=install;package=smfcontactpage3.0.zip
2: fopen(/xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/ManageSettings.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/Subs-Package.php
Line: 2495

Could you please advise?

Second...
The Contact page still does not pass XHTML validation due to a few issues I have found in the coding of the Contact.php and Contact2.php files.  If you go to my site's Contact page and click the link at the bottom to validate the XHTML, you will see just what those errors are.

You have included an extra space in a few lines of your coding which breaks the validation.

You're also missing a <tbody> element in the coding of the Contact templates.

I appreciate any answers and advice you have to give regarding the issues I have described above.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #345 on: June 04, 2011, 09:52:27 AM »
The errors are not related to the mod itself but looks lke SMF's package manager and those are caused by file permission issues on the website.
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

Offline GlitchPC

  • Full Member
  • ***
  • Posts: 429
  • Gender: Male
  • Gotta glitch?
    • Glitch PC - Free Computer Help
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #346 on: June 05, 2011, 05:43:27 AM »
The errors are not related to the mod itself but looks lke SMF's package manager and those are caused by file permission issues on the website.

Does the above comment relate to my entire post or, just the package install errors?  Upon installation of the mod, the Sources directory already had permissions set at 777 and the Subs-Package.php file was set at 755.

What about the coding of Contact.template.php and Contact2.template.php files which are causing the XHTML validation issues?

The Sources Directory has been CHMOD to 777 and the Subs-Package.php file is 755.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 RC5 Support!
« Reply #347 on: June 07, 2011, 09:33:55 AM »
I need to know what changes need to be made to fix the xhtml issues that I can update the package.
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

Offline Linda.V

  • Jr. Member
  • **
  • Posts: 384
  • Gender: Female
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #348 on: June 19, 2011, 01:57:02 AM »
Just installed this mod, great, thx vbgamer45

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #349 on: June 19, 2011, 02:07:26 AM »
Glad you enjoy the mod!
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

Offline olhippie

  • Semi-Newbie
  • *
  • Posts: 13
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #350 on: July 09, 2011, 07:13:53 PM »
Can someone please tell me how to activate the "contact page" mod, or where the settings are for it. I have downloaded it already to my forum. It's there but I cannot find any settings. HELP ! Sorry I am a newb to SMF.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #351 on: July 09, 2011, 08:40:29 PM »
It should add a tab to the default theme with a button called contact
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

Offline Qayyom Ashraf

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Male
  • Qayyom Ashraf
    • JangForum - Pakistan
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #352 on: July 16, 2011, 03:01:37 AM »
Where is custom email address settings' option to edit email ID for Contact Page.

I've installed successfully and tried to search out email ID's field, but failed.

Please guide me where is these settings / option ?
Qayyom Ashraf  |  Karachi-PK |::.www.JangForum.Com.::|

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #353 on: August 03, 2011, 05:14:10 AM »
I am still checking the W3C acceptance - it fails on Contact2.template.php - the mod itself works fine - thx for that

There are 2 errors:

Markup Validation Service (testforum)

Could you please check it?

ups... - haven't seen that GlitchPC has also asked for....

Also the 3.0 version has set in Contact2.template.php version 2.0...
thank you,
Inti31

Addition:
okay - problem solved - I tried a little bit - now it is valid but there is one thing:
membername, subject, messagetext, verification text is now white-colored - see here (testforum)

now I've to learn how to colorize the text items... :( - that it looks like before...

to get it valid just open Contact2.template.php and remove first
</tbody> in line 21 and add </tbody> in line 62 that it looks like "</tbody></table>"

cheers inti31
« Last Edit: August 03, 2011, 06:44:57 AM by Inti31 »
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline Anpu

  • Semi-Newbie
  • *
  • Posts: 41
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #354 on: August 04, 2011, 01:18:14 PM »
Awesome mod, ty!
I have a question though, I dont see Captcha in Contact form. Where am I making a mistake?
Thanks!

Offline deansmar

  • Jr. Member
  • **
  • Posts: 163
  • Gender: Male
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #355 on: August 05, 2011, 03:47:43 AM »
if your logged in, you wont see it, only guests see the Captcha..

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,483
    • ApplianceJunk.com
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #356 on: September 16, 2011, 08:29:40 PM »
Updates
3.0
+Added new setting to allow you to set a custom email address to send contact form results to.
!Fixed some xhtml validation issues hopefully last ones


Where do I set a custom email address?

Thanks,

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #357 on: September 16, 2011, 08:41:33 PM »
Check either modifications settings or features and options.
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

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,483
    • ApplianceJunk.com
Re: Contact Page 3.0 now with SMF 2.0 Support!
« Reply #358 on: September 16, 2011, 09:01:48 PM »
Check either modifications settings or features and options.

Found it, Modification Settings.

Works great, thanks!

Offline mrtarkhan

  • Jr. Member
  • **
  • Posts: 269
  • Gender: Male
  • IT Manager
    • mrtarkhan
Re:Persian Contact Page 3.0 now with SMF 2.0 Support!
« Reply #359 on: October 06, 2011, 05:48:13 PM »
good work, thanks.

persian (فارسی):

Code: [Select]
// Begin Contact Page Text Strings
$txt['smfcontact_contact'] = 'تماس با ما';
$txt['permissionname_view_contact'] = 'نمایش صفحه تماس';
$txt['permissionhelp_view_contact'] = 'کاربران اجازه مشاهده صفحه ی تماس و ارسال ایمیل را داشته باشند.';
$txt['cannot_view_contact'] = 'شما قادر به مشاهده صفحه تماس نیستید.';
$txt['smfcontact_name'] = 'نام:';
$txt['smfcontact_subject'] = 'موضوع';
$txt['smfcontact_body'] = 'پیام';
$txt['smfcontact_emailaddress'] = 'آدرس رایانامه (ایمیل)';
$txt['smfcontact_sendemail'] = 'ارسال پیام';
$txt['smfcontact_messagesent'] = 'پیام شما ارسال شد!';
$txt['smfcontact_messagesent_click'] = 'پیام شما ارسال شد! اینجا را ';
$txt['smfcontact_messagesent_return'] = 'برای بازگشت به انجمن</a> کلیک کنید.';
$txt['smfcontact_errname'] = 'شما می بایست نام خود را وارد کنید.';
$txt['smfcontact_errsubject'] = 'شما می بایست عنوان موضوع رو وارد کنید.';
$txt['smfcontact_errmessage'] = 'شما باید متن پیام خود را وارد کنید.';
$txt['smfcontact_erremail'] = 'شما می بایست ایمیل خود را وارد کنید.';
$txt['smfcontact_titlesent'] = ' - پیام ارسال شد.';
$txt['smfcontact_form'] = 'فرم صفحه ی تماس برای ';
$txt['smfcontact_formname'] = "نام: ";
$txt['smfcontact_formemail'] = "ایمیل: ";
$txt['smfcontact_ip'] = "IP: ";
$txt['smfcontact_formmessage'] =  "پیام: \n";
$txt['smfcontactpage_email'] = 'SMF ایمیل صفحه تماس: ';
// END Contact Page Text Strings
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))