16-12-2017, 12:01 PMPenny Wrote: Tutti Frutti
For example you can load users online from portal.php like this:
- Add this code into footer template
Code:<script type="text/javascript"> jQuery(function(){ jQuery(".your_div_class").load("{$mybb->settings['bburl']}/portal.php .your_div_class"); }); </script>
And
where you want to show it.Code:<div class="your_div_class"></div>
- Move to portal_whosonline template and add your_div_class for everything like:
Code:<div class="your_div_class">default portal_whosonline content</div>
That's not what I was looking for, I had to do core editing and take codes from index.php to Global.php which I have and was playing with it until I got it to work.