Sorry in advance if this has been covered.
I am trying to create a simple sidebar plugin that makes a call to an external php class and returns back with a set of names (minecraft player names from a server).
I have follow this instructions of Fuhrmann the wise here and have a working sidebar with a template.
The problem I have is adding php code in to the template that makes the call to the php class and print the names of the players.
doing
<?php
code...
?>
within a template does not seem to work.
I have tried using Kitomi's Generic script bridge within the sidebar template which does not work. I have the code I want working from a page based on the script bridge though. Just not in a sidebar.
I am new to xenforo and have tried to find a definitive guide on programming addons. Can someone please point me in the right direction.
Thanks and regards
Ratava
I am trying to create a simple sidebar plugin that makes a call to an external php class and returns back with a set of names (minecraft player names from a server).
I have follow this instructions of Fuhrmann the wise here and have a working sidebar with a template.
The problem I have is adding php code in to the template that makes the call to the php class and print the names of the players.
doing
<?php
code...
?>
within a template does not seem to work.
I have tried using Kitomi's Generic script bridge within the sidebar template which does not work. I have the code I want working from a page based on the script bridge though. Just not in a sidebar.
I am new to xenforo and have tried to find a definitive guide on programming addons. Can someone please point me in the right direction.
Thanks and regards
Ratava