vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Question about infraction system (https://vborg.vbsupport.ru/showthread.php?t=321688)

hollyboy 02-02-2016 03:47 PM

Question about infraction system
 
Hi,

I am testing the infraction system but I have some concern.
If I set that user spamming are banned for a day and moved to the group "banned"

How does the user return active?
Do I have to manually change its group from banned to user or does it happen automatically?

Dave 02-02-2016 03:49 PM

vBulletin its cronjob will automatically take care of that.

hollyboy 02-02-2016 03:53 PM

Quote:

Originally Posted by Dave (Post 2564057)
vBulletin its cronjob will automatically take care of that.

do I have to set it anywhere?

Dave 02-02-2016 03:54 PM

Nope, those cronjobs come with vBulletin its default installation.

hollyboy 02-02-2016 03:59 PM

Quote:

Originally Posted by Dave (Post 2564059)
Nope, those cronjobs come with vBulletin its default installation.

But I get users complaining because they are still banned.

--------------- Added [DATE]1454436791[/DATE] at [TIME]1454436791[/TIME] ---------------

So here are my settings
https://vborg.vbsupport.ru/external/2016/02/18.jpg

What is confusing is the column "mai" (never) which is when the ban expires.
Does it have to be hours or days?
Note below I have the automatic ban settings so for examples when a users spams he is banned for 1 day

Dave 02-02-2016 04:20 PM

The first table is the overview of infractions and when the infraction/warning itself expires. It looks fine.

Does your style have the cronjob image in the footer? If you're unsure what that is, give us a link to your forum and we can check it for you.

hollyboy 02-02-2016 04:58 PM

Quote:

Originally Posted by Dave (Post 2564064)
The first table is the overview of infractions and when the infraction/warning itself expires. It looks fine.

Does your style have the cronjob image in the footer? If you're unsure what that is, give us a link to your forum and we can check it for you.

http://www.interfans.org/forum/

thank you for your help

Dave 02-02-2016 05:02 PM

Yep, the theme you have does not have the cronimage in it.

Open the "footer" template and add:
HTML Code:

{vb:raw cronimage}
inbetween the comments of the cronimage removal warning:
HTML Code:

        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->


hollyboy 02-02-2016 05:08 PM

Quote:

Originally Posted by Dave (Post 2564071)
Yep, the theme you have does not have the cronimage in it.

Open the "footer" template and add:
HTML Code:

{vb:raw cronimage}
inbetween the comments of the cronimage removal warning:
HTML Code:

        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->


it is there already

https://vborg.vbsupport.ru/external/2016/02/17.jpg

Dave 02-02-2016 06:19 PM

Not entirely sure why it's not working, doesn't make much sense when I check the PHP code where it's generating the cronimage.

You can try to add it manually by replacing {vb:raw cronimage} with
HTML Code:

<img src="http://www.interfans.org/forum/cron.php?t={vb:date timestamp}">
Just keep in mind that it's hardcoded this way. In case your domain or directory structure changes, you have to modify that URL as well.


All times are GMT. The time now is 02:45 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.01855 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete