![]() |
New Post with Pull down for 24, 48, 1wk, 1 mo, etc
1 Attachment(s)
I was looking at an old hack, which didn't work, and wonder if there is anything else out there that does "Active Forums". I like this one since you can do the last 24, 48, 1wk, 1mo, 1yr.
--------------------- http://www.vbulletin.com/forum/showthread.php?t=89080 (thread 26) It says to find: <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> and replace it with: <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td id="navbar_activetopics" class="vbmenu_control"> <a href="search.php?$session[sessionurl]&do=getdaily&days=1">Active Topics</a> <script type="text/javascript">vbmenu_register("navbar_activetopics") ; </script></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> When I try to save this code, it says it has a /if error |
im not a coder but it looks like you have 3 open if's and only 1 closing if
add </if></if> to the end and see if that dont crash your site :D |
Quote:
Thank-you!!! I will try it.... |
All times are GMT. The time now is 04:46 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:
|