![]() |
This hack lets you use conditions like on vbulletin 3.0.
examples: <if($bbuserinfo[userid]==0)>stuff</if> <if($bbuserinfo[userid]==0)>stuff<else />else stuff</if> <if($bbuserinfo[usergroupid]==0)> stuff </if> <if($bbuserinfo[usergroupid]==0)> stuff <else /> else stuff </if> And so on. Also I want to note, that at the moment, you cant use conditions inside a condition. It will mess up. I'll try to come up with a fix till then. If you like this hack and plan to use it, please click install. Now im off to school, if any one exspirences any problems, I'll get back to you asap. Hope you like it. |
Also note that its <else /> not <else> or <else/>
|
Very cool. :)
|
very very nice :) Installed :)
|
d00d i can't find any of the code in the functions.php file :(
|
Quote:
Find the gettemplates function and paste the first part of the code in it near the botton of it near the code that resembles the first part I told you to find. Then under the function add the one I made and thats basicly it. |
Is my mind completely shot or isn't this virtually identical to the other conditionals hack?
|
threads merged..
|
Quote:
|
I can't believe I've overlooked this hack for so long! This is brilliant! Great hack Logician!
|
All times are GMT. The time now is 11:11 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:
|