MyBB Community Forums

Full Version: Get views number
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! I have created a custom page here the code
    define('IN_MYBB', 1);
     if($mybb->user['uid'] == 0)
    add_breadcrumb("Support", $_SERVER['PHP_SELF']); 

    eval("\$page = \"".$templates->get("help_index")."\";"); 

How can i create a variable $views that i can put in page template and shows the amount of views?