vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts (https://vborg.vbsupport.ru/showthread.php?t=231060)

Paul M 03-01-2010 09:11 PM

Quote:

Originally Posted by masterross (Post 1994681)
This hack overloading mysqld!

Interesting comment from someone who hasnt even downloaded it. Its wrong as well btw.

SuperGLS 03-02-2010 10:32 PM

Paul, you are my hero! One of the last things I've been missing from vB3. I will send you money now.

Working great on 4.0.2.

zeroality 03-03-2010 01:08 AM

Just upgraded to 4.0.2 and updated this MOD. Works just fine except now regular users (or others who do not have permissions to view) can see the excluded "staff" forums when pulling up the new posts search.

Type: Posts; Excluded Forums: Champion's Tower, Forum Games, Reports and Infractions, Contributor Forum; New Posts

The account I tested this on does have permission to view Forum Games, but not the others. Minor nitpick but still would like a fix. Thanks. :)

Paul M 03-03-2010 10:52 AM

I cannot do anything about that - its standard vb functionality. If you think it doesnt work properly then you need to log a bug at vb.com.

masterross 03-03-2010 02:48 PM

Quote:

Originally Posted by Paul M (Post 1994755)
Interesting comment from someone who hasnt even downloaded it. Its wrong as well btw.

Really?

So how you can explain this:

w/o hack:

Attachment 113491

2min after enabled:

Attachment 113492

6min after enabled:

Attachment 113493

If remain active for 1 hour load goes to 90-100


Of-course will work on baby boards with small numbers of members online but did you tried on board with 2000 users online ;)

Paul M 03-03-2010 07:04 PM

Quote:

Originally Posted by masterross (Post 1996141)
Really?

Yes, Really.

Quote:

Originally Posted by masterross (Post 1996141)
So how you can explain this:

I dont explain how other peoples servers are configured.

What I do know is how this works, specifically one, fully indexed select. The average vb4 page uses about 15 such queries per page. Your links show that you are already running high loads in the before screen - if adding one more indexed query to a page is having that sort of dramatic effect then your server is already on the edge of collapse.

I would suggest that you make sure that your server actually created the dateline index (which btw, is done on install, and would take a while on 2 million posts).

Quote:

Originally Posted by masterross (Post 1996141)
Of-course will work on baby boards with small numbers of members online but did you tried on board with 2000 users online ;)

Dont patronise me just because you have a busy forum. Im well aware of whats involved in busy set-ups. I have had this working on high traffic forums, and indeed, added the cutoff feature at the request of one to help control high load queries that would have involved counting 1,000's of posts. You would also do well to remember that this only works on logged in members, not users, from observing your forum tonight, I would guess its more like 800 members online, not 2000 (and I cant tell what you cookie timeout is either).

zeroality 03-04-2010 05:15 AM

Quote:

Originally Posted by Paul M (Post 1995946)
I cannot do anything about that - its standard vb functionality. If you think it doesnt work properly then you need to log a bug at vb.com.

Ah, I see. Well thank you for your great hack and I'm sorry others are being jerks. :)

Will go report as bug right now.

malas2007 03-05-2010 12:21 PM

Installed

www.bonsaifreinds.com/vb

CoZmicShReddeR 03-05-2010 02:30 PM

Wow really nice feature!

SuperGLS 03-05-2010 09:10 PM

After upgrading to 4.0.2 my forum was using database thread marking and this mod was working great. However I didn't want database thread marking (for many other reasons and had never had the site set to this previous of the upgrade... why the upgrade changed it I don't know) so now this mod isn't quite as exciting as it was.

Paul, do you ever see this working with the Inactivity/Cookie Based option rather than the database thread marking option?


All times are GMT. The time now is 05:07 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.01382 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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