vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Does anyone else have this issue with "New Posts"? (https://vborg.vbsupport.ru/showthread.php?t=96923)

ProperMethodz 09-26-2005 08:13 AM

Does anyone else have this issue with "New Posts"?
 
Hello,

I have this weird thing where new posts doesn't display but two or three threads at a time. I've seen it on other sites where it fills up pages.

Is there a way to adjust how long it takes for a thread to retire from being a "New Post"?

I'd like to set this to 24hrs.

peterska2 09-26-2005 08:23 AM

Only by changing your cookie timeout in the ACP cookie settings.

Be warned that this affects your WOL as well though.

Easier to add a link on your navbar to todays posts. Just take the < if> < /if> out from round the existing one as there is one that only shows to guests.

ProperMethodz 09-26-2005 09:22 AM

Forgive me.

What is WOL?

and what is the <if> </if> around the existing one?

I'm far from a coder, just an administrator.

kall 09-26-2005 09:34 AM

WOL - Whos Online. What Kerry-Anne means is that you will appear to have people 'Online' that are just still showing because they didnt log out, and their cookie is still active, if you increase the timeout to 24 hours.

ProperMethodz 09-26-2005 09:41 AM

I don't think I'll mind that at all.


How is this adjusted?

Edit
Got it... Time out in seconds.... just need to do some math. :)

Admin CP > vBulletin Options > Cookies and HTTP Header Options
/Edit

peterska2 09-26-2005 06:19 PM

To add todays posts next to new posts:

navbar template

FIND
HTML Code:

                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>

REPLACE WITH
HTML Code:

                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                </if>
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>

OR to remove the new posts altogether and just have todays posts

REPLACE WITH
HTML Code:

                        <if condition="$show['searchbuttons']">       
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>


ProperMethodz 10-05-2005 03:24 AM

Thanks Peterska

This was also fixed with 3.5 where they now allow you to set how far back you want new posts to display for each user. It uses the database and server space, but I have a great host who lets me run free.


All times are GMT. The time now is 08:04 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.00978 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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