vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Show new posts since last visit (https://vborg.vbsupport.ru/showthread.php?t=175991)

dharris 04-12-2008 11:07 PM

Show new posts since last visit
 
I'd like to be able to display a little piece of text next to thread names if a user has visited them before. The text should say how many new posts there are since the users last visit of the thread.

There must be some kinda of system like this with vBulletin..

Once i enable this system, my plan is to edit it's template and pretty it up some. Put a nice box round it, colour it and stuff.

So yeah, how can i get the number of new posts since last thread visit to display on each thread title in forum display?

Boofo 04-13-2008 12:02 AM

You would have to run a query for each thread. If you have 15 threads listed on that page, it would be an extra 15 queries. Not a very realistic way to go. ;)

PaulSonny 04-13-2008 06:45 AM

I agree, and for some users that change their settings (like me) and display more than 15 posts on a page then this is not good at all.

When users search for New Posts it shows the ones that have been updated since their last visit, and it also shows the ones that havent been read but not updated since last visit.

Thanks, Paul.


All times are GMT. The time now is 06:51 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.01806 seconds
  • Memory Usage 1,704KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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