Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2009, 11:35 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default New Posts, Today's Posts... HELP?!!?

I have VB 3.7.4 running. Both my users and myself are getting pretty confused with the "New Posts" and "Today's Posts" displays. Can anyone help?

First, I see that "New Posts" lists posts you haven't read yet, no matter how long ago they were put up (within reason).

Second, I see that "Today's Posts" lists posts that were posted since 12AM today.

Neither of these options is what I (or my users) want.

We want to see something like "this week's posts" or "recent posts" where you can see all the posts put in for the whole week, but with status icons that say if you've read them or not.

We want it to list like "new posts", but don't want read posts to vanish from the list.

How do I set up Vbulletin to display such a list?

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

PS: The "cookie" method of keeping track of read posts is working something like this, but the "read posts" seem to be getting corrupted somehow and set back to "unread".

I switched to the other two database modes, and things seemed to keep track of read/unread properly, but of course the older threads you have already read vanished from the "new posts" listing, while "today's posts" doesn't show enough history of posts to be useful to us.
Reply With Quote
  #2  
Old 02-04-2009, 11:42 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To make Today's Posts work for a whole week, in the navbar template find all instances of:
Code:
do=getdaily
Change to:
Code:
do=getdaily&days=7
Then just edit the phrase todays_posts and change it to This Week's Posts, Recent Posts or whatever you fancy.
Reply With Quote
  #3  
Old 02-04-2009, 11:47 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dude... you are a GOD. Thank you!


Quote:
Originally Posted by Mark.B View Post
To make Today's Posts work for a whole week, in the navbar template find all instances of:
Code:
do=getdaily
Change to:
Code:
do=getdaily&days=7
Then just edit the phrase todays_posts and change it to This Week's Posts, Recent Posts or whatever you fancy.
Reply With Quote
  #4  
Old 02-06-2009, 12:08 AM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn. I still need help on this. I made the changes Mark B suggested and they worked fine.

Problem is, my users hate it. They want "new posts" to give them what is generated by "today's posts." I'm not sure how to do this, as there doesn't seem to be a command executed, like there is for "today's posts" in the navbar template.

Anyone know how to take the "new posts" in the nav bar, rename it to "recent posts" and make it work just like "today's posts?"

Wow, this stuff can sound very confusing... no wonder my users are upset.
Reply With Quote
  #5  
Old 02-06-2009, 12:19 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

copy the line you edited before and add both?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:04 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.03581 seconds
  • Memory Usage 2,199KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete