1
Steakman
CBB Notification email
  • 2006/8/28 10:41

  • Steakman

  • Just popping in

  • Posts: 95

  • Since: 2005/9/3 0


Is it possible to edit the notification email template, so as the username of the person who posted the message, be included.

I have tried tried various combinations, but cannot get the username to show.

Any help would be greatly appreciated:

Something like this would be great:

Hello {X_UNAME},

A new post has been added in the {X_MODULE} module at our site. It was posted in the thread "{THREAD_NAME}" in the forum "{FORUM_NAME}".

-----------
{POST_NAME} posted by {?????}

{POST_CONTENT}
-----------

DO NOT reply to this email notification, to post a reply please follow this link:
{POST_URL}


You are receiving this message because you selected to be notified of all new posts.

If this is an error or you wish not to receive further such notifications, pleas
e update your subscriptions by visiting the link below:
{X_UNSUBSCRIBE_URL}

-----------

{X_SITENAME} ({X_SITEURL})
webmaster
{X_ADMINMAIL}
XOOPS 2.0.18/ PHP 5.0 / MySQL 4.1.21-standard

2
Will_H
Re: CBB Notification email
  • 2006/8/28 13:10

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


hmmmm

how about {POST_AUTHOR}

Just a shot in the dark there.

3
Steakman
Re: CBB Notification email
  • 2006/8/28 14:33

  • Steakman

  • Just popping in

  • Posts: 95

  • Since: 2005/9/3 0


Thanks for your suggestion.

I tried that one, but "{POST_AUTHOR}" was displayed in the email and not the authors name.

Any other ideas ?
XOOPS 2.0.18/ PHP 5.0 / MySQL 4.1.21-standard

4
McNaz
Re: CBB Notification email
  • 2006/8/28 14:55

  • McNaz

  • Just can't stay away

  • Posts: 574

  • Since: 2003/4/21


Hi Steakman.

I don't believe the notification handler exports the field you are looking for.

You'll have to modify the modules/newbb/include/notification.inc.php script to export your required field.

Cheers.

5
Steakman
Re: CBB Notification email
  • 2006/8/28 15:00

  • Steakman

  • Just popping in

  • Posts: 95

  • Since: 2005/9/3 0


Hi McNaz

Thanks for your response.

Do you know how easy this would be, and were I may find instructions?

Thanks
XOOPS 2.0.18/ PHP 5.0 / MySQL 4.1.21-standard

6
Steakman
Re: CBB Notification email
  • 2006/8/30 13:04

  • Steakman

  • Just popping in

  • Posts: 95

  • Since: 2005/9/3 0


Can anyone give me some pointers on how to do this?

Thanks
XOOPS 2.0.18/ PHP 5.0 / MySQL 4.1.21-standard

Login

Who's Online

131 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 131


more...

Donat-O-Meter

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

Latest GitHub Commits