Hello, i got an issue i've got a Custom Template made inside Index Template and made the name of it as Index_WatchVideo, when i call that template inside index template using this command
{$WatchVideo}
it doesn't load at all that happened after upgrading to the latest version of MyBB.
is there a solution ??
well i used to make it work without any issues before upgrading to 1.8.20 idk whether you got what i meant, but it's a template that got a little code as <map> and <img> it doesn't use php or something,
that's how the index template looks like
![[Image: Image-6.png]](https://camo.mybb.com/63cba78b07d4d88528b317abc202eb3ac94e415d/68747470733a2f2f692e706f7374696d672e63632f3158324e646e58482f496d6167652d362e706e67)
and that's how the template looks like from the inside
![[Image: Image-7.png]](https://camo.mybb.com/98d1f46ddc2c11a4715af9c3bf24728d4777e6e9/68747470733a2f2f692e706f7374696d672e63632f426e4d4b466e664d2f496d6167652d372e706e67)
^ $WatchVideo variable should have been defined in
index.php file of your
earlier MyBB version !
[related details can be seen at replies
here]
However,
I'd prefer using
template conditionals plugin & load custom template at
required location
ah i see i managed to do it, after adding this line
eval("\$WatchVideo = \"".$templates->get("index_WatchVideo")."\";");
in that thread
Here, i guess i forgot to do it, since when i upgraded i replaced all the files even index.php.
thanks a lot