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 |
#2
|
||||
|
||||
thanks,, this feature should be in vb 3.8
Nice |
#3
|
||||
|
||||
Very usefull. Coincidentally I was looking for a mod / hack to have new messages from selective forums (user selectable)
Users complain they want to read new posts only in some forums. Maybe can be added here... |
#4
|
||||
|
||||
I have difference method ) :
Edit templates navbar Search Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> Code:
<td id="newposts" class="vbmenu_control"> <a href="#">$vbphrase[new_posts_nav]</a> <script type="text/javascript"> vbmenu_register("newposts"); </script> </td> Code:
<!-- / NAVBAR POPUP MENUS --> Code:
<!-- NEW POSTS MENUS --> <div class="vbmenu_popup" id="newposts_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[new_posts_nav]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"><a href="search.php?do=getnew">Previous Visit</a> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <a href="search.php?do=getdaily">Previous Day</a></td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <a href="search.php?do=getdaily&days=7">Previous Week</a></td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <a href="search.php?do=getdaily&days=30">Previous Month</a></td> </tr> </table> </div> <!-- / NEW POSTS MENUS --> |
#5
|
||||
|
||||
simonhind's method didn't work for me.
But xixxon's did like a charm Thanks dude !! |
#6
|
|||
|
|||
its the same method but in more detail, it you have a custom template other than the default then XIXXONs method wont work as
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> does not exist it might me <td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> and it might not be in template : navbar |
#7
|
||||
|
||||
yeah it depends on the style, the code above based on the default ones
|
#8
|
|||
|
|||
xixxon, your variant works, thank you.
|
#9
|
||||
|
||||
Product anyone????
|
#10
|
|||
|
|||
Sorry simonhind, i could not get this to work.
Thanks xixxon, your script worked for me and using |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|