View Full Version : Do conditionals automatically mean more queries?
memobug
Fri 6th May '05, 3:20am
If I add conditionals to the postbit template to check and see if it's a certain userid, or if there are a certain number of posts in the thread, before providing the quickreply box, does that conditional necessarily add queries? Or is it a case of it depends..?
Regards,
Matt
Zachery
Fri 6th May '05, 3:56am
Conditionals do not, or at least rarely, ever increase querys, they are just simple if statments
shovel
Fri 6th May '05, 9:57am
A conditional addition such as that will never add queries. They simply reference from former queries in that script.
vBulletin® v3.8.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.