vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   New Posts & Threads Since Last visit (https://vborg.vbsupport.ru/showthread.php?t=82774)

ogden2k 06-27-2005 10:49 AM

Quote:

Originally Posted by ogden2k
I just tried that under the Database (automatic forum marking) system, and the forum with the new thread does show as "new" but when I click on New Posts, the thread does not show, since I logged out and logged in w/o reading that thread.

<a href="search.php?$session[sessionurl]do=getnew&amp;oldmethod=1" accesskey="2">

Any ideas?

southernlady 07-14-2005 11:14 AM

I'm getting this error now:
Code:

Parse error: parse error, unexpected '=' in /home/hsphere/local/home/southern/mysouthernlady.com/forum/includes/functions.php(2196) : eval()'d code on line 1
Running beta 4...has this been updated or should I take it off til it has? Liz

Zachery 07-14-2005 04:04 PM

Quote:

Originally Posted by southernlady
I'm getting this error now:
Code:

Parse error: parse error, unexpected '=' in /home/hsphere/local/home/southern/mysouthernlady.com/forum/includes/functions.php(2196) : eval()'d code on line 1
Running beta 4...has this been updated or should I take it off til it has? Liz

I don't see why it would stop working, but I will take a look at this today liz.

southernlady 07-14-2005 06:18 PM

Thanks, Zachery, all I know is that after taking it out, the parse error went away. Liz

tanyeri24 07-15-2005 01:34 AM

how handle with the file threadsnpostscount.xml

where upload?

Zachery 07-15-2005 05:58 AM

Quote:

Originally Posted by southernlady
Thanks, Zachery, all I know is that after taking it out, the parse error went away. Liz

Hmm, Liz delete it and re-add it, its not causing any problems for me.

southernlady 07-15-2005 10:33 AM

Zachery, I'll try that. Thanks. Liz

southernlady 07-15-2005 10:55 AM

Zachery, it still does it on my LIVE board but I took that and put it on my test board and it doesn't do it...so it's conflicting with another plugin, I believe. Is there a way you can help me nail it down? Liz

southernlady 07-15-2005 11:09 AM

Never mind, Zachery, I found it...it was one having to do with the vbadvanced 3.5 beta error reporting. It conflicted with yours. Liz

Zachery 07-15-2005 11:56 AM

Liz I uploaded a zip with a modified plugin, delete the old one and try that and see what happens.

southernlady 07-15-2005 12:06 PM

Zachery, I had taken the portal down for the time being, It and I were having issues and I forget to delete that plugin. So deleting it, and leaving yorus was not a problem.

Me and that danged portal have not gotten along yet. This time it was a header issue. Liz

Zachery 07-15-2005 12:13 PM

Quote:

Originally Posted by southernlady
Zachery, I had taken the portal down for the time being, It and I were having issues and I forget to delete that plugin. So deleting it, and leaving yorus was not a problem.

Me and that danged portal have not gotten along yet. This time it was a header issue. Liz

I am running a pre-release of the vBa CMPS 2.0 for beta 3 and I wasn't having any issues.. odd...

southernlady 07-15-2005 12:33 PM

Zachery, I'm running beta 4 now. not beta 3...that may be the problem. Liz

Zachery 07-15-2005 12:54 PM

Quote:

Originally Posted by southernlady
Zachery, I'm running beta 4 now. not beta 3...that may be the problem. Liz

So even with my new file you get an issue ?

southernlady 07-15-2005 01:05 PM

Yeah, that fixed it...but then again, I'm not running the portal right now. I am on beta 4.

As far as the portal issue goes, I couldn't get my header files to show up regardless of what I did and it was in all the proper places. But this isn't the place to discuss that altho I have yet to find the right place TO discuss that issue since there isn't technically a support board for the beta portal yet. Liz

Zachery 07-15-2005 03:35 PM

Liz you should be able to get support on vBA.com :)

Ian Emu-UK 07-16-2005 10:25 PM

It would be great if this used the database marking system to only count the unread posts.

I had a quick play copying some code from search.php but I had no joy with it what so ever, is it possible to find and count the unread post?

peterska2 07-22-2005 06:34 PM

It's saying I have 'Array new posts and 4 new threads'

Any ideas?

Deimos 08-24-2005 04:46 PM

Installed this on RC2 and it seems to work ok

Is there a way to exclude certain forums from being counted in the new posts area?

Nullifi3d 09-05-2005 12:55 AM

Is it possible to calculate the count of all new threads/posts since last visit into one number?

thetoolman 09-12-2005 08:20 PM

Hi
I have installed this and it works fine in the navbar template, but when i place the code in the footer where my right column hack is, it doesnt display the post number. Any ideas?

Zachery 09-12-2005 08:55 PM

Quote:

Originally Posted by thetoolman
Hi
I have installed this and it works fine in the navbar template, but when i place the code in the footer where my right column hack is, it doesnt display the post number. Any ideas?

Because it isn't ment to go in the footer template.

thetoolman 09-12-2005 08:57 PM

ok, but how can i make it work there?

thetoolman 09-14-2005 07:28 PM

any ideas how i can make them appear in the footer?

southernlady 09-29-2005 02:09 PM

Zachery, installed Gold last night and this plugin works just fine.

Btw, I am still running a html front page...as soon as vbadvanced goes gold, I'll try it again. Liz

Sooner95 09-29-2005 03:08 PM

Can 2nd that as well, thx!

Roody 10-02-2005 04:03 PM

Quote:

Originally Posted by ogden2k
Any way to get this to work wherever you are in the forum? I have this beside new posts (just new posts, not threads, so it shows a number and no text).

Any ideas on how to make this work so it shows up on any page within a forum? Right now it only shows up on the main Forumhome page.

Nullifi3d 10-02-2005 04:54 PM

Quote:

Originally Posted by Roody
Any ideas on how to make this work so it shows up on any page within a forum? Right now it only shows up on the main Forumhome page.

Moving the hook location from forumhome_start to global_start should do the trick.

Zachery 10-02-2005 07:56 PM

I cannot stress this enough

DO NOT HAVE THIS RUN ON EVERY PAGE, ITS NOT A GOOD IDEA

Nullifi3d 10-02-2005 09:22 PM

Why? Does it eat too many queries or something?

Zachery 10-02-2005 09:25 PM

Quote:

Originally Posted by HotLinkHosting
Why? Does it eat too many queries or something?

Those queries, esp if you don't run the indexes, cause large if not full table scans...

So its going to read the entire thread and post tables... before it finishes.

Nullifi3d 10-02-2005 09:43 PM

nice, I'd love to have some of the largest tables in the database fully scanned on every page! lol

JulianD 10-02-2005 10:00 PM

Installed =) Thanks!

calldaffer 10-03-2005 02:04 PM

Quote:

Originally Posted by Zachery
Those queries, esp if you don't run the indexes, cause large if not full table scans...

So its going to read the entire thread and post tables... before it finishes.

Alright so I've installed it and I've got it set it to show on all pages. Gimme worst case scenerio as to what might happen by doing this? Would it just be longer page loads?

Nullifi3d 10-03-2005 04:44 PM

As your board gets bigger (more posts/threads) page load will increase. Once you board reaches a few hundred thousand posts/threads or even worse in the millions I woud fear being a member of your site.

calldaffer 10-03-2005 04:57 PM

Currently my board has: Threads: 17,869, Posts: 182,735 and I've noticed no drag on performance...

Zachery, please tell us why you recomend against it and the longterm effects of not doing as you suggested.

Paul M 10-03-2005 10:53 PM

If you index dateline in your post & thread tables this hack will have a negligable effect, even if run on every page, that's what indexes are for. ;)

Roody 10-04-2005 12:59 AM

Quote:

Originally Posted by Nullifi3d
As your board gets bigger (more posts/threads) page load will increase. Once you board reaches a few hundred thousand posts/threads or even worse in the millions I woud fear being a member of your site.

So just putting it on the forumhome_start will prevent this issue from happening?

Nullifi3d 10-04-2005 01:06 AM

Well it's defaulted to that hook when you install the plugin. Thus, forumhome is the only page that runs the php code to get the post count. As Paul and Zach stated, if you added the indexes it will help alot. I wouldn't recommend running it on every page if you have millions of posts or don't use indexes.

Please keep in mind, I'm not a php/mysql guru, however I do know a lil bit.

sim tech 10-04-2005 05:42 PM

Is it normal to not update very often?

My vBulletin shows that no new message have been posted if you go by the generic image which is on the left side of the forum, but the mod still says "There has been 3 new posts and 0 new threads since your last visit."

Even when I refresh the page it did not change. It does update as far as increasing... I added a test post and it now says there are 4 new posts but the default vbulletin software shows that I have already viewed them.

The only way that I can get the counter to reset is to actually log out of the message board and then back in.


All times are GMT. The time now is 04:19 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.01300 seconds
  • Memory Usage 1,814KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete