The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to change my "New Post" button on my navbar to say "Display post for previous:"
This would have a pull down that would allow you to select: All Posts 1 Day 7 Days 2 Weeks 1 Month 3 Months 6 Months 1 Year Here is a picture of what I want, however this one is on a phpbb website (not vbulletin). ![]() |
#2
|
||||
|
||||
![]()
I just did this for my site and took it down. After getting 135 queries to do a search for all of my own posts, I decided it wasn't worth it.
|
#3
|
|||
|
|||
![]()
Thanks for the info.... Maybe that's why I can never find anything about this mod....
|
#4
|
||||
|
||||
![]()
It's easy to do but if you get very many people using it, it will load up the server terribly.
|
#5
|
|||
|
|||
![]()
Can you post the code you used? For some reason I can't find any info on making a pull-down....
|
#6
|
||||
|
||||
![]()
Well, I would if I still had it. I got rid of it after I uninstalled it, sorry. But I can give you the outline code for it if that will help.
Make a template called: user_links and add this but with your links added: Code:
<li class="popupmenu"> <a href="javascript://" class="popupctrl">Your drop down menu name</a> <ul class="popupbody popuphover"> <li>some link here</a></li> <li>some link here</a></li> <li>some link here</a></li> <li>some link here</a></li> </ul> </li> Then add a plugin to the parse_templates hook with the following code: Code:
$newTemplate = vB_Template::create('user_links'); $template_hook[navbar_after_faq] .= $newTemplate->render(); And another plugin to the cache_templates hook with the following code: Code:
$cache[] = 'user_links'; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|