PDA

View Full Version : Need Last 3 days posts/Todays Posts code


yesfans
06-27-2011, 12:57 AM
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, 05:14 AM
A screenshot would help because I have no clue what you're talking about.

Lynne
06-27-2011, 01: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, 08:09 PM
These will work. Thanks much!!!

--------------- Added 1309212175 at 1309212175 ---------------

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=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<vb:else />
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>

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

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

--------------- Added 1309212670 at 1309212670 ---------------

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

--------------- Added 1309213387 at 1309213387 ---------------

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