vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Require X posts in the last Y hours to play games in the arcade (https://vborg.vbsupport.ru/showthread.php?t=65735)

SnowBot 06-04-2004 04:30 PM

00r did you have chance to write that IF ELS line for me ?

atomic fireball 06-06-2004 05:14 PM

Very cool hack.

The install was flawless and very clear. Had it up and running in 5 mins just as noted.

Works like charm! Thanks 006!!

corsacrazy 06-06-2004 05:52 PM

i have a problem... now i have hundreds of people just spam posting in oder ot get into arcade :(

350Chevy 06-07-2004 12:40 AM

Quote:

Originally Posted by corsacrazy
i have a problem... now i have hundreds of people just spam posting in oder ot get into arcade :(


Then ban them or ban a few as a warning to the others...

Nice hack.. Anyway to integrate this to work with a particular forum as well? I have a forum loaded with "pictures" that people will sign up to just view as well (instead of posting.)

* clicks install

Edit: installed and works flawlessly. Thanks! You saved me alot of time trying to write this myself! :D

007 06-08-2004 01:08 AM

:) Well it took me a long time. As for using it for a forum, I actually use a variation of it for many things on my board. It get's tricky though and I don't have time to support variations of it. Just look at the code. Basically you'll add the tables again with different names. Then add everything else again. You'll need an "if" statement asking for the forumid you want to limit access to. This will go in forumdisplay.php. That's off the top of my head so don't quote me on it. Like I said though I don't have time to create custom mods. :ermm:

~006

Fluous 06-08-2004 01:26 AM

Hey thanks for that file edit. Although it DIDN'T fully work I am more pleased with the outcome than if it did. Now they have to have at least ten posts to play in the arcade AND they have to have 5 posts in 2 hours after that to play. :D Ty very much

350Chevy 06-09-2004 12:43 AM

NM.. was the code in acarde.php.. I edited it from monstercontrols which threw in some weird characters.. All better now.. :) ;)

350Chevy 06-10-2004 01:22 PM

Quote:

Originally Posted by 006
:) Well it took me a long time. As for using it for a forum, I actually use a variation of it for many things on my board. It get's tricky though and I don't have time to support variations of it. Just look at the code. Basically you'll add the tables again with different names. Then add everything else again. You'll need an "if" statement asking for the forumid you want to limit access to. This will go in forumdisplay.php. That's off the top of my head so don't quote me on it. Like I said though I don't have time to create custom mods. :ermm:

~006

Nah, it was actually pretty simple for what I wanted to do.. I just edited showthread.php and forumdisplay.php with something like:

Code:

if ($bbuserinfo['posts'] < 100 AND $foruminfo[forumid]==14)
{
    eval(print_standard_error('notforyou'));
}

and add a phrase to print_standard_error called notforyou.. ;) Thanks though..

007 06-12-2004 07:23 AM

Yeah Chevy, if you wanted to base if off of posts in the last x hours, you would just put my code in place of your if statement in those files. :)

And Flous, I thought that's what you WANTED it to do in the first place? Well either way it's good to know you like it how I coded it :) I must have misunderstood you. Oh well.

Quote:

Originally Posted by Fluous
AND they have to have 5 posts in 2 hours after that to play. :D Ty very much

5 posts in 2 hours is just asking for spam... ;)

350Chevy 07-30-2004 04:31 PM

nm.. think I replaced the arcade.php with an old one when backing up..


All times are GMT. The time now is 05:39 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.01635 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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