1
kahumbu
Contact Us From Name Hack
  • 2004/5/12 20:10

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


This small hack will let you reply to emails from the Contact Us module using the username as the "From Name" instead of the site name. This means that you will get "User Name" instead of "Site Name".

Open and edit ../modules/contact/index.php

Line 75:

from:
$xoopsMailer->setFromName($xoopsConfig['sitename']);

change it to:
$xoopsMailer->setFromName($usersName);

Ain't that simple?

Login

Who's Online

616 user(s) are online (320 user(s) are browsing Support Forums)


Members: 0


Guests: 616


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Sep 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits