The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template: Determine if file exists possible?
I have the following conditional for a hack:
Code:
<if condition="$attachment['replay']['official']"> <img src='images/mappics/{$attachment[replay][picname]}.png' style='width:200px; height:200px; margin:3px;' alt='{$attachment[replay][picpname]}' /> <else /> <img src='images/mappics/unofficial.jpg' style='width:200px; height:200px; margin:3px;' alt='{$attachment[replay][mapname]}' /> </if> If the map is an official one the picture of the map is displayed, if not a placeholder picture. Now we want to display, one after the other, also pictures of unofficial maps - of course only if the file for the map exists. Question: Is it possible to create something in a template that is looking into a specified folder in order to check wether a file is present or not? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|