vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Need Last 3 days posts/Todays Posts code (https://vborg.vbsupport.ru/showthread.php?t=265840)

yesfans 06-26-2011 11:57 PM

Need Last 3 days posts/Todays Posts code
 
In my prev 3.x ran board in my Nav bar I had along with TODAYS POSTS I also had LAST 3 DAYS POSTS and RECENT POST. Can someone direct me how to code that and put it in my new 4.x nav bar??? Please.

Pandemikk 06-27-2011 04:14 AM

A screenshot would help because I have no clue what you're talking about.

Lynne 06-27-2011 12:46 PM

Here are the links - you can write up the html for them:

New Posts in the Last Day:
search.php?do=getdaily&days=1&contenttype=vBForum_ Post

New Posts in the Last 3 days:
search.php?do=getdaily&days=3&contenttype=vBForum_ Post

I don't know what Recent Posts are compared to New Posts/What's new.

yesfans 06-27-2011 07:09 PM

These will work. Thanks much!!!

--------------- Added [DATE]1309212175[/DATE] at [TIME]1309212175[/TIME] ---------------

What you have I can't get to work. How am I putting HMTL into that navbar with the NEW POSTS that comes with the VB software.

<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBFor um_Post">{vb:rawphrase new_posts_nav}</a></li>
<vb:else />
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBF orum_Post">{vb:rawphrase todays_posts}</a></li>

.................................................. ...

Do I need to make a new phrase for 3 days posts?

--------------- Added [DATE]1309212670[/DATE] at [TIME]1309212670[/TIME] ---------------

Nevermind I got it. you were right on the html, I was not doing it right. THANKS!

--------------- Added [DATE]1309213387[/DATE] at [TIME]1309213387[/TIME] ---------------

Only thing I can't get it to do is put my two new links next to the NEW POSTS link on on pages on www.yesfans.com


All times are GMT. The time now is 02:13 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
  • Page Generation 0.02484 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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