The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Better New Post Navigation Details »» | |||||||||||||||||||||||||
Brought To You By Tutorials4you.co.uk ======================= Better Newpost Nav item vBulletin 3.7.3-- Author (c) Simon Hind Tutorials4you Author Contact http://www.tutorials4you.co.uk/ 27/09/2008 - Date of Update ======================= ======================= LICENCE Better Newpost Nav item vBulletin 3.7.3 -- LICENCE - do not modify the documentation or the links, please also leave the comment tags which show tutorials4you.co.uk in the comments ======================= ======================= Change Log -- Now using xixxon Method ======================= ======================= About -- This small modification will replace the standard New Post Navbit in either your navigation bar or your header (this depends on your template style) ======================= ======================= Installation -- ********************************** STEP 1 - Login to Admincp ********************************** AdminCP > Styles & Templates > Style Manager > Default Style > Navigation / Breadcrumb Templates > Navbar ********************************** STEP 2 - The Template edit ********************************** FIND Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> REPLACE WITH Code:
<td id="newposts" class="vbmenu_control"> <a href="#">$vbphrase[new_posts_nav]</a> <script type="text/javascript"> vbmenu_register("newposts"); </script> </td> Continue Search : Code:
<!-- / NAVBAR POPUP MENUS --> Add below : Code:
<!-- new posts menu --> <div class="vbmenu_popup" id="newposts_menu" style="display:none" align="left"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">New Posts</td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getnew">Previous Visit</a></td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getdaily">Previous Day</a></td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getdaily&days=7">Previous Week</a></td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getdaily&days=30">Previous Month</a></td></tr> </table> </div> <!-- / new posts menu --> important: vbmenu_control - is used in all basic template styles which have not been edited and using stanard coding navitem - is used in almost all premium/professioanl template styles ********************************** SCREENSHOT INFORMATION ********************************** i have provided 3 screenshots from my template styles Default - vbulletin style Crystal Clean - http://www.completevb.com/ Twisted Dark - http://www.completevb.com/ Show Your Support
|
Comments |
#12
|
|||
|
|||
It worked in my default view the first try. Thanks guys.
I just wish I could get it to work in the Blak-Ice skin but first, I'll have to make a "New Posts" button and add all that code. <heavy sigh> |
#13
|
|||
|
|||
Does the top-most option (which says simply "New Posts" in bold) link to any unread posts? All my forum's posts are currently read, and I would need to have an option which lists only any and all unread posts at any one time.
Not sure what the "Previous Visit" might indicate - example, what if I am logged in all morning, and just want to view new unread posts from the current visit? Thanks! [Update - I see the hyperlink now - Previous Visits is the getnew. I might rename it simply "All Unread"] |
#14
|
|||
|
|||
Curious how to colorize the menu options on mouseover. Right now the hovered item's text disappears, and my users are asking to allow them to continue to view the selection they are about to click into.
All the other navbar menus present a gray background during the hover event. This mod of yours seems to change the text color to white okay, but doesn't change the background from white to gray. Any pointers appreciated. [Update: I studied the CCS settings on the style and just changed your title="nohilite" to title="hilite" within the navbar template on each 4 rows, and now the background color changes on the menu sub-option selection. Thanks!] |
#15
|
||||
|
||||
installed. i love it thanks
|
#16
|
|||
|
|||
Installed, thanks.
|
#17
|
||||
|
||||
thanks.
|
#18
|
||||
|
||||
Anyone have this working in 3.8? Just curious before I install.
Also, how hard to make this into a "product" that can easily be installed/removed? When I upgrade, I always forget which hacks were installed if I just add them to templates. Thanks, |
#19
|
|||
|
|||
Works great in my defaults!
Thank you ! Gabby |
#20
|
|||
|
|||
Quote:
The original post and codes in this thread didnt work when i added them, but these codes above worked like a dream - thankyou so much for adding this in here!!:up: |
#21
|
||||
|
||||
I actually was yelled at by my members when I installed this on the new posts button; but when I moved it to the search menu everyone turned into happy campers. ^^
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|