The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Well found another coding error and can't seem to figure out what is going on. Need someone to look over this for me and tell me if there is another way to work the if condition or work around for it.
PHP Code:
Steve |
#2
|
||||
|
||||
![]()
What is it that you want to happen and what is happening? Just seeing some code without an explanation doesn't give me a place to start. Is this a plugin? Where does the output go?
|
#3
|
|||
|
|||
![]()
The variable $showfile is used in my template to display the file depending on the usergroup ids pull from the DB. Instead of it showing any files it is blank. I remove the $showfile if condition and it works so I know the showfile variable is causing the issue, its not rendering the usergroup ids as existent or something.
|
#4
|
||||
|
||||
![]()
Did you register the $showfile variable?
If it is not registered in the template it will display nothing. |
#5
|
|||
|
|||
![]()
BBR-APBT: You have a point, I completely forgot about that variable. I will check it.
|
#6
|
||||
|
||||
![]() Quote:
LOL It may not be the case but if you have not registered it I would say that is the case. |
#7
|
|||
|
|||
![]()
Thanks much, that was the case. Can't believe I missed that variable. It works now, I can finish playing WoW happy and work on it more this evening.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|