vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

Scyther 08-05-2011 07:56 AM

I am using 3.8.2.

I downloaded the Arcade folder to my forum root directory and installed the xml file.
I get the Arcade menu in my Admin Cp and can make changes.
The Arcade link is also seen in my forum's navbar..

Now the problem is when I or any member clicks on Arcade link, the Arcade page doesn't show up.
All i get is

Quote:

Database error
The .: Captain Luffy :. database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the captainluffy.com home page, then try to open another page.
Click the Back button to try another link.
The captainluffy.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.
Can Anyone help me with this?

Drache 08-07-2011 01:52 PM

Does this use a lot of system resource? I ask because my server is already under stress. So I can only install plugins that doesn't use too much server resources.

Hippy 08-07-2011 02:00 PM

shouldn't

mrblista 08-11-2011 06:27 PM

so, is it running with 4.1.x or higher - or just 4.0 and lower?

Hippy 08-11-2011 07:01 PM

Quote:

Originally Posted by mrblista (Post 2232353)
so, is it running with 4.1.x or higher - or just 4.0 and lower?

running on all versions
just needs a little tweaking..

mrblista 08-11-2011 07:38 PM

First thank you for the fast answer. But how is it, i´ve to be good in coding to make it running with the last version of vB. I´am asking because i´am not the pro.

Hippy 08-11-2011 07:42 PM

see my sig.. there is a full support forum for this mod with may posts ..
I answer most of them and help out above and beyond..

you would be helps as well..;)

the author of this mod must be busy with that thing called life .. but I refuse to let this mod die.. so I do my best to help keep it working ..

K!nG 08-11-2011 11:49 PM

I had it on 4.1.0 and till 4.1.4 it was working fi9 but now since i upgraded to 4.1.5 whenever anyone click on "OK" once the game is over it brings them back to forumhome page even though "remember me" box is auto checked ? any help will be appreciated. Thanks

Hippy 08-11-2011 11:51 PM

did you add the index code?

Hippy 08-11-2011 11:52 PM

did you add the index code?

K!nG 08-12-2011 11:57 PM

Well i never added any index code before :( if u don't mind can u enlighten that for me ? where and how can i do that ?? Thanks

Hippy 08-13-2011 12:02 AM

are you useing forum.php or index.php for your forum ?
if your using index.php you shouldn't need it .. I only seen a few that do but I gues it depends on the server
anyway

"INFO - vbadvanced or another Portal.txt" file with your arcade download file

Code:

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:

open index.php

At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------

you have to insert:
----------------------------------------------------------
// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
        require_once('./global.php');

        switch($_POST['func'])
        {
                case "storeScore":
                $_GET['act'] = "Arcade";
                $_GET['module'] = "arcade";
                $_GET['do'] = "pnFStoreScore";
                break;

                case "saveGame":
                $_GET['do'] = "pnFSaveGame";
                break;

                case "loadGame":
                $_GET['do'] = "pnFLoadGame";
                break;

                case "loadGameScores":
                $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT);
                $uid= $vbulletin->userinfo['userid'];
                $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
                $scores = $game[score];

                if($scores != false)
                {
                        //Return true
                        print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
                }
                else
                {
                        print "&opSuccess=false&error=Error&endvar=1";
                }
                break;
        }
}

$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}

// end of ibProArcade
----------------------------------------------------------


Otherwise your scores won't be recorded :)


archet1337 08-13-2011 11:32 PM

1 Attachment(s)
Hi,

I'm having some problems installing the arcade.

When I submit a score I get the following message:
Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Also,

The style of the arcade page seems to be missing something. See attachment.

How do I fix these problems?

I'm using 4.1.5

www.radioctrl.com/arcade.php if you want to see what I mean

Hippy 08-14-2011 12:20 AM

would be happy to help you but take a peek in the arcade support forum
you'll see a link to there in y sig..

all these questions you'll find answers for .. if not I will answer your posts / threads there

archet1337 08-14-2011 12:41 AM

Thank you, that did the trick! :)

K!nG 08-15-2011 02:39 AM

Quote:

Originally Posted by Hippy (Post 2232850)
are you useing forum.php or index.php for your forum ?
if your using index.php you shouldn't need it .. I only seen a few that do but I gues it depends on the server
anyway

"INFO - vbadvanced or another Portal.txt" file with your arcade download file

Code:

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:

open index.php

At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------

you have to insert:
----------------------------------------------------------
// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
        require_once('./global.php');

        switch($_POST['func'])
        {
                case "storeScore":
                $_GET['act'] = "Arcade";
                $_GET['module'] = "arcade";
                $_GET['do'] = "pnFStoreScore";
                break;

                case "saveGame":
                $_GET['do'] = "pnFSaveGame";
                break;

                case "loadGame":
                $_GET['do'] = "pnFLoadGame";
                break;

                case "loadGameScores":
                $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT);
                $uid= $vbulletin->userinfo['userid'];
                $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
                $scores = $game[score];

                if($scores != false)
                {
                        //Return true
                        print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
                }
                else
                {
                        print "&opSuccess=false&error=Error&endvar=1";
                }
                break;
        }
}

$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}

// end of ibProArcade
----------------------------------------------------------


Otherwise your scores won't be recorded :)


Hey Hippy,,
Thanks a lot that did the magic..... its saving the score now ... one last question if u don't mind answering.. where can i find more games to add on to my arcade ?? Thanks

Hippy 08-15-2011 06:28 PM

no problem bud ...

register over at next-level-arcade.com use me as a referral

there are a few other legit sites .. so a google search for ibrpoarcade games

Rahstyles 08-23-2011 04:47 AM

Hey why does this not work with vbseo???

MissKalunji 08-23-2011 06:20 PM

create the rules and it will work. I do believe vbseo.com has a few already in the threads.

socialteenz 08-30-2011 12:27 PM

Glad to have this back!!
That was fast :)

BirdOPrey5 08-30-2011 12:29 PM

Quote:

Originally Posted by socialteenz (Post 2239908)
Glad to have this back!!
That was fast :)

It was. :up:

Hippy 08-30-2011 12:38 PM

thank you MrZeropage

rinkrat 08-30-2011 12:48 PM

Good work on the quick fix.

Guest0321 08-30-2011 12:57 PM

What is the quick fix, a re-install?

Erica1977 08-30-2011 01:06 PM

What does this upgrade do please i'm using 2.7.0 would like to know if i should upgrade or not all my themes pages on arcade are looking good i have no problems like some others do so i am asking if i need to upgrade and if so will this mess up my styles arcade the way mines look now they have no issues thanks.

BirdOPrey5 08-30-2011 01:29 PM

This mod just came out of quarantine. NO ONE should be actively using the old version (2.7.0).

You have two options if you want to be safe:

Upgrade to 2.7.1 or disable the mod completely.

Erica1977 08-30-2011 01:39 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2239944)
This mod just came out of quarantine. NO ONE should be actively using the old version (2.7.0).

You have two options if you want to be safe:

Upgrade to 2.7.1 or disable the mod completely.

Ok i understand that my question is will this mess up my arcade styles the way i have it edit since i had to do some changes for the skins to look right on 2.7.0

aberg 08-30-2011 01:44 PM

it is necessary to perform a full update or is it just a few files that need to be updated?

jaffaman 08-30-2011 01:51 PM

1 Attachment(s)
Thanks for the quick update :)
I still have a problem when I disable the plugin guest's can still view and play the arcade but it disables the styling see screen shots attached.

tumanix 08-30-2011 02:07 PM

I've added a lot, it would be good to know what files you have to replace.

MrZeropage 08-30-2011 02:56 PM

@jaffaman:
what is the setting for guests in AdminCP for guests ? What does registered users get to see when visiting your arcade ?

Erica1977 08-30-2011 03:05 PM

ok i will not upgrade since there's no support here will stay 2.7.0+

Mooff 08-30-2011 03:29 PM

Quote:

Originally Posted by Erica1977 (Post 2239982)
ok i will not upgrade since there's no support here will stay 2.7.0+

So your solution is to stay on the mod version which got this mod quarantined? You do realise that this does mean it does impose a high security risk in version 2.7.0?

You are not hurting anyone else then yourself and your board with such a choice.

Dragonsys 08-30-2011 03:30 PM

Quote:

Originally Posted by Erica1977 (Post 2239948)
Ok i understand that my question is will this mess up my arcade styles the way i have it edit since i had to do some changes for the skins to look right on 2.7.0

I would suggest you try it out on your test Forum and see if it does.

Quote:

Originally Posted by Erica1977 (Post 2239982)
ok i will not upgrade since there's no support here will stay 2.7.0+

how can you say there is no support after your post only 2 hours before this one? You need to give people more time to answer a question, and you need to test it out on your Test Forums before upgrading in Live. If you do no have Test forums, then you need to set them up.

Erica1977 08-30-2011 03:32 PM

Quote:

Originally Posted by Mooff (Post 2239994)
So your solution is to stay on the mod version which got this mod quarantined? You do realise that this does mean it does impose a high security risk in version 2.7.0?

You are not hurting anyone else then yourself and your board with such a choice.

Really then where's the support here well answer that i will not upgrade till there's answer.

kh99 08-30-2011 03:50 PM

Quote:

Originally Posted by Erica1977 (Post 2239997)
Really then where's the support here well answer that i will not upgrade till there's answer.

The problem is that your post sounds like you're making a threat when in fact it's really your own problem if you don't upgrade. No one can make you do it.

The release notes for this version say "one security-issue fixed", so if you don't upgrade you may risk your site being hacked. So the question of whether or not your skin changes will be lost hardly seems important.

ETA: That said, you definitely would want to save your existing files before overwriting them with the update. ... and any template changes (if this mod uses templates - I don't even know offhand).

jaffaman 08-30-2011 03:51 PM

I fixed the style problem it was where I had not done the layout fix & store css as files fix right in this post https://vborg.vbsupport.ru/showthread.php?t=249120.

I just noticed if I turn off the arcade in the arcade settings it shuts it off ok no one can view it except admin with the message ! Arcade Offline ! so that works ok but you still can't disable the plugin.

Looking at this page https://vborg.vbsupport.ru/showthrea...=269346&page=2 it looks like a few people are having the same problem.

Thanks again for the help.

ForceHSS 08-30-2011 04:24 PM

1 Attachment(s)
how to i fix this so the score can be submitted

JacquiiDesigns 08-30-2011 04:28 PM

Thanks so much for the fix MrZeroPage.
I've a question please. The release history .txt says "one security-issue fixed"
Can you tell us how many and/or which files were changed to fix the security issue?
Perhaps instead of uploading/overwriting all files & reinstalling the product, we may be able to overwrite (patch) only the file that presented the security issue.

Thanks,

J.

Hippy 08-30-2011 04:39 PM

Most of these style issues and score not saving have been addressed in the arcade support forum..
link is above in the first post of you can find it in my sig..

if you need to compare files to find out what files have been changed you can use a program called compareit found here http://www.grigsoft.com/wincmp3.htm

I'm sure Mrzeropage is a busy guy

In my sig as well are 99% of the fixes I have put together ..

now that security fix has been address please use the support forum..
for support on new issues


All times are GMT. The time now is 04:53 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.08939 seconds
  • Memory Usage 1,845KB
  • 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_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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