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
Recent bugfixes/updates New Code
By rusty , Section News []
Posted on Tue Dec 19, 2000 at 12:00:00 PM PST
Despite my silence around here (or perhaps because of it!) I have been at work tweaking Scoop stuff lately. The summary is, there's a new scoop.sql file in CVS, there have been a bunch of bugfixes in how cid links work, and of course, the ratings info is now visible. Read on for more info.

Ok, the best part is that CVS now contains a fixed and, AFAIK quite functional scoop.sql. Almost all of the HTML is now in Blocks, except for the font stuff, which still needs to be in Vars to make the display prefs work right. It also is set up for diaries by default, and has the latest versions of all the boxes (except possibly the poll box-- hurst, can you grab it and check that, and update if needed?).

Other fixes include a difference in how "cid links" work. Basically now whenever your link contains cid=$number, you will see that comment, regardless of your display prefs. This makes sense because presumably if you clicked on a link like that, you really wanted to see that comment. Cid links are also now used in threads, which tends to make navigating threads a lot more sane.

Also, there's the "open ratings" change. The rating display itself is a box, of course, so you can disable open ratings by simply not having that box do anything. If you want open ratings, update your code, and grab the ratings-show box (which I will post in just a minute). A quick edit to your "comment" block to add the link, and you have open ratings too.

The link you need to add in your comment (and moderation_comment) block is something like:

<A HREF="|rootdir|/?op=comments;sid=|sid|;mode=alone;showrate=1;cid=|cid|#|cid|">|score| / |num_ratings|</A>

To update your DB so that the "ratings" counts are right on each comment, run the script scripts/init_comment_counts.pl. From the command-line, the syntax is:

$] scripts/init_comment_counts.pl [dbname] [password] [user]

One final small fix, now you can actually reset your comment prefs from anywhere the "comment_controls" box appears. Update that box as well, and it ought to work.

< Enhancements to Review Hidden Comments page | Permanent Discussion Boards >

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

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on New Code
· Also by rusty

Story Views
  16 Scoop users have viewed this story.

Display: Sort:
Recent bugfixes/updates | 7 comments (7 topical, 0 hidden)
I guess. (none / 0) (#1)
by Mystic on Tue Dec 19, 2000 at 08:03:23 PM PST

To update your DB so that the "ratings" counts are right on each comment, run the script scripts/init_comment_counts.pl. From the command-line, the syntax is:
$] scripts/init_comment_counts.pl [dbname] [password] [user]
I guess that the sript has to be run before starting the server, and that it has to be done once only??

(\/)



Threads (none / 0) (#2)
by enterfornone on Wed Dec 20, 2000 at 02:58:32 AM PST

Now when I click on a comment in a thread, I get just that comment rather than all comments on the same level. This makes reading replies a lot more time consuming.



Thank you :o) (none / 0) (#3)
by jy on Wed Dec 20, 2000 at 05:22:04 AM PST

Despite my silence around here

No news, good news ! :o)

Thanks Rusty for all your work. I was waiting for a brand new .sql file ro replace all these 20 .sql patches...

I think it would be useful to keep it clear about what is in the 'official' distribution and what is not. It is better to use a flag to be able to choose to use or not a feature (like the 'use mojo' var) rather that saying 'apply that patch if you want this feature'.

Also, there is big problems with the display of stories in Nescape 4 under linuxppc (huge html parts don't display at all !). I'll keep you informed if i can fix these html problems.

Bye bye !

JY.
Fighting with his ibook modem under linuxppc to be able to use cvs update!



Another quick thing (5.00 / 1) (#6)
by Defect on Wed Dec 20, 2000 at 02:06:40 PM PST

I just noticed this when i tried to post a comment and i forgot to choose whether it was topical or editorial, when the page reloads, it goes immediately to "#here" and bypasses the "You must choose editorial or topical blah blah blah" message, so it's not immediately apparent as to why posting the comment failed.

Just a simple problem, and can easily be fixed by putting the "Choose editorial or topical you idiot" message after the "#here" anchor or some such thing.



lot (none / 0) (#7)
by brg8 on Tue May 27, 2008 at 08:13:14 AM PST

منتديات-شات-دردشة-دردشه-شات كتابي-دردشة كتابية-شات صوتي-دردشة صوتية-شات سعودي-دردشة سعودية-شات الغلا-منتديات الغلا-تحميل العاب-برامج كمبيوتر-كتب مجانية-برامج جوال-مقاطع بلوتوث-مسجات-نغمات-ثيمات-العاب جوال موبايل-تصاميم-هكر-صور-صور انمي-اخبار الفن-صور فنانين-افلام-افلام اجنبية-اناشيد-صور سيارات-كاس امم اوروبا-تحميل اهداف-محمد-سياحة وسفر-منتدى النقاش-منتديات عامة-منتديات اسلامية-صور كاريكاتير-منتدى تعارف-نكت-الغاز-خواطر-قصائد-شعر-قصص-اساطير-روايات-حكم وامثال-ازياء-منتديات عروس-المطبخ-اطفال-طب-علم النفس-منال العالم-مركز تحميل-دليل مواقع-1-2-3-4-5-6-7-8-9-برق<span lang="en-us">-19-p1-p2-p3-p4-78-71-20-21-59-60-58-61-67-53-56-9-a9-a1-a8-a12--a15-a16-a18-ماسنجر</span>-صور بنات-51-26-a<span lang="en-us">-b-c-d-e-e-f-g-h-j-l-29-43-47-13-6-dd-p18-f8-12-62-65-49l-f11-f86-مسجات حب</span>-مسجات عتاب-مسجات شوق-مسجات مقالب-مسجات نكت-مسجات حلوة-صور حب-صور بنات-شات بنات-دردشة بنات-شات الحب-دردشة الحب-دردشة كويت 25-اغاني هيفاء وهبي-دردشة بنت السعودية-عمرو خالد-ناصر الفراعنة-صور نانسي عجرم-ياسر القحطاني-شات بنات عوانس-نغمات نوكيا-قصص-هشام الراشد-تامر حسني-العاب-





Recent bugfixes/updates | 7 comments (7 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