|
"New Posts (X)" to mimic Social Networks
|
|
08-28-2011, 01:05 PM
(This post was last modified: 08-28-2011 01:08 PM by aglioeolio.)
Post: #1
|
|||
|
|||
|
"New Posts (X)" to mimic Social Networks
What about something like this?
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? []s, Claudio Tutorial: Jquery (by google API) with mybb (Prototype) Distinction between Paid/Free Plugins Threads |
|||
|
08-28-2011, 07:14 PM
Post: #2
|
|||
|
|||
|
RE: "New Posts (X)" to mimic Social Networks
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.
|
|||
|
08-29-2011, 02:04 AM
Post: #3
|
|||
|
|||
RE: "New Posts (X)" to mimic Social Networks
(08-28-2011 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. |
|||
|
08-29-2011, 03:25 AM
Post: #4
|
|||
|
|||
RE: "New Posts (X)" to mimic Social Networks This user has been denied support.
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. New MyBB plugin is "My Awards 2.0".
|
|||
|
08-29-2011, 06:24 PM
Post: #5
|
|||
|
|||
|
RE: "New Posts (X)" to mimic Social Networks
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.
|
|||
|
08-30-2011, 11:02 PM
(This post was last modified: 08-30-2011 11:05 PM by aglioeolio.)
Post: #6
|
|||
|
|||
RE: "New Posts (X)" to mimic Social Networks
(08-29-2011 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) []s, Claudio Tutorial: Jquery (by google API) with mybb (Prototype) Distinction between Paid/Free Plugins Threads |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help







![[Image: 422.png]](http://internetometer.com/image/422.png)
This user has been denied support.
![[Image: 468x60_SF.gif]](http://supportforums.net/images/banners/468x60_SF.gif)