![]() |
Quote:
|
Here's the updated pic, Amy. ;)
|
I've included my FORUMHOME template, hope i'm okay doing this:
EDIT: Removed code as it was massive and no need for it now man! :devious: |
That isn't where I put mine so I can't help you with that, sorry. ;)
If you put it where I put in the instructions, it works fine. |
Quote:
|
I guess you do have it where it is supposed to be. Sorry about that. ;)
Make sure you have it that way in the skin you are viewing it in. If you have more than one skin, you might want to check that. |
Quote:
Not just the basic one first release by amykhar? |
Quote:
|
Quote:
I wanted it to look like this: |
I forgot to post my version of the hottopics template. Sorry about that. Here it is and the icon you need to change is in there.
HTML Code:
<tr> |
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.
|
Sweet hack, installed! Boofo, care to share? :)
|
Quote:
|
Quote:
|
Amy, will this list private threads then?
No way to get it to follow permissions? |
Bob, it follows permissions. He doesn't want it to follow permissions. He wants some allowed forums excluded.
|
Ahhhh, ok. I thought that was something you wouldn't leave out. I misunderstood. Thanks for explaining it, Amy. ;)
|
Quote:
|
I don't know why it is empty for you. The files are in the zip and they work on 3.1
Amy |
Hi Amy,
I found two files, one of them is xml file, I tried to upload the XML file to my forum Plugins system and after I click import I got empty plugins (everything is empty) |
It's not a plugin, it's a product. You can't use the plugin manager, you have to use the product manager now.
|
an XML output would be great! we can use it any page we want.
Amy? :ermm: |
Thanks Amy it is working now and it is very nice.
Regards |
Quote:
|
installed RC1. :D
In the ZIP install instructions...you forgot to add: Quote:
|
Ah. I forgot Bob slipped that phrase in there. I should create it and add it to the product. Sorry about that.
|
Quote:
|
|
Hii amykhar , Boofo
realy sweet hack .. :) .. n glad 2 see it .. but .. how can i call the var $hottopics from ( forumhome_forumbit_level2_post ) ?? i want to add an IF condition .. to get the out put form only one forum .. like this : ------------------------ forum bit content .. bla bla bla ............ then .. <if condition="$forumid = 11"> $hottopics </if> ------------------------ i tried to call the var from it but its not working .. how shuld i do ?? thank you in advance |
Is there some way to combine that with your left column plugin, so I can have the latest threads in that column on all pages instead of forumhome?
|
I made the template edit, and imported the product, and it is listed in the product manager, but there is nothing on the forumhome where that box should be. Any ideas?
|
All times are GMT. The time now is 12:59 AM. |
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:
|