MyBB Community Forums

Full Version: "New Posts (X)" to mimic Social Networks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What about something like this?

[attachment=23945]

You can see something simmilar in Tomm´s website, is a great feature in my point of view (you must login) => http://resources.xekko.co.uk/index.php

Will a feature like this be compromised because creates a perfomance bottleneck?
That welcome back block is shown on every page, so the queries to determine that information (number of new messages, etc) would have to be run with every page hit. It could definitely affect performance.
(2011-08-28, 07:14 PM)laie_techie Wrote: [ -> ]That welcome back block is shown on every page, so the queries to determine that information (number of new messages, etc) would have to be run with every page hit. It could definitely affect performance.
This, although I would assume you could cache the results and only update every x number of page loads.
What would be the point of caching a result to show you recent activity?

People often want features they see on immense sites but these are the types of features to cause high load and then people complain their site is slow. You can't have it both ways.

It's just a couple of extremely simple select queries. It's fine up to a medium to large forum, but get to massive scale and you're wanting to save as a many queries as possible.
(2011-08-29, 03:25 AM)labrocca Wrote: [ -> ]People often want features they see on immense sites but these are the types of features to cause high load and then people complain their site is slow. You can't have it both ways.

Make it an optional feature turned off by default:

Admin CP => Configuration => User Registration and Profile Options =>
Option: Turn on number of New Posts indicator?
Y - (N)


if Yes => (Recommended to turn on "cache to files" [or whatever] when using this feature)