2009-09-17, 08:32 PM
2009-09-17, 09:26 PM
if you want to include it everywhere, yes... otherwise a hook specific to the page you want it on
2009-09-18, 07:43 AM
I've found the global_start works the best. Frostschutz is right though, it would include it everywhere - you can use THIS_SCRIPT to grab the file name, and $mybb->input['action'] to grab a specific action;
if(THIS_SCRIPT == "member.php" && $mybb->input['action'] == "profile")
{
// Code specifically for the Profile page
}
2009-09-18, 07:47 AM
hook name is enough for me i'm working some kind of dynamic meta keywords plugin and its enough. i wasnt sure about hook thx to everyone.