vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

futureal 01-02-2003 12:25 AM

Another Beta 2 update:

I am not going to have the hack in a vbhacker format this time around, because I expect frequent changes/updates to the Beta as people test it. I know that makes it harder on people, but I don't have much of a choice, since setting up a larger hack for vbhacker distribution is rather unwieldy.

I am still working on a couple of things, namely the User Detail pages and a Scoreboard Reset feature. Everything else is already done.

Intex 01-02-2003 08:40 AM

I'm getting the following error messages from some of the users when trying to play the games:

>>

You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. "

<<

All the games run fine for me (local admin) but also with one of my test accounts, but all the other users get that message.

Any ideas ?

Intex 01-02-2003 08:58 AM

I've now figured out that this problem occurs only for people in certain user groups.

My test user was in the 'Registered' user group and this was fine. I have also created my own groups in vBulletin, one of which is called 'Full Member', which most people are a part of. I changed somebody that was having the problem from 'Full Member' to 'Registered' and it worked perfectly, so it must be to do with the user group permissions. I'm just not sure where to change this.

Floris 01-02-2003 08:58 AM

Quote:

Originally posted by futureal
I know that there are still lingering problems with safe mode, although if a server is configured properly, it should work, since I use the exact same method that vBulletin uses for attachments. If attachment uploading works, then I don't see why the arcade uploading wouldn't work.

As far as the other problem, that was an error in the installation instructions. The place that should be modified is the second occurance of that code in showthread.php.

As soon as I finish getting Beta 2 out the door, I will revisit the safe mode problem...

Thank you for your reply :bunny:

I was wondering though - I set it to the first instance, since below that was the postbit stuff that needed changing, and everything now runs fine.

What might not work now, or works incorrectly because I put it at the first instance?

Do you maybe have an alternative way of letting me use those images?

Normal attachment uploading goes fine with vbulletin, just not this.

futureal 01-02-2003 12:06 PM

Quote:

Originally posted by Intex
I've now figured out that this problem occurs only for people in certain user groups.

My test user was in the 'Registered' user group and this was fine. I have also created my own groups in vBulletin, one of which is called 'Full Member', which most people are a part of. I changed somebody that was having the problem from 'Full Member' to 'Registered' and it worked perfectly, so it must be to do with the user group permissions. I'm just not sure where to change this.

Near the top of proarcade.php, find this code:

PHP Code:

  case "gameover":
    if ((
$bbuserinfo[usergroupid] != 2) and
        (
$bbuserinfo[usergroupid] != 5) and
        (
$bbuserinfo[usergroupid] != 6) and
        (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 

To add additional usergroups, just add a corresponding line for that usergroupid. For example, if you wanted to add the usergroup with id 20, your code would end up looking like:

PHP Code:

  case "gameover":
    if ((
$bbuserinfo[usergroupid] != 2) and
        (
$bbuserinfo[usergroupid] != 5) and
        (
$bbuserinfo[usergroupid] != 6) and
        (
$bbuserinfo[usergroupid] != 20) and
        (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 

To figure out which group belongs to which ID, when you move the mouse over a group name in the Admin CP, look in your browser's status bar for where it says "...&usergroupid=##" and the ## will be your ID.

futureal 01-02-2003 12:07 PM

Quote:

Originally posted by xiphoid
I was wondering though - I set it to the first instance, since below that was the postbit stuff that needed changing, and everything now runs fine.

What might not work now, or works incorrectly because I put it at the first instance?

Do you maybe have an alternative way of letting me use those images?

Normal attachment uploading goes fine with vbulletin, just not this.

The postbit stuff will just affect where (if anywhere) the champion text is displayed. The champion stuff really does not work correctly in the 1.03 version, and has been significantly changed for Beta 2. I am reluctant to tell people to mess with the postbit code for 1.03 since it has already been changed. My best advice is to sit tight.

For the images, once again a few things have changed and I hope that Beta 2 can fix those problems. If it doesn't, I will revisit the problem in my testing to see what I can do.

TheSonic 01-02-2003 12:08 PM

I always do changes manually, so i dont have problems if there is no vbHack-Version.

But i really hope to see Beta 2 coming up very soon, my users love this hack.

If i should test something for you, let me know.
My Board is not a big one, backups are available all the time and my users play arcade all night long :D

Intex 01-02-2003 12:09 PM

Thx. futureal. I've done that now and it works a treat.

The only thing thats not working is the user titles, i.e. when someone has been awarded the crown for 1st position it should show below their user titles, but at the moment it doesn't. Any ideas?

Idea for Improvement - maybe a screen where you can see the 1st, 2nd, 3rd places for each game on the same page?

Floris 01-02-2003 12:10 PM

The users indeedio love the hack, but netscape and mozilla users are complaining ;/ why can't it save the scores?

futureal 01-02-2003 12:14 PM

TheSonic: It is coming very soon. Hopefully within the next few days. I am down to the very last few things I need to get done.

Intex: Beta 2 already has such a screen. The Top 5 scores for each game are displayed on the main arcade page (although this can be toggled off to save queries if that is an issue). The user titles (champions stuff) has also been fixed in Beta 2.

xiphoid: Netscape/Mozilla do not handle POST data correctly with Flash games. This is, as far as I know, a limitation of the browser and there is not much we can do to get around it. I am planning on exploring other options for it in the future, though. There has got to be a way.


All times are GMT. The time now is 10:05 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.02478 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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