vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New Posts Options (https://vborg.vbsupport.ru/showthread.php?t=281328)

JustAskJulie 04-09-2012 07:08 PM

New Posts Options
 
On previous versions I had a drop-down list for "new posts" that gave options for new posts - since last visit
- in the last day
-last 3 days
- last week.

I'm trying to figure out how to re-implement this (or, preferably, find a mod that does it) in vb 4. It's something my members use a lot and one of their first complaints about the upgrade.

acco 04-09-2012 07:59 PM

Is it this your looking for?
https://vborg.vbsupport.ru/showthread.php?t=230302

JustAskJulie 04-10-2012 05:28 PM

Quote:

Originally Posted by acco (Post 2318432)

No, already have that.

I would like a seperate menu option on the submenu for forums that says "new posts" then with a drop down under it that has the options for:
"since last visit" - shows new posts since their last visit
"today's posts" - shows todays new psots
"last 3 days" - shows new posts from the last 3 days
"last week" - shows new posts from the last week

Boofo 04-10-2012 06:07 PM

1 Attachment(s)
I did one for my site but have not released it here as it is a paid mod. It's the Advanced Edition version of my User Links in Navbar for vB 4 mod.

SEOvB 04-10-2012 06:26 PM

Hey There,

Try adding:

HTML Code:

<!--begin edit-->
<vb:if condition="$show['member']">
<li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">New Posts</a>
<ul class="popupbody popuphover">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">Since Last Visit</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">Today's Posts</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post&days=3">Last 3 Days</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post&days=7">Last Week</a></li>
</ul>
</li>
</vb:if>
<!--end edit-->

Just below {vb:raw template_hook.navbar_end} in the navbar template. Might work.

-Nick, SEOvB Developer


All times are GMT. The time now is 05:45 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.03587 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete