vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   display new Thread in each forum (https://vborg.vbsupport.ru/showthread.php?t=34278)

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

Quote:

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

 $forum[title

replace it with:

PHP Code:

$forum[title] ? $forum[newforumthreadvew

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

in forumhome_formbit_level2_post
find:

PHP Code:

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

<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

Quote:

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/showthrea...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

Quote:

Originally posted by FireFly
Just like in this hack:
https://vborg.vbsupport.ru/showthrea...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

Quote:

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

Quote:

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]


All times are GMT. The time now is 03:33 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.05480 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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