MyBB Community Forums

Full Version: MyBB Cheat Sheet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This is perfect just what i needed. Thanks so much... I get faster answers here then on a sites i subscribed to.
Okay, I've been doing some template variable research and have come across these so far:
  • {$mybb->settings[‘bbname’]}
  • {$mybb->settings[‘bburl’]}
  • {$theme[‘imgdir’]}
  • {$theme[‘imglangdir’]}
  • {$mybb->user[‘email’]}
  • {$mybb->user[‘avatar’]}
  • {$mybb->user[‘uid’]}
  • {$mybb->user[‘postnum’]}
  • {$mybb->user[‘username’]}
  • {$mybb->user[‘logoutkey’]}
  • {$mybb->post_code}
If you can think of any ones I haven't included, please tell me.
To be honest cheat sheets do not help a lot and are usually pointless. And besides its so much more fun searching for it! It's like a treasure hunt Smile.
And theres far more vars in the templates than just those...
Those are just the global variables. I couldn't possibly do every single variable listed.
I think is a good idea for beginners Wink

Thanks cgeek.
I'm not sure if that'd be for beginners. I've only used the 1,2, 3 and 6 for customizations Toungue
(2009-11-14, 04:31 PM)combus Wrote: [ -> ]I'm not sure if that'd be for beginners. I've only used the 1,2, 3 and 6 for customizations Toungue

Really? I've just used 2 & 6 only. Toungue So I agree with you, Combus.
Pages: 1 2