vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Better New Post Navigation (https://vborg.vbsupport.ru/showthread.php?t=192058)

jzulaski 09-29-2008 01:49 PM

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>

segwayon 10-20-2008 06:20 PM

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"]



Quote:

Originally Posted by xixxon (Post 1631845)
I have difference method ;)) :

Edit templates navbar

Search . . .


segwayon 10-21-2008 06:58 PM

Quote:

Originally Posted by xixxon (Post 1631845)
I have difference method ;))

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!]

BucWiLd 10-23-2008 11:50 AM

installed. i love it thanks

redrabbit12 01-20-2009 12:31 PM

Installed, thanks.

Graphictr 01-20-2009 04:43 PM

thanks.

Blue91 01-21-2009 03:24 PM

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,

GSeybold 01-23-2009 02:20 AM

Works great in my defaults!

Thank you !

Gabby

Ice-Maiden 09-04-2009 11:31 AM

Quote:

Originally Posted by xixxon (Post 1631845)
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>
Remplace 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 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 -->



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:

Emmmmrz 12-10-2009 01:59 AM

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. ^^


All times are GMT. The time now is 12:35 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
  • Page Generation 0.01151 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete