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 not appearing via new post link (https://vborg.vbsupport.ru/showthread.php?t=323449)

floridaideal 09-11-2016 04:20 PM

New posts not appearing via new post link
 
Hi All

Hope someone can please help me, for the last several months my forum members have had issues viewing new posts via the New Posts link across the top of the screen.

The link goes to: /forum/search.php?do=getnew&contenttype=vBForum_Post

I also have a link for posts in the last 24 hrs /forum/search.php?do=getdaily

For some reason its very hit and miss, sometimes once logged in it shows posts and then sometimes it doesn't and just says no new posts. I also noticed it makes you login almost each visit too which it never used. My VB is Version 4.2.3 if that helps any.

I can't think of anything that's changed on my forum recently, hope someone can help

Thank you very much

Stuart

MarkFL 09-11-2016 06:25 PM

In your "General Settings" what do you have for "Thread/Forum Read Marking Type?"

floridaideal 09-11-2016 06:40 PM

Thank you for your reply, its set to: Inactivity/Cookie Based

MarkFL 09-11-2016 09:07 PM

Okay, try setting that to "Database (automatic forum marking)"...I find that setting to be much more useful. :)

Paul M 09-11-2016 09:20 PM

Quote:

Originally Posted by floridaideal (Post 2575807)
Thank you for your reply, its set to: Inactivity/Cookie Based

Logging in and out will kill that, use the database system (which btw, is the default).

floridaideal 09-12-2016 03:41 PM

Hi guys

Thanks again for your help with this matter. I gave it over night and asked my users to test it and all of them are still saying the issue hasn't been resolved and its very on again off again when it does display the new posts. "On Logging in Recent Posts & New Posts sometimes get displayed , with threads , & sometimes do not"

Any ideas what else it could be

Thank you

Stuart

Paul M 09-13-2016 12:04 AM

What they are saying doesnt make much sense.
Logging in/out will have no effect on database marking.

Do you see this happening as well ?

In fact, this seems an odd thing entirely ;

"Recent Posts & New Posts sometimes get displayed , with threads , & sometimes do not"

What are "recent" posts, as opposed to "new" posts ?
What do you mean by "posts sometimes get displayed, with threads" ?

What page is it exactly that you are talking about (that they are viewing) ?

the one 09-13-2016 02:02 PM

Quote:

Originally Posted by floridaideal (Post 2575805)
Hi All

Hope someone can please help me, for the last several months my forum members have had issues viewing new posts via the New Posts link across the top of the screen.

The link goes to: /forum/search.php?do=getnew&contenttype=vBForum_Post

I also have a link for posts in the last 24 hrs /forum/search.php?do=getdaily

For some reason its very hit and miss, sometimes once logged in it shows posts and then sometimes it doesn't and just says no new posts. I also noticed it makes you login almost each visit too which it never used. My VB is Version 4.2.3 if that helps any.

I can't think of anything that's changed on my forum recently, hope someone can help

Thank you very much

Stuart

I have this bit of code search.php?do=getdaily&days=3 works like a charm.The 3 brings the last 3 days post you can change that number to whatever you like

floridaideal 11-19-2016 12:07 PM

Hi All

Sorry to bring this old thread back to life but wonder if anyone else might be able to help me. Long story short my forum still has the same issues, I am getting the message 'Sorry - no matches. Please try some different terms.' randomly when trying to look for new posts. I even used the 3 day code in the post above and it worked a few times now won't show anything apart from the above message.

I have upgraded to the latest version now and over wrote the original files but still the same problem.

Can anyone help please, its driving myself and my members nuts. I know there are new posts to view as I can see them in my forums but they just won't show up.

Hope someone can help please, must be a setting or something somewhere. Help

Thank you

Stuart

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

Sorry quick note. In Chrome if I go into Incognito mode it works fine, also someone mentioned if they used a Firefox private window it also works no problem. So strange.

Mark.B 11-19-2016 01:17 PM

Sounds like some sort of caching going on. You cannot use any form of html caching on a vBulletin installation, it will break stuff. You will need to speak to your host if this is the case.

You can try this to see if it 'fixes' it, but it's not a long term solution, any html caching needs to be off at server-side:

AdminCP > Settings > Options > Cookies and HTTP Header Options > Add No-Cache HTTP Headers > Set to YES

floridaideal 11-19-2016 01:45 PM

Hello Mark

Thanks for your reply, I just checked that setting and it was already set to yes, guess its been like it for years.

Any ideas?

Thanks

Stuart

Mark.B 11-19-2016 01:48 PM

It shouldn't be like that, it's not an optimal setting to have.

If that's set to yes, then you need to speak to your host. There is some sort of caching going on and it's breaking your forum.

You should also disable plugins via config.php just to make sure it's not a rogue add-on causing problems:

To disable the plugin/hook system completely, edit includes/config.php and add the following code:
Just below
Code:

<?php
enter
Code:

define('DISABLE_HOOKS', true);

floridaideal 11-19-2016 02:01 PM

Thank you Mark for your help with this, I just disabled the plugins as you suggested but it doesn't appear to have made a difference unfortunately.

Is there anything specific or a starting area to look that I can pass onto the guy who helps look after my server to look for please to help solve this?

Thanks again

Stuart

Mark.B 11-19-2016 02:03 PM

Quote:

Originally Posted by floridaideal (Post 2578421)
Thank you Mark for your help with this, I just disabled the plugins as you suggested but it doesn't appear to have made a difference unfortunately.

Is there anything specific or a starting area to look that I can pass onto the guy who helps look after my server to look for please to help solve this?

Thanks again

Stuart

Just that it's some sort of caching. If it's working in private browsing modes then those are bypassing the caching.

floridaideal 11-19-2016 02:10 PM

Thank you Mark I have passed it on. I also have an issue where I have to login each visit too which never used to be the case, I guess this is related? Thanks again for the help your a star!

Mark.B 11-19-2016 02:15 PM

Quote:

Originally Posted by floridaideal (Post 2578423)
Thank you Mark I have passed it on. I also have an issue where I have to login each visit too which never used to be the case, I guess this is related? Thanks again for the help your a star!

Yep that's almost certainly going to be the same thing.

floridaideal 12-06-2016 01:50 PM

Hi Mark

Back to trying to fix my forum issue, spoke with my tech and he isn't exactly sure of the issue and had this to say:

"When you log in it redirects you to a URL such as
domain.com/forum/search.php?searchid=275740. Notice the
search ID in the query string. The problem is this search will only be
valid for 5 or 10 min (VB caches search results for a short time). If you
visit the URL after that you'll get a 'no search results found' message.

To compound this problem, it looks as if the redirect is being cached (in
the web browser): I tried logging out, logging back in, and my browser
redirected to the same searchid ... even though it was now out of date.

So we need to figure out why it redirects to the search page after login.
Is this a change that you've made, perhaps? A safer option would be to
redirect to domain.com/forum/search.php?do=getnew. "


and I never noticed it before either till he mentioned it as I have a short cut on Chrome but when I click to my forum using domain.com/forum it takes me straight to a search page showing the last three days worth of posts or in most cases telling me it can't find any posts.

Any ideas on this one....starting to feel like Westworld looking for the center of the maze :)

Thank you again

floridaideal 12-07-2016 04:13 PM

Sorry to be the thread bumper but can anyone give me any further help with this one? Many thanks.


All times are GMT. The time now is 04:59 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.01100 seconds
  • Memory Usage 1,761KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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