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
Not too sure why the theme isn't loading {3}, it seems to work just fine in the default styles.
(2010-12-22, 02:20 PM)Shukaku Wrote: [ -> ]Try this:
if(!$mybb->debug_mode)
        {
            echo $db->explain;
        }
Let me know if that works Smile

No don't do that, it will not do anything.. There is nothing to work with;
if(!$mybb->debug_mode)
        {
            echo $db->explain;
        } 

Please don't post codes which you might don't know if its correct. Learn php first :s

Its actually a variable missing in the $lang->sprint() function.

TheGodFather replace the old style file with the new one.
awesome yaldaram. thanks Big Grin

i already had that doubt when shukaku posted that code. he just made that function to call even debug mode is not activated which doesnt make sense as it is not dependent on that function. :p

the memory usage function you added in file, fixed the issue yaldaram. Smile
Thanks. Smile

Yea.. people should have to learn "PHP" before experimenting the code. Wink

Thanks for the rep too Smile May God Bless you Big Grin
take it easy shukaku Wink
(2010-12-22, 04:03 PM)Shukaku Wrote: [ -> ]I find that rather insulting, I was just trying to help you know. Oh wait, I can't give help when the master of MyBB is posting...

If you feel this an insult, well I don't think so..

Telling people to learn php doesn't considered an insult. Unless I seriously go beyond telling you bad words..

I know you are helping to the community, and I admit this. Smile
Good luck in future mate Smile
Pages: 1 2