MyBB Community Forums

Full Version: Where is the global template located
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there.

I'm currently developing a plugin, and I'd like to add to "postbit_author_user", however I'm not sure where the global template is located?

http://docs.mybb.com/Changing_Templates.html

Also the above link indicates the following:
find_replace_templatesets(
		"index",
		'#'.preg_quote('{$boardstats}').'#',
		'{$boardstats}{$randomvar}'
	);

What is the significance of the #s? Do I need to worry about them?
This:
find_replace_templatesets("postbit_author_user", 
"#".preg_quote('{$EXISTING VARIABLE}')."#i",'{$EXISTING VARIABLE} {$NEW VARIABLE}');