vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   User Promotions Problem (https://vborg.vbsupport.ru/showthread.php?t=279242)

thermax04 02-27-2012 08:32 PM

User Promotions Problem
 
Dear All,
I made a rule in my forum that my registered users can not download any of the attachments before they write 1st reply to be promoted to higher level, so made in the Scheduled task Manager: Scheduled Task: User Promotions to be done every 1 minute by choosing * (do not want my users to wait for 1 Hour to be promoted as the default settings in VB CP), the problem is some times it does the promotions every 1 min. (tested it realty and it is working after 2 min) and some times is not working and users can stay for hours with being promoted and can not download any thing and complain a lot

kh99 02-29-2012 01:01 PM

I looked at the promotion scheduled task code and couldn't see why that would happen. Do the logs say that the task is running during that the time a user is waiting? (But I can't remember if anything gets logged if no one is promoted).


I haven't tried it myself, but this mod might be another solution for what you're doing: https://vborg.vbsupport.ru/showthread.php?t=233979

thermax04 02-29-2012 07:55 PM

Quote:

Originally Posted by kh99 (Post 2304634)
I looked at the promotion scheduled task code and couldn't see why that would happen. Do the logs say that the task is running during that the time a user is waiting? (But I can't remember if anything gets logged if no one is promoted).


I haven't tried it myself, but this mod might be another solution for what you're doing: https://vborg.vbsupport.ru/showthread.php?t=233979

the log says that the task is done, but it does not show if the task is done during 1 minute from putting the reply or not

the mod looks like what I want, but why should I go for a mod while the VB CP can do it

kh99 02-29-2012 08:29 PM

Quote:

the log says that the task is done, but it does not show if the task is done during 1 minute from putting the reply or not
I don't really follow that - but maybe you could edit includes/cron/promotion.php and add some log lines to figure out what's happening.


Quote:

Originally Posted by thermax04 (Post 2304804)
the mod looks like what I want, but why should I go for a mod while the VB CP can do it

Well, maybe just for the reason you said - the vb promotions aren't really designed to immediately promote as soon as someone posts (although that might be a good mod). Other people just find it easier than creating usergroups for everything.


All times are GMT. The time now is 09:02 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.01032 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
  • (3)bbcode_quote_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