MyBB Hacks

Full Version: Template Conditionals
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
I just wanna kindly ask you if you can in your free time release a new version compatible with latest php 7 release... thats all. This plugin is a must have choise for MyBB. Thank you in advance, have a nice day!
Updated to v1.8 for PHP 7 compatibility.  As of this version PHP 5.3 or later is required.
Thank you very much!
I have some php code that displays the number of players online for bf4 and I would like to get it to display in a portal box is this possible? (I have limited knowledge in how all the coding works)

I have "PHP and Template Conditionals" plugin installed, and I have tried to edited the portal Templates but can not work it out.

I have attached the php file
Hey Zinga is there a conditional for:

if postcount X in forumid X ?

Thanks.
No, the information isn't stored anywhere.
I'd suggest adding new commonly used 1.8 functions, such as is_member or format_avatar, to the allowed functions file.
Thanks for the suggestion.  Just wondering, would you happen to have a list and/or be willing to create one, of the functions that should be added?
Thank you.
Mainly the 2 mentioned above, perhaps also format_time_duration. The rest is not really usable in templates.
Hello,

I'm on PHP 5.6.

Why when i using

Code:
<?php include 'file.php'; ?>

in Chrome Developer Tools in Source i can see

Code:
<!--?php include 'file.php'; ?--!>


Mybb change < to <!--

Any ideas how i can fix that?

Thank you

Pages: 1 2 3 4 5 6 7 8 9 10 11
Reference URL's