PDA

View Full Version : New threads


Martz
06-04-2001, 08:11 PM
An idea for a simple hack to show the number of new threads / views / members index.php

Example, my index.php shows the forum stat info on the index page as:

Totals: x threads | x posts | x views

I'd like to be able to show how many are new to the user since their last visit, in brackets in place of z such as:

Totals: x(z) threads | x(z) posts | x(z) views

Does anyone have any pointers or thoughts? :)

Raptor
02-26-2002, 07:01 PM
i had this hack on my system but just updated to 2.2.2 and its dissapeared - cant find it anywhere

it used the strings: <b>$getnewthread[threads]</b> threads and <b>$getnewpost[posts]</b>
posts since your last visit

Lesane
02-26-2002, 07:27 PM
Originally posted by Raptor
i had this hack on my system but just updated to 2.2.2 and its dissapeared - cant find it anywhere

it used the strings: <b>$getnewthread[threads]</b> threads and <b>$getnewpost[posts]</b>
posts since your last visit

https://vborg.vbsupport.ru/showthread.php?s=&threadid=31957&highlight=visit ;)

Raptor
02-26-2002, 07:47 PM
sweet !

I was looking for that - thanks a lot :)