PDA

View Full Version : Mini Mods - Change Contact Us Email 1.0


ForumsMods
08-20-2008, 10:00 PM
Change Contact Us Email 1.0

Description:
Change the email address for which the contact us form data is sent to.

Installation:
1)Import the product.

Where to set option:
vBulletin Options-> Site Name / URL / Contact Details-> Contact us Email Address

Languages:
- English

History:
1.0 21-08-08
- First Release

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

military-space
08-21-2008, 09:18 PM
Installing now...I have been looking for a way to change this from the regular forum wide notice email. Thank you.

GaiLoan
08-21-2008, 10:27 PM
thanks, this is great, no more spam Installing

BucWiLd
08-21-2008, 11:19 PM
im still wondering exactly, what this does

Videx
08-22-2008, 01:22 AM
im still wondering exactly, what this doesAgreed. "Change the email address for which the contact us form data is sent to." just doesn't make any sense. Or I'm too dumb to grasp it.

Barakat
08-22-2008, 04:50 AM
great one .. thanks

SEOvB
08-22-2008, 05:23 AM
Agreed. "Change the email address for which the contact us form data is sent to." just doesn't make any sense. Or I'm too dumb to grasp it.

When users use the sendmessage.php script to contact the site owner, the email goes to the "Webmasters Email" entered in the AdminCP.

This modification will let you have that form sent to another email address if you wish, such as feedback@site.com.

I suppose some people would have a use for it, but why they dont use the same as the webmasters email is beyond me. But different strokes for different folks

And i suppose you could always use the earlier version posted here: https://vborg.vbsupport.ru/showthread.php?t=119802 which from the looks of it is the exact same code, minus some description texts... :rolleyes:

veenuisthebest
08-22-2008, 06:14 AM
We can always use this way to send mails to specific userid's from the default contact us options in admincp:-

{1} Site Feedback
{1} Registration Problem
{example@example.com} Help

So, simply prefixing a userid in the above format would do it.

The only thing where the above vb feature lacks in is for "OTHERS" subject which I hope this mod fulfills ;)

pipin
08-22-2008, 07:07 AM
I suppose some people would have a use for it, but why they dont use the same as the webmasters email is beyond me. But different strokes for different folks



Cause you get all emails to the same account:

database warnings, auto-replys from forum mailing between members ...


Thats one thing i never understood.

Bellinis
08-22-2008, 09:04 AM
How about adding the option to post "Contact Us"-messages as posts in a certain forum? ;)

veenuisthebest
08-22-2008, 10:17 AM
that would be a different mod then. check this (https://vborg.vbsupport.ru/showthread.php?t=186926).

Mutt
08-22-2008, 01:35 PM
We can always use this way to send mails to specific userid's from the default contact us options in admincp:-

{1} Site Feedback
{1} Registration Problem
{example@example.com} Help

So, simply prefixing a userid in the above format would do it.

thanks, this is great. didn't realize you could do that

Videx
08-22-2008, 02:38 PM
Cause you get all emails to the same account:

database warnings, auto-replys from forum mailing between members ...


Thats one thing i never understood.Yes, but I have no problem filtering those from gmail and sending them to the appropriate people.

What I'd rather see is an easy way to change the From: addy on all the subscriptions.

choccyclaire
08-22-2008, 02:49 PM
I still don't get it. Isn't that option already in the vBulletin Options?

ForumsMods
08-22-2008, 05:20 PM
And i suppose you could always use the earlier version posted here: https://vborg.vbsupport.ru/showthread.php?t=119802 which from the looks of it is the exact same code, minus some description texts... :rolleyes:
The code is very similar, because the original code of vBulletin is this:

if (!empty($alt_email))
{
if ($destemail == $vbulletin->options['webmasteremail'])
{
$ip = IPADDRESS;
}
else
{
$ip =& $vbphrase['n_a'];
}
$destemail =& $alt_email;
}
else
{
$ip = IPADDRESS;
$destemail =& $vbulletin->options['webmasteremail'];
}

and to replace email ($vbulletin->options['webmasteremail']), it is necessary to replace all code.

You can view the original code in sendmessage.php in lines 283-299, above the hook sendmessage_docontactus_complete.

Marco van Herwaarden
09-25-2008, 07:15 AM
Do you have permission from rogersnm (https://vborg.vbsupport.ru/member.php?u=140348) to re-use his code, as this is an almost 100% copy of his modification. Even the text for the options etc.. are 99% the same.