02-17-2018, 01:39 AM
04-25-2018, 12:57 PM
How can I display Usergroups Owner, Leaders, Number of Members and Join ?
11-17-2018, 11:23 AM
Hi All,
I'm new to using this plugin. When I use this plugin on the latest version of MyBB, I get this error when trying to use a custom global template I've created:
Parse error: syntax error, unexpected 'ob_start' (T_STRING) in /{PATH_REMOVED}/global.php(872) : eval()'d code on line 9
In the header template for one of my themes, I have the following:
I'm new to using this plugin. When I use this plugin on the latest version of MyBB, I get this error when trying to use a custom global template I've created:
Parse error: syntax error, unexpected 'ob_start' (T_STRING) in /{PATH_REMOVED}/global.php(872) : eval()'d code on line 9
In the header template for one of my themes, I have the following:
Code:
|
I created a global template called random_logo with the following contents:
Code:
|
What am I doing wrong?
12-28-2018, 10:17 AM
hello , i don't know whether this Plugin still supported and updating or not , but please if you can make it able to use while statement it will be amazing , tried using while statement but failed with many things the only thing that will work if i use the code i want bbut instead of while i use "if" but it won't do things looped
here is the code i wanna use !!
i guess it doesn't support using the codes
<?php
?>
try the codes you want without those it will work , tried many times
here is the code i wanna use !!
PHP Code:
|
(11-17-2018 11:23 AM)own3mall Wrote: [ -> ]Hi All,
I'm new to using this plugin. When I use this plugin on the latest version of MyBB, I get this error when trying to use a custom global template I've created:
Parse error: syntax error, unexpected 'ob_start' (T_STRING) in /{PATH_REMOVED}/global.php(872) : eval()'d code on line 9
In the header template for one of my themes, I have the following:
Code:
<template random_logo>
I created a global template called random_logo with the following contents:
Code:
<?php $randomInt=rand(1,3); $imgToUse="images/logo_" . $randomInt . ".png"; // echo $imgToUse; ?> <a href="{$mybb->settings['bburl']}/index.php"><img src="{$imgToUse}>" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
What am I doing wrong?
i guess it doesn't support using the codes
<?php
?>
try the codes you want without those it will work , tried many times
12-29-2018, 08:32 PM
06-16-2020, 09:46 PM
German:
Hätte mir jemand eine Lösung, wie ich in den Hilfedateien von MyBB V1.8.22 auch PHP wie z.B.:
Hätte mir jemand eine Lösung, wie ich in den Hilfedateien von MyBB V1.8.22 auch PHP wie z.B.:
PHP Code:
|
einbinden kann?
English.
If someone would have given me a solution, as I did in the help files of MyBB V1.8.22 also PHP like :
PHP Code:
|
06-21-2020, 06:14 AM
As long as your syntax is correct, it should works.
06-22-2020, 01:38 AM
The syntax works correctly in the templates. Not in the help pages (misc). But in the help pages isn't work. What can/must i do?
06-22-2020, 02:05 AM
I've tried it in misc_help template, it works.