![]() |
Combine these 2 queries?
Can someone please tell me if the 2 following queries can be combined into one to pull out both pieces of information? And if so, how?
PHP Code:
PHP Code:
|
No, they can't be.
|
Thanks, Chen. I kind of figured that, but thought it was worth a try.
|
Is there a way to keep either one of those from being viewed by users that don't have permissions to view them? Like for a private forum and have it default to a second choice that is not private forums for those who can not view them?
|
Yes but it will add at least 3 more queries. If you want I'll give you the code.
|
Yes, please, would you? I want to look at it and study it. I'll go ahead and use it since my forum is not very busy yet. :)
Quote:
|
Any luck on the code yet, Chen? :)
|
Oops, forgot. Use this function:
https://vborg.vbsupport.ru/showthrea...threadid=41934 |
Can't say that I haven't had others feel the same. :( :)
Thanks for the code. I'll see if I can figure out how to use it. |
All times are GMT. The time now is 07:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|