Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Announcing the hotlist_flex box Boxes
By hillct , Section Code []
Posted on Sat Jan 05, 2002 at 12:00:00 PM PST
This variant of the hotlist box provides some additional functionality. It allows the user to move between three different views of the box. First, is the default hotlist view. Second, the stories hotlist view, which displays all the stories written by the user in order that they may more easily track comments made. Third, and perhaps most useful is the Replies view, which displays a dynamic list of stories having comments by the logged in user, to which there are unread replies.

The box is available for beta testing here. After I sift through any feedback I get, I'll post it to the Scoop Box Exchange. Update [2002-1-12 7:54:46 by hillct]: Version 0.2.2 has been posted to the FTP site. It incorporates Rusty's CGI parameter fix and a better method for checking logged-in status.

This box was developed in response to a suggestion made by janra and it's been described durring it's evolution but I'm going to try and consolidate things a bit here.

The box was originally intended only to display comment replies, but it seemed to me that this was too similar to a hotlist to warrant use of the additional real estate required for a new box so I combined the comment replies functionality into the hotlist box and added the user stories view as a convenience because a good portion of my hotlist is my own stories so I can track the new comments made once the story scrolls off the front page. Some might think this feature redundant since you can see all your stories using the 'My Stories' link off the user box, but that view doesn't display the number of new comments posted since the story was last viewed.

One side effect of his combination of functionality into one box is that the box doesn't disappear when there is no data to display in the current view because the menu must still be displayed. This is somewhat inconsistent with the behavior of most other boxes but it seemed to be a reasonable trade-off.

The comment replies view displays the subject of the story to which unread replies (to user comments) are attached. It also displays the subject lines of the user comments to shich the replies were made. It's important to note here that the box does not require alterations to the DB. It utilizes data available in the 'viewed_stories' table which means it does not track views of individual comments but only stories. This means if you click n the comment links and read the replies made, they will not be marked read, nor will the story as a whole. In order to get a story marked 'read' you must clock on the story link provided. This is both a blessing and a curse. There are cases where unread replies to multiple comments made by the logged-in user to the same story, where it would be undesirable for viewing of one of the comments to cause the story view timestamp (of sorts) to be updated. In the case of only one unread comment, viewing of that comment should cause the 'viewed_stories' table to be updated which would (in the case of this box) result in the story being removed from the Replies list. Until it got fixed in version 1.96 of Comments.pm, the behavior with regard to marking stories viewed when their comments were viewed based on whether or not the scoop admin had enabled static page caching.

In any case, I'm interested in your feedback as well as end user reaction.
< Computer Professionals Opposing Drug Testing (ip4noman.org) | File uploads thru web interface; file sharing system? >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Poll
Combination boxes like this are:
· Good 60%
· Bad 0%
· Ugly 20%
· A vary bad precedent that no one should EVER follow 20%

Votes: 5
Results | Other Polls

Related Links
· Scoop
· here
· a suggestion
· janra
· got fixed
· More on Boxes
· Also by hillct

Story Views
  433 Scoop users have viewed this story.

Display: Sort:
Announcing the hotlist_flex box | 20 comments (20 topical, 0 hidden)
Try it here (5.00 / 0) (#1)
by rusty on Sun Jan 06, 2002 at 07:55:35 PM PST

For your beta-testing pleasure, I enabled it here. Look at display prefs, you can pick which one you like better. Or keep both.

I also tweaked it so it handles arguments correctly. I.e. if I'm at a page like /?op=modsub for some reason, and I switch modes, it'll still go back to the page I was on.



Problem, solution (none / 0) (#2)
by rusty on Sun Jan 06, 2002 at 08:52:18 PM PST

Ok, so I wanted to put this box on K5, cause it's neat. But I ran some tests, doing a sample query in the k5 database for the "New Comments" function, and it took insanely long. Like on the order of 5 seconds for a single query. Bad mojo.

I fooled around with the query SQL for a while, but nothing made any difference. Finally, poking around on the web, I found somewhere that mentioned using "OPTIMIZE TABLE tablename" from time to time. Ran this on comments and viewed_stories, and queries are now ~0.5 seconds.

So I guess that's a little word to the wise then. I'm off to optimize the rest of the k5 tables now. :-)



a bug apparent? (none / 0) (#4)
by sleeper22 on Wed Jan 09, 2002 at 11:29:41 AM PST

it seems that in the "replies" mode when i click on the title of a reply (rather than the story title), that reply is not removed from the box as it should be.

in other words, the box is only updated when i click on the story title.
--
babelguides.com <<world literature in translation>>


how does set-view work? (none / 0) (#6)
by sleeper22 on Fri Jan 11, 2002 at 09:13:10 AM PST

where is the current view for each user stored?

i'd also like to make a flex box; is there a generalized mechanism for storing this kind of box variables on a per-user basis?

i'm guessing that the userprefs table is well-suited for this purpose
--
babelguides.com <<world literature in translation>>


bookmarks/links/shared lists (none / 0) (#8)
by infinitera on Thu Mar 07, 2002 at 07:26:27 PM PST

hey all, just had a feature pop into my head today, wasn't sure where to post/send it, so I made a scoop account and chose this story cause it seemed similar;) anyways, here's the idea (inspired because I was reading an awesome comment today, logged in from a computer lab, got home, and couldnt for the life of me find it, because I didn't rate it): Mark comments as interesting, and links. Have a box of them you can see. Have this list shareable with any other user, so that people can have the day's stuff of interest provided by the various people they trust; I for one don't have time to look through every story, but when I do have the time, I find lots of stuff buried deep, stuff that makes me think. So I think distributed and shared processing of this would rock:)



-Dan



Suggestions (none / 0) (#9)
by matthewg on Thu Apr 18, 2002 at 07:04:40 PM PST

I want to always see if I have any replies to my comments, and new comments in my hotlisted stories, etc, so maybe there should be an "All" view for the flex-hotlist. Also, what about the capability to hotlist a thread (by hotlisting its toplevel comment) ? Does the Replies hotlist view show indirect replies (replies to replies) [I asked hillct in IRC and he said he thinks so] - it should, although perhaps distinctly from direct replies (e.g. 4/8 new replies).

The Replies hotlist already does "thread hotlisting" that for your comments, so support for hotlisting threads just means being able to add arbitrary comments to the list of things to watch for that view. Might mean a new DB table (need a way to track a many-many UID-CID relationship), though.



ggg (none / 0) (#10)
by htof on Sat Jan 03, 2009 at 01:46:06 PM PST

http://www.htoof.com/vb/f27/

http://www.htoof.com/vb/f16/

http://www.htoof.com/vb/f46/

http://www.htoof.com/vb/f67/

http://www.htoof.com/vb/f59/

http://www.htoof.com/vb/f65/

http://www.htoof.com/vb



Scoop (none / 0) (#11)
by mike22122 on Wed Feb 04, 2009 at 01:47:54 AM PST

Scoop is cool~ Thank you for your cool article. online tv - To get some TV resouces here: watch tv online and free online tv Thanks



AYpearl (none / 0) (#12)
by Lucy0422 on Thu Feb 26, 2009 at 10:45:04 PM PST

wholesale jewelry,wholesale handmade jewelry,wholesale fashion jewelry,wholesale costume jewelry handmade jewelry costume jewelry jewelry wholesale,discount jewelry,cheap jewelry wholesale pearl wholesale crystal



Great post (none / 0) (#13)
by zracx on Mon Dec 16, 2013 at 08:23:33 PM PST

this website Great post. I used to be checking continuously this blog and I'm inspired! Very helpful info specially the ultimate phase :) I care for such info a lot. this site I was looking for this certain information for a very lengthy time. Thank you and good luck. this post



awesome article (none / 0) (#14)
by nelly on Sat Aug 30, 2014 at 09:21:37 AM PST

You'll find normally absolutely a good amount of facts that will adheres fot it take into account. herbal alami Which is a excellent specify improve up. toko pasutri You can expect the actual concepts previously mentioned since typical creativeness but evidently you'll find inquiries bicara forum komunitas such as the one particular persons improve up where by the most important thing will likely be receiving operate carried out with honest effective rely on. blogkita free blog Many of us use? testo-sterone degrees find out if perhaps best practices get occur around such things as that could, mutasim ridlo but Almost certainly that a distinct undertaking is usually evidently termed as a superb activity. best forex broker Both kids contain the impression involving simply a moment's fulfillment, with the unwind with the lifestyles. An exceptional select, bisnis abenetwork My spouse and i just together with all this along with the actual relate who had previously been basically accomplishing a smaller research due to this. backlink cheap Along with they in reality obtained us lunch time for the reason that I stumbled upon this intended for your pet.. seem. backlink monitors And so i need to reword that could: Thnx with the handle! Nonetheless sure Thnkx intended for paying whenever to debate this, CV. Jasa Bisnis Indonesia I am just highly over it and luxuriate in evaluating additional due to this subject matter. Whenever, whenever you develop into practical knowledge, webinar bisnis online really does a single head bringing up-to-date your website to comprehend facts? It may be particularly a great choice to me professionally. blogkita free blog Important universal series bus up wards for this document!. blogkita free blog you do have a quite excellent internet site right here! must you help to make a few acquire blogposts with our internet site?



Hotlist box (none / 0) (#15)
by JohnTroodley on Wed Sep 24, 2014 at 11:43:25 PM PST

I think the hotlist box is very helpful list of favorites. We can find out who is replying to our comments. Setting Computer | What Is Computer



da (none / 0) (#16)
by johnpatinson on Mon Jan 05, 2015 at 03:13:16 AM PST

Omega represents the actual 40th wedding anniversary from the Apollo 15 through the intro from the brand new restricted release watch - the actual replica replique montres Omega De Ville "Apollo 15" 40th Wedding anniversary Restricted Release view. The actual watch is going to be obtainable in a restricted number of 1, 971 items.



design (none / 0) (#17)
by scalett on Sat Oct 17, 2015 at 05:32:37 AM PST

In Hermes Replica bags accumulating every backpack has two variants of altered size. Prada Fair Accoutrements are ablaze of course: there are white, green, pink, red and dejected handbags. The ablaze apple of Prada Fair Accoutrements is a abundant allurement and a present for all Prada fans.Few capital stuffs that all women will accept got in their armoires will be clothing, shoes and rings. There are aswell a abundant abounding added accessories that adult women would ambition to accept in adjustment to enhance their looks and style. These fashionable females, who not alone accord accent to their clothes and shoes, but aswell admiration Replica Handbags accessories an important area of admonishment themselves, access an bend aloft all added girls.



very interesting! (none / 0) (#18)
by hunt85 on Thu Feb 11, 2016 at 06:14:31 AM PST

Thanks for the information, very interesting and useful post! 192.168.1.1



Good website (none / 0) (#19)
by jakirson on Fri Feb 19, 2016 at 11:18:38 AM PST

Good website I truly love how it is nice on my eyes it is Im wondering how I could be notified when a new post has been made I have subscribed to your RSS which may do the trick? Have a great day. sciatica sos



great (none / 0) (#20)
by kokim80 on Sat Mar 19, 2016 at 02:07:00 AM PST

about anywhere but be accurate and accept anyone who is an accustomed seller.Decide whether you wish academic or accidental actualization afore you buy. If you are arcade for anyone abroad be abiding you are acquainted of their affairs and tastes ahmadjuki kiwibox kanguru



Announcing the hotlist_flex box | 20 comments (20 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search