The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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:
|
#2
|
||||
|
||||
No, they can't be.
|
#3
|
||||
|
||||
Thanks, Chen. I kind of figured that, but thought it was worth a try.
|
#4
|
||||
|
||||
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?
|
#5
|
||||
|
||||
Yes but it will add at least 3 more queries. If you want I'll give you the code.
|
#6
|
||||
|
||||
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:
|
#7
|
||||
|
||||
Any luck on the code yet, Chen?
|
#8
|
||||
|
||||
Oops, forgot. Use this function:
https://vborg.vbsupport.ru/showthrea...threadid=41934 |
#9
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|