2011-06-23, 07:03 PM
I've made myself a basic plugin for MyBB. I looked into hooks but it's not quite what I wanted.
How do you make them {$mybb->something} to add the in templates?
I'm entirely sure what search for so it's probably something really stupid.
In my plugins function I tell try telling it assign something new to the $mybb array but it don't work.
I've seen the Facebook Connect tell me to add {$fbconnect} where ever I want in any of my templates.
How would be able to make say {$robert1995} be usable in all of my Templates.
Thanks.
How do you make them {$mybb->something} to add the in templates?
I'm entirely sure what search for so it's probably something really stupid.
In my plugins function I tell try telling it assign something new to the $mybb array but it don't work.
I've seen the Facebook Connect tell me to add {$fbconnect} where ever I want in any of my templates.
How would be able to make say {$robert1995} be usable in all of my Templates.
Thanks.