from the work-in-progress dept.
I have written a DTML method that lets you moderate all pending postings and articles in one screen. You no longer have to navigate the postings tree. This is especially useful if you sometimes moderate your site over a slow net connection. I think it could also be made into a PQA for moderating Squishdot wirelessly via the Palm VII.
I'd like other people to test this. This is a testing release and not for the faint of heart. It might break something, so be sure you've backed up your Squishdot instance before you install it, and be sure you know what you're doing. I'm looking for bug reports and software modifications, not people who have gotten themselves into a situation they can't get out of :-)
Extract this file using tar xvlzf batch_moderate.tgz. Install "moderate", "manage_moderate", and "moderateArticle" as DTML methods in your Squishdot folder. Set their permissions so that only managers can execute them.
Get in the shell on your Squishdot server. The following directions are for Linux/Unix, Windows users will have to figure out the right paths. Change directory to /usr/lib/zope/lib/python/Products/Squishdot . Run the command patch <Squishdot.py.diff , but change the location of Squishdot.py.diff in that command to include the path to where you have extracted the file. Kill the Zope server and restart it. Run http://YourSiteName/moderate . Mark any articles you find there for approval or deletion using the check-boxes. Press the Process button at the bottom. That's all.
I'd like to include this in the next Squishdot release if testing proves successful.
Bugs: Methods should use "moderate postings" permission. Display doesn't distinguish articles from replies. It doesn't show context of a reply. It doesn't use radio buttons (because they don't work for building lists).
I think I've figured out the hard stuff and a casual DTML hacker could make cosmetic improvements from this point. Modifications solicited.
< | >
|"Any system that depends on reliability is unreliable." -- Nogg's Postulate|
|All trademarks and copyrights on this page are
owned by their respective companies.
Comments are owned by the Poster.
The Rest ©1999
Butch Landingin, ©2000-2002