MyBB Community Forums

Full Version: Anything
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been trying to find a list of some of the usable variables for MySQL for making plugins and using PHP within my templates (using http://mybbhacks.zingaburga.com/showthre...260&page=3) But the whole of the MyBB docs seem to be broken, dead links or outdated... And I can't find any resources. Is there any list of available variables, or do I just get to play a massive trial and error game for everything?
(2012-11-12, 11:06 AM)Sudo Wrote: [ -> ]But the whole of the MyBB docs seem to be broken, dead links or outdated... And I can't find any resources.

The docs site was recently converted from Wikimedia to Github Pages and it's still a WIP.

(2012-11-12, 11:06 AM)Sudo Wrote: [ -> ]Is there any list of available variables, or do I just get to play a massive trial and error game for everything?

It depends on what you're specifically looking for. There are thousands upon thousands of variables within MyBB.

Perhaps this is what you're looking for?

http://www.mybbsecurity.net/docs/class/DB_MySQL.html
http://www.mybbsecurity.net/docs/index.html
http://www.mybb.com/sourcedocs/nav.html?index.html
Upload this file in your root and call in your browser:

[attachment=27733]
Thank you both very much this is everything I needed. Just couldn't even find where to begin, feel as if I'm joining an old game a bit too late. Will go and see what I can come up with now.