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

346 user(s) are online (215 user(s) are browsing Support Forums)


Members: 0


Guests: 346


more...

Donat-O-Meter

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

Latest GitHub Commits