Log in

View Full Version : new POST notification


DeeD
06-23-2006, 02:29 PM
I want new post notifications to contain the link to the actual post rather than to the first page of the thread. I tried replacing part of the original phrase:


Hello,

$bbuserinfo[username] has just posted in the $foruminfo[title] forum of $vboptions[bbtitle] under the title of $threadinfo[title].

This thread is located at $vboptions[bburl]/showthread.php?threadid=$threadinfo[threadid]

Here is the message that has just been posted:
***************
$post[message]
***************


with what should have included the title and link to the post:

Hello,

$bbuserinfo[username] has just posted in the $foruminfo[title] forum of $vboptions[bbtitle] under the title of $threadinfo[title].

$postinfo[title]
$vboptions[bburl]/showthread.php?postid=$postinfo[postid]#post$postinfo[postid]

Here is the message that has just been posted:
***************
$post[message]
***************


The result was weird. The post title didn't appear at all and the link was blank, i.e. didn't contain the ID of the post at all. Can anyone explain me what's wrong?

DeeD
06-30-2006, 09:57 AM
Ohhh... Ok. This explains everything. Thanks for the help, guys! You are the best!

Dee.

peterska2
06-30-2006, 11:50 AM
The default phrase contains a link that takes you to your first unread post in that thread.

I suggest reverting the phrase and trying it again.

If you have email notification enabled for here, you will notice that you were brought to this post through the link and not to the first post of the thread.

DeeD
09-29-2006, 12:22 PM
Do I have to mention the ACTUAL outcome again? Go back to my first message:The result was weird. The post title didn't appear at all and the link was blank, i.e. didn't contain the ID of the post at all. Can anyone explain me what's wrong?
There was NO LINK AT ALL in the notification when I replaced the phrase! That is the problem! I can't figure out why it doesn't show up at all!

Dee.

SCRIPT3R
09-29-2006, 03:33 PM
how 'bout trying what peterska2 suggested and reverting your phrases. your attitude stinks.