vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to make articles publish automatically? (https://vborg.vbsupport.ru/showthread.php?t=232180)

redhawk89 01-04-2010 09:28 PM

How to make articles publish automatically?
 
I want to simplify making articles for members.

Is there a way I can make articles "auto-publish", that is, publish as soon as they write the article?

I want to take away their option to not publish it.

Lynne 01-04-2010 09:58 PM

Questions regarding default vBulletin 4 should be asked on the vBulletin.com forums. See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0

Vaupell 01-04-2010 10:04 PM

Youre not gonna like it but

AdminCP > styles > your style > edit templates >

find and open : vbcms_edit_publisher

Find :
Code:

        <div class="fullwidth" >
                <div class="thirdleft">{vb:rawphrase published}</div>
                <div class="twothirdsright">
                        <input type="radio" value="1" name="setpublish" <vb:if condition="$setpublish"> checked="checked"</vb:if> />{vb:rawphrase yes}&nbsp;&nbsp;
                        <input type="radio" value="0" name="setpublish" <vb:if condition="! $setpublish"> checked="checked"</vb:if> />{vb:rawphrase no}
                </div>

^^ above code is the part that shows "published ()yes (x)no"

Then you could maybe either change the values on those two input boxes
and then instead of makeing them "radio" change it to hidden.. :D

or just comment it all out and put in

<input type="hidden" name="setpublish" value="0">

--- unfortunally dont think you can force publishing by default..
so it got to be modded.

redhawk89 01-27-2010 12:41 AM

This is very valuable, thanks!


All times are GMT. The time now is 05:26 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.01078 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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