vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding PostID/Timestamp to EMail Notification Subject... (https://vborg.vbsupport.ru/showthread.php?t=120644)

maayan porat 07-08-2006 11:08 AM

Adding PostID/Timestamp to EMail Notification Subject...
 
We need to add the Post ID or the TimeStamp or any other unique value to the email notification subject WE receive when someone posts a new message or creates a new thread.

We were advised to add the $postid to the "moderator" token:
So we altered the
moderator ($vbphrase[moderator] value to:

"New Post/Thread Notification: $foruminfo[title_clean] $postid"
(added the $postid at the end)

We've tested it and the $postid is completely ignored!

We desperately need to add a unique value to each email notification Subject we receive - PostId, TimeStamp or any other unique value you can think of.

Any idea what am I doing wrong and how can this be achieved?

We are also willing to change the email.php file if needed - (is this the one? and how? or any other relevant file/s)

Any help would be most appreciated.

Maayan

maayan porat 07-10-2006 05:30 PM

I would appreciate if anyone can reply.
Any information will help!
Thanks.

Paul M 07-10-2006 05:51 PM

Have you tried just adding time() ?

maayan porat 07-10-2006 06:03 PM

Just tried this for the moderator pharse:

New Post/Thread Notification: $foruminfo[title_clean] time()

Thanks for your help but this doesn't help.
It has just added the string "time()" after the forum title.

Any other idea that may help?

Paul M 07-10-2006 06:20 PM

What exactly are you editing ?

maayan porat 07-10-2006 06:32 PM

I am trying to edit

$vbphrase[moderator]

that is being used to set the subject text for the email notification.
As stated, we are trying to add the PostID or TimeStamp or any other unique value for this phrase.

We can modify the text but cannot add any variable (until now anyway).

Any idea on how we can add a unique value to the email subject?

Thanks.


All times are GMT. The time now is 02:41 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.01155 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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