![]() |
What is this mod/code change?
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). https://vborg.vbsupport.ru/external/2010/06/19.png |
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.
|
Quote:
|
It's easy to do but if you get very many people using it, it will load up the server terribly.
|
Quote:
|
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"> Then add a plugin to the parse_templates hook with the following code: Code:
$newTemplate = vB_Template::create('user_links'); And another plugin to the cache_templates hook with the following code: Code:
$cache[] = 'user_links'; |
All times are GMT. The time now is 02:46 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:
|