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
and that's how the template looks like from the inside
^ $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