The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is it possible for a plugin to use a template variable? I'm very new at this and am trying to get a bit of code to work.
Code:
$show['thumb_exists'] = file_exists('/home/mesing/public_html/links/link_images/14_t.jpg');
Also, besides me removing the file to check the evaluation is there a better way to check? I looked all over the CP and couldn't find anywhere to check variable evals. Thanks, |
|
#2
|
|||
|
|||
|
I ended up editing the PHP file instead of using a plugin. I guess a template variable cannot be accessed by a plugin.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|