The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
That's a good idea and has helped me find some uncached templates.
In debug mode, I see that all userfields are queried twice on a showthread page. Once for the user who is browsing the page: Code:
SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid, ... FROM vb_user AS user LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid) ... WHERE user.userid = 1 Code:
SELECT post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted, user.*, userfield.*, usertextfield.*, ... FROM vb_post AS post LEFT JOIN vb_user AS user ON(user.userid = post.userid) ... WHERE post.postid IN (0,167,264360) ... So you would rather edit those queries instead of creating a new database table for the fields? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|