vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   How many threads and posts since your last visit! (https://vborg.vbsupport.ru/showthread.php?t=59583)

NTLDR 01-06-2004 09:17 PM

There is no COUNT() because that wouldn't do the job ;) I use a totally different method in order to get the three sets of data I need from just the one query, which with testing on a usual new post/thread count seems equally as fast as two queries.

Remember also thats more queries can sometimes be better and quicker.

Gary King 01-06-2004 11:14 PM

Quote:

Originally Posted by NTLDR
There is no COUNT() because that wouldn't do the job ;) I use a totally different method in order to get the three sets of data I need from just the one query, which with testing on a usual new post/thread count seems equally as fast as two queries.

Remember also thats more queries can sometimes be better and quicker.

I know, that's why I've left it at 2 queries (for now anyways, until I find time to test the different queries I could use and their speeds :D)

gmarik 01-08-2004 05:42 PM

Yours hacks are used rather often!

Linear Helix 01-08-2004 11:41 PM

Is it just me, or will this let people who have no access to a certain forum realize that a new post has been made even if they can't check it?

I make a post in my Central Command, some registered user sees that the posts since last visit went up by 1, even though he has no permission to view the post.

Anybody know a way to fix this? Check for permission somehow in or after the query?

DanGarion 01-09-2004 09:09 PM

Am I the only person that has no idea where to find the hack installer listed in the txt? installer.php?

:/

NTLDR 01-09-2004 09:14 PM

I think Gary W made an error, I don't think you need to run an installer with this hack, just make the changes listed :)

corsacrazy 01-09-2004 09:27 PM

LOL its just one file edit, like a mini mod

DanGarion 01-09-2004 09:39 PM

Yeah I figured it was just a accident. I got it working, now I'm working on trying out vbIndex and eventually replacing vbportal when I switch to 3.0. I got to post on the vbindex topic about an error I'm getting there now :)

DCX 01-10-2004 01:35 AM

i really want this hack on my forum but when i try to look in the global.php file, i cannot find those commands listed anywhere on that file. i did a search on the global.php file and i can't find anywhere it says echo or anything. and i'm not sure if the navbar template file is the same as the template file in the admincp directory or not.... can someone please help? thanks.

PranK 01-10-2004 11:39 AM

/me clicks install

Thanks mate!

Christian


All times are GMT. The time now is 09:42 AM.

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.01344 seconds
  • Memory Usage 1,734KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete