View Full Version : Top 5 "Hot" Topics on Forum Home Page
amykhar
28 Jul 2005, 22:20
This little one puts a list of the five threads with the most replies that have been active in the past 7 days on your forum home page.
You can change the query to make it 10 topics with most views or whatever suits your needs.
Things you may want to change:
To get the top 10, 20 or whatever topics instead of 5, change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to the number of your choice.
To get the top topics based on views instead of replies, change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
To keep track of the top threads that are currently active, no matter when they were started, change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Darth Gill
29 Jul 2005, 00:14
I installed it and modified the template a little bit to my liking. But you have a HUGE BUG!
Take this out of $topicstring in the plugin! "http://www.eaforums.com/forums/"
amykhar
29 Jul 2005, 00:33
I installed it and modified the template a little bit to my liking. But you have a HUGE BUG!
Take this out of $topicstring in the plugin! "http://www.eaforums.com/forums/"
Oops. I never really intended to share this one. I'll fix that now.
amykhar
29 Jul 2005, 00:42
The problem is fixed in the zip.
Neal-UK
29 Jul 2005, 01:56
The problem is fixed in the zip.
still doing it on my forum
Neal-UK
29 Jul 2005, 02:03
...but sorted it 'mesell'
Hahahahah! Love the 5th Topic's title amy!!
That's our Amy! ;)
If anyone is interested, I edited a few things to make this look more in line with the rest of the What's Going On box. See the attached pic. ;)
It is also collaspable. ;)
Darth Gill
29 Jul 2005, 12:03
I did the same thing... I made it collapseable as well as moved the number of replies to the title attribute so that it shows only on mouseovers. I also replaced the breaklines with spaces.... One more change is since my board likes to have long lengthy discussions over months at a time, I made it the 5 hottest topics for the month. :)
Here's a screenshot.
http://forums.5solas.org/
amykhar
29 Jul 2005, 14:26
Yeah, my what's going on box is very different than most people's. That's why I put in there that the html was only a suggestion ;)
Amy
amykhar
29 Jul 2005, 14:27
Cripes! I just looked at the screenshot. Off to repair it :blush:
Amy
I did the same thing... I made it collapseable as well as moved the number of replies to the title attribute so that it shows only on mouseovers. I also replaced the breaklines with spaces.... One more change is since my board likes to have long lengthy discussions over months at a time, I made it the 5 hottest topics for the month. :)
Here's a screenshot.
http://forums.5solas.org/
Looks good and I really like the wood looking thead and tcat. ;)
GrendelKhan{TSU
30 Jul 2005, 04:10
cool thx amy!
<<< installs
That's our Amy! ;)
If anyone is interested, I edited a few things to make this look more in line with the rest of the What's Going On box. See the attached pic. ;)
It is also collaspable. ;)
im interested. :) can I get get this somehow? :D
Neal-UK
30 Jul 2005, 04:43
That's our Amy! ;)
If anyone is interested, I edited a few things to make this look more in line with the rest of the What's Going On box. See the attached pic. ;)
It is also collaspable. ;)
I overwrote the hack with the new version but the list is exactly the same.
I unistalled the hack and reinstalled it but the list still looks the same.
amykhar
30 Jul 2005, 04:46
I overwrote the hack with the new version but the list is exactly the same.
I unistalled the hack and reinstalled it but the list still looks the same.
I'm not sure what you are saying to me? What did you expect to change?
Amy
Neal-UK
30 Jul 2005, 04:46
I'm not sure what you are saying to me? What did you expect to change?
Amy
you said you had made some changes so it fits in with the rest of 'what's going on'
amykhar
30 Jul 2005, 04:48
No. I never said that :) Somebody else said they made changes on their board. In the install instructions, I specifically noted that the template html was just a suggestion and you may want to tweak it.
I fixed the url problem that the first user has.
Amy
Neal-UK
30 Jul 2005, 04:50
No. I never said that :) Somebody else said they made changes on their board. In the install instructions, I specifically noted that the template html was just a suggestion and you may want to tweak it.
I fixed the url problem that the first user has.
Amy
sorry your right, it's that time again!
cool thx amy!
<<< installs
im interested. :) can I get get this somehow? :D
If amy ok's it, I will post the changes here. A very small part of the xml had to be changed, too. ;)
Neal-UK
30 Jul 2005, 10:55
If amy ok's it, I will post the changes here. A very small part of the xml had to be changed, too. ;)
yes please good bud!
Neal-UK
30 Jul 2005, 18:52
yes please good bud!
go on, you know you want too
GrendelKhan{TSU
01 Aug 2005, 09:39
im interested. :) can I get get this somehow? :D
bump
or can someone direct me to the location of the instructions to do this. (change design to match forums)
<< hopeless n00b :(
amykhar
01 Aug 2005, 14:57
Bob, have mercy on em already :D If they wait for me to make a template edit, they'll have grandchildren. :D
All I was waiting for was your ok. I'll post it shortly. ;)
In your FORUMHOME template
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ABOVE it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Make a new phrase:
Phrase Type: GLOBAL
Product: Hot Topics on Forum Home
Varname: hottopics
Text: This Week's Hot Topics
Done!
Enjoy!
Hello,
I have upload this plugin but I have this erorr (see it in attach). It upload with out any title.
BS5
amykhar
01 Aug 2005, 18:38
I don't know what could be going wrong. I have not changed the plugin and nobody else seems to have that problem.
Hello,
Exactly how do I install this? lol I downloaded the package, and took a look at the install directions. Then I went in to the ACP to see where I Import Products, but I have no idea where that is to be done. lol
This is my first modification to a 3.5 RC1. Sorry for my ignorance.
Neal-UK
01 Aug 2005, 19:14
In your FORUMHOME template
I've done all that but mine still looks exactly the same...weird
womensden
01 Aug 2005, 21:33
Worked perfect. Another job well done Amy!
*Clicks install*
Kusadasi-Guy
02 Aug 2005, 00:32
Amycar, this is a great plugin!
is there a chance to put this on a vb-powered custom page?
amykhar
02 Aug 2005, 00:34
Kusadasi-Guy, you could lift the code out of the plugin and use it anywhere that global.php is included. It's a straightforward query. You will need to restructure your template though.
Amy
Kusadasi-Guy
02 Aug 2005, 00:45
i am really sorry to being noob, but i couldnt. Can you create a small example? This is really too important for me becuase i want to create my VB-powered custom page.
i tried this, and of course it doesnt work;
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'bugs');
define('NO_REGISTER_GLOBALS', 1);
// ################### 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');
$html = <<< HTML
<!-- html starts here -->
require_once('./global.php');
$forumchoice = array();
foreach (array_keys($vbulletin->forumcache) AS $forumid)
{
$forumid = intval($forumid);
$forumperms =& $vbulletin->userinfo['forumpermissions']["$forumid"];
if (isset($vbulletin->forumcache["$forumid"]) AND ($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND ($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND verify_forum_password($forumid, $vbulletin->forumcache["$forumid"]['password'], false))
{
$forumchoice[] = $forumid;
}
}
$datecut = TIMENOW - (7*24*60*60);
$hottopics = $db->query_read("SELECT * FROM ".TABLE_PREFIX."thread WHERE dateline > $datecut AND forumid IN (". implode(',', $forumchoice) . ") AND open=1 ORDER BY replycount DESC LIMIT 10");
$topicstring = "";
while($hottopic = $db->fetch_array($hottopics))
{
$topicstring.="<b>»</b> <a href='showthread.php?t=".$hottopic[threadid]."'>".$hottopic[title]."</a> - $hottopic[replycount] replies<br />";
}
eval('$hottopics = "' . fetch_template('hottopics') . '";');
<!-- html ends here -->
HTML;
$navbits["mycookies2.php"] = 'Photo Gallery';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
$pagetitle = "Photo Gallery";
eval('print_output("' . fetch_template('shell_blank') . '");');
?>
For anyone that is intested, I made a slight change to the xml file. It will now say:
No replies for 0 replies
1 reply (for 1 reply)
12 replies (for multiple replies)
If anyone is interested. let me know, and if Amy oks it, I will post the change here.
amykhar
02 Aug 2005, 02:08
Go for it. I'll even add you as co-author and put it in the original post with your template mod.
In the xml file for this mod
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I know it's crude, but it works. ;)
amykhar
02 Aug 2005, 02:27
I updated the zip and added your name Bob. I am forced to use wordpad cause I'm here at work without my editor of choice. Somebody please make sure the zip file imports ok.
Thanks, Amy. ;)
You want an updated pic for it?
amykhar
02 Aug 2005, 02:33
Sure. Why not. :D I'm no longer using this plugin on my site cause I moved the content to my side-bar.
Neal-UK
02 Aug 2005, 08:52
I've done the re-install of the updated version but you will need to add the phrases manually again (See start of this thread).
I still can't get it to look like the rest of the 'What's going on' though.......
I've done the re-install of the updated version but you will need to add the phrases manually again (See start of this thread).
I still can't get it to look like the rest of the 'What's going on' though.......
Then you did something wrong somewhere. The code I posted is standard vb type code. ;)
Here's the updated pic, Amy. ;)
Neal-UK
02 Aug 2005, 09:32
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.
Neal-UK
02 Aug 2005, 10:26
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.
I have, that's why it's so weird. Maybe another mod is conflicting perhaps...
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.
Neal-UK
02 Aug 2005, 10:46
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.
Hang on a minute, this is the 'edited mod' by you isn't it, where the list looks more like the rest of the who's online bit?
Not just the basic one first release by amykhar?
Hang on a minute, this is the 'edited mod' by you isn't it, where the list looks more like the rest of the who's online bit?
Not just the basic one first release by amykhar?
That's correct. Isn't that the one you asked for in the thread here?
Neal-UK
02 Aug 2005, 11:54
That's correct. Isn't that the one you asked for in the thread here?
yeah, but I can't seem to find anything in the code that represents the icon image for that group, eg. Calendar icon for upcoming events, birthday icon for birthdays, etc. I just can't work out why it wont show the section image for them.
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.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Amy, you might want to add this, too. ;)
Neal-UK
02 Aug 2005, 12:17
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.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Amy, you might want to add this, too. ;)
cheers boofo, thought i was going mad!
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). ;)
Kusadasi-Guy
02 Aug 2005, 12:24
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...
Kusadasi-Guy
02 Aug 2005, 12:31
no, it doesnt work :(
Where are you trying to call it from and do you have the plug-in installed?
Kusadasi-Guy
02 Aug 2005, 12:44
Where are you trying to call it from and do you have the plug-in installed?
Yes, the plugin is installed.
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.
amykhar
03 Aug 2005, 20:39
The easiest way would be to remove the ones you don't want in the $forumchoice array.
Sweet hack, installed! Boofo, care to share? :)
Sweet hack, installed! Boofo, care to share? :)
The ZIP file has been updated with some of the code and check post 50 in this thread for the other part of it. ;)
Kusadasi-Guy
04 Aug 2005, 23:35
The easiest way would be to remove the ones you don't want in the $forumchoice array.
how can we do that? :o
Amy, will this list private threads then?
No way to get it to follow permissions?
amykhar
05 Aug 2005, 02:42
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. ;)
sandrose
05 Aug 2005, 23:12
Worked perfect. Another job well done Amy!
*Clicks install*
I tried to install it but it appear to be empty. What is the reason.
amykhar
05 Aug 2005, 23:15
I don't know why it is empty for you. The files are in the zip and they work on 3.1
Amy
sandrose
05 Aug 2005, 23:25
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)
amykhar
06 Aug 2005, 00:45
It's not a plugin, it's a product. You can't use the plugin manager, you have to use the product manager now.
Kusadasi-Guy
06 Aug 2005, 01:33
an XML output would be great! we can use it any page we want.
Amy? :ermm:
sandrose
06 Aug 2005, 02:42
Thanks Amy it is working now and it is very nice.
Regards
amykhar
06 Aug 2005, 03:12
an XML output would be great! we can use it any page we want.
Amy? :ermm:
XML later :D
GrendelKhan{TSU
09 Aug 2005, 06:11
installed RC1. :D
In the ZIP install instructions...you forgot to add:
Make a new phrase:
Phrase Type: GLOBAL
Product: Hot Topics on Forum Home
Varname: hottopics
Text: This Week's Hot Topics
amykhar
09 Aug 2005, 12:25
Ah. I forgot Bob slipped that phrase in there. I should create it and add it to the product. Sorry about that.
Ah. I forgot Bob slipped that phrase in there. I should create it and add it to the product. Sorry about that.
hehe And getting one by you is not an easy task. ;)
plateau
10 Aug 2005, 23:11
how to combine it with the Top 'X' Stats
http://www.vbulletin.org/forum/showthread.php?t=93065
cheers.
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?
yoyoyoyo
25 Aug 2005, 23:38
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?
amykhar
26 Aug 2005, 00:56
Can't think of anything off the top of my head unless maybe you edited the forumhome in the wrong style and not the one you are checking?
yoyoyoyo
26 Aug 2005, 03:25
Can't think of anything off the top of my head unless maybe you edited the forumhome in the wrong style and not the one you are checking?no- just using the forum default, and it is on a somewhat virgin install. I checked the edits and they are there. Here they are, and also the few lines before and after:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
see screenshots, also.
amykhar
26 Aug 2005, 03:38
I'm assuming that the box the hottopics are supposed to be in is showing, just not the list itself?
yoyoyoyo
26 Aug 2005, 12:51
I'm assuming that the box the hottopics are supposed to be in is showing, just not the list itself?nope - the box is not showing either- do you want me to PM you admin login info so you can check it out?
Granted tehre are only 2 threads and 5 posts, since it is a somewhat virgin install, as I said, but that should pull up SOMETHING for a "HOT TOPIC," right?
amykhar
26 Aug 2005, 13:04
See, this is the reason for my confusion. The template mods you made to forumhome should show whether you have the plugin installed or not. Sure, go ahead and PM me the info.
Amy
yoyoyoyo
26 Aug 2005, 14:03
just so everyone knows- I had some weird buggy install of RC2... amy could not log in, and when I tried logging in as her I got the same error - then when I tired logging in as myself I got the same error- and it thought I was still trying to log in as amy! I don't even know what to report as a bug to vbulletin... I am going to try to reinstall since the hack was obviously not causing the error I was experiencing, but rather a bad install of vbulletin... or gremlins.
ohgenki
26 Aug 2005, 14:11
erm, is there anyway to show the latest threads on the right panel ? together with this ? for a start, i can't even show the latest threads on the panel, it just doesn't display, any idea what's wrong ?
amykhar
26 Aug 2005, 14:18
Ohgenki, to display data on a template, you have to get it in scope for the template. There are too many possibilities of dynamic data in the sidebars for me to support them all. Sorry.
Amy
ohgenki
26 Aug 2005, 14:27
erm, actually the problem, i beleive is this, check this out, whenever there's an attachment, the table will stretch the whole page, which is what makes the scroll bar at the bottom appear, any idea how to solve that ?
and regarding the latest threads, say i just want to display your 5 hot topics on the right panel, how do i do that ? i can't seem to get it to work just by simply putting the code in.
IFor[You]
26 Aug 2005, 17:47
ok i tink i'm getting the gist of it,
can i change the hook location so i can call it from anywhere besides forumhome?
amykhar
26 Aug 2005, 18:01
Yes, you can.
IFor[You]
27 Aug 2005, 05:49
hmm i changed the location to glodal_start and it messed up my forums -_-"
Brinnie
27 Aug 2005, 08:59
Here's a stupid idea... what about the idea of making the reverse? You know, like, display some threads that don't have many replies or something, idunno, im drunk. friday. im goin to bed. :-\
Great stuff guys ! but 2 questions
I have 2 languages installed in forum so i would like to have "replies" translated, does it have varname ?
also BOFO posted HTML to add icon next to it, where do i put this HTML ?
Thanks in advance
alzibub
30 Oct 2005, 18:36
Great stuff guys ! but 2 questions
I have 2 languages installed in forum so i would like to have "replies" translated, does it have varname ?
also BOFO posted HTML to add icon next to it, where do i put this HTML ?
Thanks in advance
Hey
I installed the hack - thanks very much
Just wanted to add that I was missing the Phrase listed in an earlier post and wasnt sure if you intended to or actually did add it to the product - if so it didnt work.
I just added it as per post in here and all is good - thanks for the work!
Thanks for this, I'm really impressed.
I have a question: I have a "most views" section which currently shows the most views (as long as a post has been made in the last 7 days).
How do I
a) Extend the date to say 30 days or 90 days?
b) Clear the date so I get the most views since the forum was created?
Thanks
thediablo
07 Nov 2005, 15:11
im trying to add this to my header template but is not displaying... any suggestions?
thanks
thediablo
07 Nov 2005, 16:15
ok i managed to make it show on the header by changing the hook to global_start, but now it seems im having some forum permissions problems... i click on the main forum and it says i can't view it, not enough perms... ok.. so i click on the direct link to the thread and i get in lol
Any suggestions?
thanks :D
thediablo
07 Nov 2005, 16:26
so im guessing the problem is here:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
but i dont know what do the vbulletin functions do, so im a lil blind here.
so heres the prob again...
MAIN FORUM > SUBFORUM > POST
-------------- '-Can't View - '- Can View
-------------------------------------------------------
UPDATE:
ok i updated the code and removed all the permission stuff...
which leave me with this line of codes:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And guees what... Still no luck!
:(
Where is this? I installed the product and refreshed, do not see anything
how can i display the var output $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>
------------------------
PLEASE HELP :cry:
I'm not getting the output of $hottopics in (forumhome_forumbit_level2_post) template .. ?
...
Is there any other (hook location) which can solve this problem ..
........
mooj
Mine doesn't Look like Ya'lls!
Stelios
23 Nov 2005, 07:58
installed and it almost works..... :rolleyes:
Problem 1. No tile
Problem 2 see the attached file
Any ideas?
Thanks for this, I'm really impressed.
I have a question: I have a "most views" section which currently shows the most views (as long as a post has been made in the last 7 days).
How do I
a) Extend the date to say 30 days or 90 days?
b) Clear the date so I get the most views since the forum was created?
Thanks
Anyone got any ideas?
I didn't get 'This Week's Hot Topic' title in the window but everything else works fine.
How do I correct?
I guess there is no support here!
fabianv
06 Dec 2005, 12:37
How does one give this cool function a heading
''Hottest Threads''
Have install this plugin, but found it not enough finished, so here is an updated install text.
- this will add a icon like the other mods in the 'what's going on box' (wgob)
- this will add a title for this section like the other mods in the wgob
- this will allow to have a smaller size of text, like the other mods in the wgob
- this will assure you to have the term 'reply' respect your own language
---------
//## Jnifoo's adapted Instructions ##
1. Import the product
*Nota: attention if you're not an english based, you'll need to change the word 'reply' into your own language and be carefull with special characters)
2. Find in your FORUMHOME template
** Careful if you use vBulletin v3.5.3 - This is updated **
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
** Add this lines below the ' /if ' tag **
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
3. create a $vbphrase[hottopics] translation to the system language system (english & your own language if required)
(-> let's translate it into, for example, 'This Week's Hot Topics')
4. modify the 'hottopics' entry in the style manager
(Nota: don't use any html table tag to be sure it is displayed on the good row)
--- Your done - hope this help ---
bloodwrath
26 Jan 2006, 01:04
mine is messed its showing the new items, not the most replied to
any ideas
http://help.supportcave.com/index.php
uninstalled and reinstalled..
maybe some other plugin is messing with it..
caliman
26 Jan 2006, 05:04
Not sure. That's weird.
*Clicked install*
Works for me out of the box.
bloodwrath
26 Jan 2006, 15:39
In your FORUMHOME template
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ABOVE it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Make a new phrase:
Done!
Enjoy!
AWESOME your Make a new phrase:
got my title working...
still need to fix the plugin showing new threads....
http://www.help.supportcave.com/index.php
love this plugin.. dont want to remove it.
caliman
30 Jan 2006, 17:42
The easiest way would be to remove the ones you don't want in the $forumchoice array.
How exactly do I do this Amy? I'd like to exclude a private forum. Thanks!
Bikestylesinc
11 Feb 2006, 20:24
Mine doesn't Look like Ya'lls!
i got the same thing ????
can i get a box around it like everybody elses ???
dazzlin
24 Mar 2006, 03:20
Just wanted to thank Jnifoo. Your instructions above (post 108) made this hack show up on my forum home page. It was invisible before, but now it's there and working great.
Just wanted to thank Jnifoo.
You welcome :bunny:
Blackhat
26 Mar 2006, 00:27
Why wont it work when I place the code in another template area than "forumhome" ?
Thanks
amykhar
27 Mar 2006, 13:03
Because the plugin is active only in forumhome, Blackhat.
Blackhat
27 Mar 2006, 13:08
yeah, I noticed the hook location, but what hook should I use if I want it to appear on my sidebar ?
amykhar
27 Mar 2006, 13:13
I would try it here: ($hook = vBulletinHook::fetch_hook('parse_templates')) ? eval($hook) : false;
BUT - make sure you don't have any conflicting variables in the plugin.
Does this work on vB 3.5.4? I've followed the text file install directions and nothing happens on my forum home.
-Michael
amykhar
29 Jun 2006, 18:48
I'm not sure Michael. I haven't used the mod in some time.
futuredood
30 Jun 2006, 07:39
hey michael did you get this to work on 3.5.4? i'd like to use it if it works..
Aislinn
05 Jul 2006, 18:06
It does work on 3.5.4 I have it installed on mine.
It worked perfectly until I changed this as you said we could above.:
To keep track of the top threads that are currently active, no matter when they were started, change
Code:
WHERE dateline > $datecut
to
Code:
WHERE lastpost > $datecut
Now that Ive changed it it works and looks fine except for one thing. In the table border on top of it, it used to say Hot Topics, now its just a blank strip of color. Any idea on what might have done it?
That was the only thing I changed and then I reimported teh file and overwrite the old one.
Edit//
Ok now this is really weird. I changed the file back the way it way, reimported. Still not showing the title. So I redownloaded the zip file, imported the new never edited file from the zip and still no title.
So now Ive changed it back to the lastpost instead of dateline and have no idea how to get the title up. I can see the <title></title> in the file but I dont know why its not reading it.
I have boofo's changes in place as well.
3. create a $vbphrase[hottopics] translation to the system language system (english & your own language if required)
(-> let's translate it into, for example, 'This Week's Hot Topics')
Hi Jnifoo, the help you supplied in post 108 is great and i now have it showing just underneath the forum statistics.
However, I'm stuck on the above quotes. could someone guide me in creating a $vbphrase/translation ?
Hello Karlm, sorry didn't notice your question till I search for plugin update :(
Use the admin pannel dedicated for language & expressions:
YOURURI/YOURADMINPANEL/phrase.php?do=modify&fieldname=global
See the exemples provided for the syntax, then clic on "add new expression"
Hope this help for you or someone else
Al-Fateh
19 Jan 2007, 20:34
hmmmm
not working
can this work for 3.6.x?
macgyvers
08 May 2007, 22:34
Hi all,
Can this work on 3.6.5 ?
thanks
Thanks - I was really looking for this something like this. Just got done installing & tweaking. I've seen it asked a few times so FYI I was able to get this to work globally and in a left column ... things I changed were hookname to global_start - also I prefaced most of the variables with "ht_" e.g. $forumchoice became $ht_forumchoice ... when I went global there must have been some variable crashes as my forum navigation got all wacky ... oh - also I changed the table to a <ul> and hot threads to <li>s. So far seems to work nice in 3.6.4. Thanks again.
pelican
08 May 2008, 20:50
is there a 3.7.0 version?
caliman
24 Jun 2008, 05:06
is there a 3.7.0 version?
I haven't been able to get it to work since I upgraded to 3.7.1 from 3.6.8.
SoulSuite
11 Dec 2008, 14:08
Great mod!! Thanks, This is working for me on vb 3.7.4 but how do I set that this is only counting from a forumID? Like only from category
Music
(Albums-Mixtape)
(Tracks-Remixes)
(Vinyls)
(Music-Clips)
itsupport
09 Feb 2011, 08:38
Im not sure if I have just missed it but does anybody know if there is a version of this plugin that would work with vb4? or something that will do the same job, it fits very nicely into our site
Or what I would need to do to fix it to work with our vb4 installation
Thanks!!
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.