vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   MODCP, add new ban time (https://vborg.vbsupport.ru/showthread.php?t=318271)

Duckface 04-16-2015 06:33 PM

MODCP, add new ban time
 
Hiya,

Is there currently a button function to add a new temporary ban time, or would I have change the hard code?

ForceHSS 04-16-2015 08:08 PM

You mean
admincp/Users/Ban User
or
admincp/User Infractions/Add New Automatic Ban
or
admincp/User Infractions/User Infraction Manager/Add New Automatic Ban

Duckface 04-17-2015 11:42 AM

On the modcp, ban user.

alcazarx 04-17-2015 12:36 PM

AFAMK you'd have to change the code for adding custom ban time.

PS: @Force: There is no "banning" in ACP. the links link to the ModCP-Menu to ban.

/* edit
Yes, automatic ban using warning system, but no "normal" ban/unban, this done in ModCP.
(read: the relevant forms and actions are taken from there)
*/

kh99 04-17-2015 01:19 PM

Quote:

Originally Posted by Duckface (Post 2543260)
Hiya,

Is there currently a button function to add a new temporary ban time, or would I have change the hard code?

You have to change the code in modcp/banning.php. If you find the list of options in that file, it should be obvious how you can add a new time. I believe that's the only thing you have to do to add a time in the modcp. Apparently there's a different file if you want to add it for "Add New Automatic Ban" in the admincp.

ForceHSS 04-17-2015 02:29 PM

Quote:

Originally Posted by alcazarx (Post 2543344)
AFAMK you'd have to change the code for adding custom ban time.

PS: @Force: There is no "banning" in ACP. the links link to the ModCP-Menu to ban.

There is banning in admincp as I stated above


All times are GMT. The time now is 08:59 PM.

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.01047 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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