Forums / Cotonti / Extensions / Auto Validate

auto validate plugin

alphaphoenix
#1 2009-08-28 03:58
Is there a more simpler way to auto validate all pages than to use this plugin? The plugin does not seem to autovaliate when extra key is set to 2.
Kilandor
#2 2009-08-28 04:31
There is no need for auto-validation plugin. Auto-validation is built into the core for admins (if enabled)

Admin > Config > Pages
Autovalidate page : Yes No
Autovalidate page if poster have admin rights for page category
DemptD
#3 2009-08-28 05:11
Remember you have to update page.tpl with the new "Publish" button, didnt work for me with the old tag.
alphaphoenix
#4 2009-08-28 05:31
What is the old tag?

Added 13 minutes later:

I was looking to allow all users and groups to validate automaticly.

Added 34 minutes later:

Do you mean this block of code?

<td colspan="2" class="valid">
<!-- IF {PHP.usr_can_publish} -->
<input name="rpublish" type="submit" class="submit" value="{PHP.L.Publish}"
onclick="this.value='OK';return true" />
<input type="submit" value="{PHP.L.Putinvalidationqueue}" />
<!-- ELSE -->
<input type="submit" value="{PHP.L.Submit}" />
<!-- ENDIF -->
</td>
This post was edited by alphaphoenix (2009-08-28 06:18, 14 years ago)
Hodges
#5 2013-09-09 10:33

Hi there,

Apologies for digging up an old thread but I want help extending this feature. Is there a way to allow auto-validation for users editing a page they own?

Cheers,
Hodges

Xerora
#6 2013-09-10 23:18

This might be what you're looking for: https://github.com/xerora/cot-pageownerautoval

It allows users to auto validate pages they own if their page is currently validated.

Hodges
#7 2013-09-12 08:52

Perfect thank you!

Twiebie
#8 2013-09-12 22:44

Is it an idea to add this to the core?

foxhound
#9 2013-09-14 11:45

Isnt that a bit risky as users can than change the contents of the validated page adding content you do not wish to see there at all? But since they can validate you loose control of your own content?

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Xerora
#10 2013-09-14 18:14

Yes, it's definately "use at your own risk". The only protection you would get while doing this, is that the user can't publish new pages directly.

foxhound
#11 2013-09-15 12:40

I havent tried your plugin yet so aplogies for asking this but with your plugin can you set specifc rights? So for example only users you fully trust/know can use this to validate their own pages while all others who edit their own pages can only sent it into validation?

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />