MyBB Community Forums
What are these called - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: What are these called (/thread-207533.html)



What are these called - Michael2014 - 2017-01-19

Hi, in general, what are these type of mybb shortcodes called,
example: {$boardstats} or {$footer} or {$forumstats} ?

They are found in templates. Is there a place I can find a list of them?

Sorry it has been a long time, I didn't think I would figure it out so quick: they are called variables.
and here is a list https://community.mybb.com/thread-152105.html


RE: What are these called - Robbie626 - 2017-01-19

I believe they are called PHP Increment / Decrement Operators.

I found it by searching it which resembles the $ symbol: http://www.w3schools.com/php/php_operators.asp


RE: What are these called - Michael2014 - 2017-01-19

(2017-01-19, 02:34 AM)robbie626 Wrote: I believe they are called PHP Increment / Decrement Operators.

I found it by searching it which resembles the $ symbol: http://www.w3schools.com/php/php_operators.asp

Awesome, thanks for the reply!


RE: What are these called - Robbie626 - 2017-01-19

I am so sorry, they are called variables and are used to avoid using multiple templates within a template.

https://docs.mybb.com/1.8/development/themes/


RE: What are these called - Michael2014 - 2017-01-22

(2017-01-19, 07:09 PM)robbie626 Wrote: I am so sorry, they are called variables and are used to avoid using multiple templates within a template.

https://docs.mybb.com/1.8/development/themes/

Thank you robbie! I appreciate the help!