The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Active Threads in Navbar
Hello,
I was use this code for my vB3.8.4, but I need samething on vB4.1.1. Is it possible to adaptation for 4.1.11 ? Code:
<div class="vbmenu_popup" id="navbar_activetopics_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[active_topics]</td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=15">$vbphrase[active_last_15_minutes]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=45">$vbphrase[active_last_45_minutes]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=1">$vbphrase[active_last_1_hour]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=4">$vbphrase[active_last_4_hour]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=6">$vbphrase[active_last_6_hour]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=12">$vbphrase[active_last_12_hour]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]&do=getdaily&days=1">$vbphrase[active_last_day]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]&do=getdaily&days=3">$vbphrase[active_last_3day]</a></td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]&do=getdaily&days=7">$vbphrase[active_last_1_week]</a></td> </tr> </table> </div> This code looks like that Active Threads Last 15 Minutes Last 45 Minutes Last 1 Hour Last 4 Hour Last 6 Hour Last 12 Hour Last 1 Day Last 3 Day Last 1 Week Regards, |
#2
|
||||
|
||||
There are articles on how to add navtabs and dropdowns. So, you can go pick an article and then adjust your html to work with the new vb4 method of adding tabs.
|
#3
|
|||
|
|||
Quote:
Last 15 Minutes Last 45 Minutes Last 1 Hour Last 4 Hour Last 6 Hour Last 12 Hour Last 1 Day Last 3 Day Last 1 Week What is the code for that ? Because old code is not work and get everytime last day result. Regards, |
#4
|
||||
|
||||
Here's a link for all new posts in the last 4 days - modify to suite your needs:
Code:
search.php?do=getdaily&days=4&contenttype=vBForum_Post |
#5
|
|||
|
|||
Thanks...Is it possible to hours or minutes and also latest threads since last visit ? Because under 1 day most important to us because our forum is very busy and post a lot of message.
|
#6
|
||||
|
||||
You will need to modify that part of the code in the search.php code since if you have it set to less than 1, then it defaults to 1.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|