vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   [Bug]-2.6.1+ : Post count & post per day not working (https://vborg.vbsupport.ru/showthread.php?t=142695)

Zia 03-21-2007 12:37 PM

[Bug]-2.6.1+ : Post count & post per day not working
 
Helo...Mr.Zeropage

we are on vb3.6.5
arcade is 2.6.1+

but the setting
Quote:

Post count requirement :
Post Per Day requirement :
we set value post count 15 & post per day 5. but user with 0 post,even 0 post perday also playing arcade
http://www.golpo.net/forum/arcade.html

we need urgent help.

MrZeropage 03-21-2007 01:02 PM

will investigate/verify that...

Zia 03-21-2007 02:35 PM

Thanx In Advance.
Waiting....for ur the fix :)

stangger5 03-22-2007 11:16 AM

removed

MrZeropage 03-22-2007 06:02 PM

that fix is not really the intention of it - you made it use the highest value for those two settings, not the lowest one...
here is the real fix ;) (will be included in next release):

open /arcade/modules/mod_arcade.php

search for
Code:

if ($p_req > $check['p_require'])
and replace with
Code:

if ((($p_req == 0) && ($check['p_require'] > 0)) || ($p_req > $check['p_require']))
search for
Code:

if ($ppd_req > $check['ppd_require'])
and replace with
Code:

if ((($ppd_req == 0) && ($check['ppd_require'] > 0)) || ($ppd_req > $check['ppd_require']))

and please post fixes here using the CODE-tag and don't refer to your site where anybody needs to register to get the code ;) thx

stangger5 03-22-2007 10:22 PM

Quote:

Originally Posted by MrZeropage (Post 1209756)
that fix is not really the intention of it - you made it use the highest value for those two settings, not the lowest one...

I know it uses the highest value..It might not be the right way but worked fine..

Quote:

Originally Posted by MrZeropage (Post 1209756)
please post fixes here using the CODE-tag and don't refer to your site where anybody needs to register to get the code ;) thx

Will do...Thanks Mr.Z !!

Zia 03-25-2007 02:18 AM

Thankx MrZeropage

yes ur code is working without any problem :)
problem solved.

Thanx.

talenak 05-26-2007 08:20 PM

This fix doesn't seem to be working anymore since the most recent forum upgrade.

talenak 05-29-2007 04:02 PM

Actually, it is working kind of. But some members it doesn't require to make their posts? All my registered users (user group) except 1 is forced to post. All my Super Moderators except 1 is forced to post. Even I have to post! But there are a couple people that it just doesn't stop?? This is very frustrating. I hope the next version works for everyone.

MrZeropage 05-29-2007 06:58 PM

Hmm, sounds strange... working with secondary usergroups ?


All times are GMT. The time now is 01:38 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.01524 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)bbcode_code_printable
  • (3)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