PDA

View Full Version : display new Thread in each forum


illogicalx
01-19-2002, 10:00 PM
This hack displays how many new Thread was created in each forum since your last visit .

illogicalx
01-19-2002, 10:07 PM
screenshot

Shenlong
01-19-2002, 10:29 PM
Great hack! smooth installiation, very easy, and no bugs! i dunno how u can go wrong on this!

THIS works 100% correctly with vbb 2.2.1!

illogicalx
01-19-2002, 10:33 PM
Originally posted by Shenlong
Great hack! smooth installiation, very easy, and no bugs! i dunno how u can go wrong on this!

THIS works 100% correctly with vbb 2.2.1!

ohh nice that you like it :)

thanks

Tarion
01-19-2002, 10:54 PM
THX for this Hack, but one question ist this also for the posts makeable???

illogicalx
01-19-2002, 11:00 PM
[QUOTE]Originally posted by Tarion
THX for this Hack, but one question ist this also for the posts makeable??? [/QUOTE

No Threads only

Tarion
01-19-2002, 11:08 PM
OK i try it for my own but it dos not work :)

THX for your other great Hack

Shenlong
01-19-2002, 11:08 PM
What I also did, is excluded this step:

find
$forum[title]

replace it with:

$forum[title] ? $forum[newforumthreadvew]

If you dont want it appearing like in the screenshot, do this:

in forumhome_formbit_level2_post
find:

<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>

First, add a <BR> after the </a>, then add this:
<normalfont><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]">$forum[newforumthreadvew]</a></normalfont>

then u can customize that if u like

illogicalx
01-19-2002, 11:26 PM
Shenlong

nice :)

you can customize it as you like :)

Shenlong
01-19-2002, 11:31 PM
thank u illogical

heres a screenshot of my version:

Kumaro
01-19-2002, 11:42 PM
not working for me. I get no errors, but it doesn't show up where i put it.

Kumaro
01-19-2002, 11:43 PM
sorry, my fault. i got it. Great hack.

Kumaro
01-19-2002, 11:48 PM
This would be great if it included the posts as well. like this:

"there are 2 new threads and 22 new posts"

^^ like that... ^^

anyway, still a great hack.

illogicalx
01-20-2002, 03:53 AM
Originally posted by Kumaro

This would be great if it included the posts as well. like this:

"there are 2 new threads and 22 new posts"


^^ like that... ^^

anyway, still a great hack.



hmmm
i think it'll be crowded

is it ?

Shenlong
01-20-2002, 03:58 AM
Yes I did my own little integration and it does appear crowded, theres a point where u cant add anymore, I think the threads is good, but if u really want to put that, i guess u could request it

Admin
01-20-2002, 05:57 AM
Just like in this hack:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34281
You are adding a query inside a loop. So, for example, if you have 20 forums on your main page, you are adding 20 queries to it = slows down the page a lot.

illogicalx
01-20-2002, 06:14 AM
Originally posted by FireFly
Just like in this hack:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34281
You are adding a query inside a loop. So, for example, if you have 20 forums on your main page, you are adding 20 queries to it = slows down the page a lot.


20 queries it's not a big deal :p

thanks FireFly :)

Admin
01-20-2002, 06:33 AM
Originally posted by illogicalx
20 queries it's not a big deal :p
Considering the page only uses 19 queries by default, 20 more are a big deal.

illogicalx
01-20-2002, 07:35 AM
Originally posted by FireFly

Considering the page only uses 19 queries by default, 20 more are a big deal.

aha


i'll try to be far from queries , anyway it an optional hack :)


thanks a lot FireFly for your comments :)

Lesane
01-20-2002, 10:38 AM
Nice hack, well done.

nuke
01-20-2002, 02:34 PM
This hack is ment for threads, isnĀ“t it? Is it possible to do it for posts or combine them both?

thx for help

wolfe
03-02-2002, 01:27 AM
i put mine here

in the temp forumhome_forumbit_level2_post

i put this

<br><smallfont>$forum[newforumthreadvew]</smallfont>

after this

<td bgcolor="{firstaltcolor}"><normalfont><a href="javascript:who($forum[forumid])"><u>$forum[threadcount]</u></a></normalfont>

looks cool

and in the temp forumhome_newforumthreads

i put <b>[$newforumthreadvew]</b> New

enjoy

ExcErr
03-10-2002, 10:04 AM
hey, how add new POST count ?

ExcErr
03-10-2002, 10:25 AM
it's possible to show this stats in profile?
[sorry, this post is from another thread]