vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [Pending] Auto-Approval Articles (https://vborg.vbsupport.ru/showthread.php?t=76836)

ptmuldoon 02-22-2005 01:30 PM

[Pending] Auto-Approval Articles
 
Is there a way to have articles submitted by specific usergroups, such as the admins and mods be automatically approved?

agiacosa 02-27-2005 12:49 PM

Bump. I need this too.

KTBleeding 02-27-2005 02:46 PM

Well, I could be wrong here but if you want it per usergroup, you'll have to wait for future versions cause coding in the permissions for everything like that would take quite a while.

However, I'm sure if you want to disable articles from being approved all together there is a way. I looked to see if I could figure it out for myself but had no luck. Hopefully cinq can point us in the right direction.

cinq 02-27-2005 11:35 PM

Ok, I'll include another usergroup permission to auto approve article submissions in the next version.

stryka 03-23-2005 03:59 AM

Actually... since my board/article feature is new... i enabled an auto approve by removing the submit article button and allowing for all articles to be submitted as approved "NON DRAFT"

Just look for the following code in articles.php

PHP Code:

'$articles_articleid''$categoryid''$title''$summary','$author''$postedby''".TIMENOW."''$content''1''0''1' 

And substitute it with this...

PHP Code:

'$articles_articleid''$categoryid''$title''$summary','$author''$postedby''".TIMENOW."''$content''0''0''1' 

This will insert article not as a draft... and just my moderators have the submit url... cheap fix but it works...

DISCLAIMER>>>> I did a quick review and it doesn't look like there are any dependencies for the DRAFT value in the ARTICLES_ARTICLE table...


All times are GMT. The time now is 07:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01687 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete