View Full Version : Email URL Notification Hack
How can I change it so that when I (or a user) receives an email notification, it gives the actual URL (including #post) so that when you click on it, it goes directly to the message you haven't read. Now you have to wade through all the messages (and if you have a 30+post thread - that's a lot of messages).
Try this,
Open up the "notifyemail" template and change this line:
$bburl/showthread.php?threadid=$threadid
To this:
$bburl/showthread.php?threadid=$threadid#$postid
This is untested but it should work. Let me know.
~Chris
After looking more closely I dont think that will work for multipage threads :(
You could do this:
$bburl/showthread.php?goto=newpost&threadid=$threadid
But that would just take them to the last post in their thread.
Maybe something like this would work:
$bburl/showthread.php?goto=newpost&threadid=$threadid#$postid
Im just guessing now, but hopefully one of those will work for you.
~Chris
change the line in the notifyemail template to this:
$bburl/showthread.php?threadid=$threadid&goto=newpost
That will go to the first unread post in the thread.
[Edited by rangersfan on 08-09-2000 at 12:34 AM]
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.