vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   new POST notification (https://vborg.vbsupport.ru/showthread.php?t=119450)

DeeD 06-23-2006 01:29 PM

new POST notification
 
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:

Code:

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


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 08:57 AM

Ohhh... Ok. This explains everything. Thanks for the help, guys! You are the best!

Dee.

peterska2 06-30-2006 10: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 11:22 AM

Do I have to mention the ACTUAL outcome again? Go back to my first message:
Quote:

Originally Posted by DeeD
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 02:33 PM

how 'bout trying what peterska2 suggested and reverting your phrases. your attitude stinks.


All times are GMT. The time now is 04:24 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.01559 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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