vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Missing guest emails on Contact Us page (https://vborg.vbsupport.ru/showthread.php?t=251899)

valdet 10-10-2010 11:01 AM

Missing guest emails on Contact Us page
 
I have a problem on vB3 where if a guest user contacts me through Contact Us form, their email is not sent to me on mail. There is no way for me to contact the guests where they report or ask about anything on my site.

Although email field is required for guests and cannot be left blank, on email report all I get is similar to following

Quote:

Referring Page: http://www.mysite.com/forum/
IP Address: xxx.xxx.xxx.xxx
User Name: Unregistered
User ID: 0
Email:
Does anyone know why this problem occurs. Is anyone else having the same problem? I have few hacks installed and vBSEO.

I appreciate any tips.

Thanks

Lynne 10-10-2010 03:10 PM

This works fine on my 3.8 site. Try using a totally default style and then test it.

valdet 10-11-2010 08:12 AM

Thanks Lynne,

I tried with a default style and I also reverted the contactus template to default, then disabled vBSEO and No-Spam for Contact Us page. But it didn't work.

We use Google Apps for emails so all emails from that page are looking like coming from us and not showing the real user email which they entered on top of page.

After checking the code in sendmessage.php, I changed the vbmail function which creates the email and now we are able to see the user email as well.

Here is the code which worked in my case

Code:

        vbmail($destemail, $subject, $message, false, $vbulletin->GPC['email'], '', $email);
Now instead of guest names in email header, we get their email accounts.

Thanks and I hope other members with similar problem, find this useful.
Val.

Lynne 10-11-2010 02:17 PM

Thanks for posting what worked for you. :)


All times are GMT. The time now is 11:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01016 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete