MyBB Community Forums

Full Version: where is this {3} memory declared in acp theme file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i see that the simon.s's blue vision - acp theme had an error in displaying the memory usage in the footer.
[attachment=20907]

in which default acp template file, is this memory variable declared?
[attachment=20906]

Go to: http://yourdomain.com/admin/index.php?mo...&inadmin=1

Replace yourdomain.com with your own domain name and find;

generated_in

See if the following is written properly ?
Generated in {1} seconds with {2} queries. Memory Usage: {3}
This is just a theme problem, I also use this theme.
^^, yeah.

it has the correct code yaldaram. dont know at which place is this code used in blue vision acp theme.
if we take the mybb default acp theme.. in which theme file it is called?
(2010-12-22, 01:10 PM)TheGodFather Wrote: [ -> ]^^, yeah.

it has the correct code yaldaram. dont know at which place is this code used in blue vision acp theme.
if we take the mybb default acp theme.. in which theme file it is called?

Replace old ./admin/styles/BlueVision/styles.php file with the following;
<-removed->

I removed the file due to copyright issues. TheGodFather if you need any help feel free to ask to the author of that theme.
I asked Kieran to remove the attachment as it is in violation of the theme's license. Your not allowed to redistribute modified copies unless you have permission...
I removed the file due to copyright issues. TheGodFather if you need any help feel free to ask to the author of that theme.
no problem yaldaram. i'm about to say that after seeing your attachment. you simply removed the footer credits code unfortunately and that is not i'm asking Toungue
i just want that {3} at the right end to display correct info.
found that this code in the style.php of the bluevision is failing to display the output correctly.
if($mybb->debug_mode)
		{
			echo $db->explain;
		}
is there a way to fix it?
Try this:
if(!$mybb->debug_mode)
        {
            echo $db->explain;
        }
Let me know if that works Smile
same issue. {3} unchanged.
its weird that the memory stats are displayed even though this code is removed

if($mybb->debug_mode)
        {
            echo $db->explain;
        }
Pages: 1 2