Log in

View Full Version : Link to specific Post in notify email


Sonnenvogel
11-21-2005, 04:29 PM
Hi,

i would like to make vBulletin sending me notification emails to me as a moderator or an admin, with the link to the specific post, each time a new post is created in a thread.

My problem however:

This is the code in i have in "moderator" under under Phrase typ "Email Body Text":
Author: $bbuserinfo[username]
Forum: $foruminfo[title_clean]
Thread: $threadinfo[title]
Link1: $vboptions[bburl]/showthread.php?t=$threadinfo[threadid]&goto=newpost
Link2: $vboptions[bburl]/showthread.php?t=$threadinfo[threadid]&goto=lastpost
Link3: $vboptions[bburl]/showthread.php?t=$threadinfo[threadid]#$post[postid]

This is how it shows up in the notification email:
Author: unregistred
Forum: Multi Media
Thread: Filmtipp: what the !"#@ do we know?
Link1: http://forum.erkenntnis.org/showthread.php?t=2181&goto=newpost
Link2: http://forum.erkenntnis.org/showthread.php?t=2181&goto=lastpost
Link3: http://forum.erkenntnis.org/showthread.php?t=2181#

You see above that lastpost and newpost are producing the same link, which always shows the last, most recent post, which not neccessarily have to be the certain post the notification email was sent for.
And most important, the postid is not showing up.

The vbulletin support told me that there needs to be a code modification for that, probably in "class_dm_threadpost.php" and that i should ask for help here in the forum.

Anyone here who could help me in this case?

Thank you,
Axel

dieselpowered
11-21-2005, 05:23 PM
Hmmmm this is in the wrong area...this is for releases, not questions my friend.

flup
11-21-2005, 06:00 PM
$threadinfo[postid] perhaps?

Marco van Herwaarden
11-21-2005, 09:44 PM
Moved.

Why not just subscribe to the thread?