Форуми / Cotonti / Extensions / Auto Validate

auto validate plugin

alphaphoenix
#1 28.08.2009 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 28.08.2009 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 28.08.2009 05:11
Remember you have to update page.tpl with the new "Publish" button, didnt work for me with the old tag.
alphaphoenix
#4 28.08.2009 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>

Відредаговано: alphaphoenix (28.08.2009 06:18, 14 років тому)
Hodges
#5 09.09.2013 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 10.09.2013 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 12.09.2013 08:52

Perfect thank you!

Twiebie
#8 12.09.2013 22:44

Is it an idea to add this to the core?

foxhound
#9 14.09.2013 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 14.09.2013 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 15.09.2013 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-" />