![]() |
Quote:
|
Sometimes, I forget the little things. It must be old age. ;)
The reason I used the calender icon is because it is supposed to be the Week's Hot Topics and a calendar has some weeks in it (I think). ;) |
I have a question, how can i call the hottopics?
i can call usernames ...etc ( $vbphrase[logged_in_user]: $bbuserinfo[username] -> Logged in user: User Name). But i cant call this... |
$hottopics
;) |
no, it doesnt work :(
|
Where are you trying to call it from and do you have the plug-in installed?
|
Quote:
and i am tryin this on a custom VB page, like this; <?php // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'bugs'); define('NO_REGISTER_GLOBALS', 0); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array( ); // pre-cache templates used by all actions $globaltemplates = array( 'shell_blank' ); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); echo $hottopics ; $html = <<< HTML <!-- html starts here --> $hottopics <!-- html ends here --> HTML; $navbits["mycookies2.php"] = 'Photo Gallery'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('$hottopics = "' . fetch_template('hottopics') . '";'); $pagetitle = "Photo Gallery"; eval('print_output("' . fetch_template('shell_blank') . '");'); ?> |
Since they are on the forumhome, I'm not sure how you would call them from another page.
|
Hello,
Hi Amy, me again! lol How could I modify this to only call from certain forums? I have a few private forums for my staff, and I would like to keep them private and not on that list if possible. Not sure if it does or not, but even with userpermissions set so that only staff can see the forum,. I would just like to remove those forums entirely from this. |
The easiest way would be to remove the ones you don't want in the $forumchoice array.
|
All times are GMT. The time now is 05:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|