vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Link to specific Post in notify email (https://vborg.vbsupport.ru/showthread.php?t=101278)

Sonnenvogel 11-21-2005 04:29 PM

Link to specific Post in notify email
 
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":
PHP Code:

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:
PHP Code:

Authorunregistred
Forum
Multi Media
Thread
Filmtippwhat 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?


All times are GMT. The time now is 02:11 AM.

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.01045 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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