[EMAIL PROTECTED] wrote:

> On Sun, 19 Dec 1999, Jamie Tomlinson wrote:
>
> > I was digging through the source code and found the function
> > mgd_toggle_article_lock().  That should meet your needs for locking
> > articles, but I did not find a similar function for approving.  Does the
> > article toggle its approval if its modified? (would seem to make sense)
>
> It doesn't. If you want you can apply
> http://www.iris-advies.com/php/Emile.Heyns/midgard-php-1.2.5-unapprove.patch,
> which will add the function mgd_unapprove_article.
>
> What would y'all rather see? A separate unapprove or a toggle?
>
> Bye,
> Emile
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]

Good Morning!

  It seems to me that an explicit mgd_unapprove_article would be a better
choice.  It gives a definite result as opposed to toggling an article.

  Another thought had come to mind.  I am sure that there are some sites that
do, in fact, want "editorial control" over content .  The problem is in the fact
that once the article is "approved", the owner of the article could come back
and change the content at any time.  This would apply not only for magazine type
sites, but for "chat board" pages where the owner might want to review posting
contents before allowing it to appear on the message board. (I'm sure there are
other examples).  In cases such as these, a call to mgd_unapprove_article when
the article is modified could be very helpful to the owners/editors of the site.

  I'm sure that not all sites would want to make a call to mgd_approve_article
every time an article changes, so I propose the following option:

What is the possibility of adding a control bit field to the host table (perhaps
for Midgard 2?) where certain functions (auto_unapprove?) can be toggled on or
off for the host?  A simple during the the function that changes the version
like:

 if (mgd->host_control_bit &&1) then mgd_unapprove_article;    // not sure of
exact syntax as I'm not a "C" programmer

could take care of the auto_unapprove, and the other 7 bits (15 if you use a
long int) could be used for future such "options".

Ideas?  Comments?

Jamie


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to