vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   php script for usergroup promotion = users gets banned !!! (https://vborg.vbsupport.ru/showthread.php?t=301392)

Zachery 08-21-2013 11:00 PM

Edit and save each of them, and the difference between 3.6.8 and 3.8.x is pretty minor, I can't think of a good reason why'd they break between those versions.

Resaving each should trigger it to get a current rundate.

snakes1100 08-21-2013 11:04 PM

Not entirely true Zachery, reason being once you manually run it, the date will change to the correct one, i've fixed this a few times in the past its not vbulletin, its the server & its setup, editing them will not fix the issue, they should go back to 2008 if its what i think it is, but again im not going to speculate on it as i dont know his setup.

NeXuM 08-22-2013 01:57 AM

I just ran the promotions cron job again and the next scheduled run is still "04/07/2013
03h01"

hmmm weird..

snakes1100 08-22-2013 02:07 AM

Yea, its screwed, im guessing at this point if you leave it alone for a while, it will either resort back to 2008 or stay stuck there.

Unfortunately not knowing your server setup, i dont want to put you on a wild goose chase, but do this for now.

As you have another forum setup, delete the user cron from the cron jobs, then add it back manually, get the settings from your other site or copy them.

Then retest, see if it runs by itself or if it doesnt, report back the date/time its now stuck on.

Zachery 08-22-2013 03:50 AM

Quote:

Originally Posted by snakes1100 (Post 2440252)
Not entirely true Zachery, reason being once you manually run it, the date will change to the correct one, i've fixed this a few times in the past its not vbulletin, its the server & its setup, editing them will not fix the issue, they should go back to 2008 if its what i think it is, but again im not going to speculate on it as i dont know his setup.

Given my experience, in troubleshooting this explicit issue, running then generally won't fix it. The edit and save will. But what do I know? :rolleyes:

NeXuM 08-22-2013 04:04 AM

Quote:

Originally Posted by snakes1100 (Post 2440272)
Yea, its screwed, im guessing at this point if you leave it alone for a while, it will either resort back to 2008 or stay stuck there.

Unfortunately not knowing your server setup, i dont want to put you on a wild goose chase, but do this for now.

As you have another forum setup, delete the user cron from the cron jobs, then add it back manually, get the settings from your other site or copy them.

Then retest, see if it runs by itself or if it doesnt, report back the date/time its now stuck on.

i've already tryed that and it didnt help :(

i can give you access to my server if you want to check, but i moved to a new dedicated server a few months ago and the old server had the same problem...

Max Taxable 08-22-2013 09:53 PM

To the original complaint of users who get promoted finding themselves banned - did I miss something or did anyone ask about usergroup settings for the new usergroup?

Settings like, "Is this a banned group? (Yes) (No)" It is under "Usergroup Options" in Usergroup manager, on the page where you adjust the settings. About 3/4 of the way down the page. It actually says:

This Usergroup is not a 'Banned' Group (Setting this to no will cause the group to be treated as a banned group, this will prevent the sending of email notifications, show a banned error message on the permission error pages and other unspecified behaviors.) Yes No

Do these users actually get promoted to the new group? Or do they stay in the same group they were in and are just banned?

NeXuM 08-22-2013 10:29 PM

Quote:

Originally Posted by Max Taxable (Post 2440438)
To the original complaint of users who get promoted finding themselves banned - did I miss something or did anyone ask about usergroup settings for the new usergroup?

Settings like, "Is this a banned group? (Yes) (No)" It is under "Usergroup Options" in Usergroup manager, on the page where you adjust the settings. About 3/4 of the way down the page. It actually says:

This Usergroup is not a 'Banned' Group (Setting this to no will cause the group to be treated as a banned group, this will prevent the sending of email notifications, show a banned error message on the permission error pages and other unspecified behaviors.) Yes No

Do these users actually get promoted to the new group? Or do they stay in the same group they were in and are just banned?

Damn i had totally forgotten about this setting and i think it actually fixed my problem LOL

Anyway i would still like to fix the cron job problem as it creates various other issues. For example VB doesn't do the regular "cleaning" anymore so sometimes my users can't connect to the forum because the table vb_session is full... I had to manually create a php cron job to periodically clear the table vb_session

Max Taxable 08-22-2013 10:55 PM

Quote:

Originally Posted by NeXuM (Post 2440440)
Damn i had totally forgotten about this setting and i think it actually fixed my problem LOL

Ha! Glad to have helped somewhat! As far as unbanning those users en masse, I think fixing this setting does that for you automatically.

Quote:

Anyway i would still like to fix the cron job problem as it creates various other issues. For example VB doesn't do the regular "cleaning" anymore so sometimes my users can't connect to the forum because the table vb_session is full... I had to manually create a php cron job to periodically clear the table vb_session
Yes I agree, this is why I originally focused on the cron not running. That's a big problem that can cause a myriad of varied issues.


All times are GMT. The time now is 12:08 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.01116 seconds
  • Memory Usage 1,741KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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