The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to turn the last post info off for guests.
Not only remove it from the template - it should be turned off, so that the query is not run for guests. How would I do that? |
#2
|
||||
|
||||
![]()
I *think* (someone can correct me) that the lastpostinfo is stored in the forumcache, so you aren't making a query for it.
|
#3
|
|||
|
|||
![]()
Well, if it is in some cache, it still was query at one point.
But you are right in one point: it makes not that much sense to turn the queries off for one user group. Though, as there are more guests than members, the queries would not have to be run so often... |
#4
|
||||
|
||||
![]()
Usually the cache would get update only when needed. So, a new post is made, and the cache for that forum gets update with a new lastpostinfo. It isn't usually something that is run every 10 minutes or whatever. (Although, there are some that are like that if you set them to be like that.)
I did a search in the vb folder for lastpostinfo and found the stuff in the functions_forumlist.php file. You can read it there and see if you come to the same conclusion I did. |
#5
|
|||
|
|||
![]() Quote:
![]() Or did you mean this is part of a scheduled task? |
#6
|
||||
|
||||
![]()
No. I meant that the last post info is updated every time a post is made. Is it most likely NOT something that gets updated every 10 minutes.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|