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)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Amaresh 07-19-2005 01:44 AM

Hey thanks for your help, I'm eagerly waiting for you to sort this out xD

Biker_GA 07-19-2005 12:32 PM

What are your settings for the actual usergroup? The first three should all read YES.

Code:

Can View the Arcade? 
Can Play Games in the Arcade?
Can Post Comments?


thenetbox 07-19-2005 04:22 PM

In the admin and supermod usergroup all are yes

in registered usergroup Can View the Arcade? Can Play Games in the Arcade? Can Post Comments? are all yes.

thenetbox 07-19-2005 05:05 PM

The only thing I did not reinstall are the template modifications but they seem ok. Should I revert and reapply the changes? Can that have anything do to with permissions?

btw. my arcade files are totally unmodded.

J82980BA3E43 07-19-2005 05:40 PM

Quote:

Originally Posted by ryne661
I tried reading through the thread for the answer, but in the 257 pages it all just seemed like a blur. Anyway, my question is how come my game view style has 4 games all in 1 row in small little boxes, when in the screenshots their is one game per line? Is their anyway I can convert to the original style?

I attached a screen shot...

https://vborg.vbsupport.ru/attachmen...chmentid=31866

Any suggestions on how to fix this?

Biker_GA 07-19-2005 06:11 PM

Quote:

Originally Posted by thenetbox
The only thing I did not reinstall are the template modifications but they seem ok. Should I revert and reapply the changes? Can that have anything do to with permissions?

btw. my arcade files are totally unmodded.

OK. Before we go any further, your use of "revert" sent up a flag. What version of VB are you running?

thekodiak 07-19-2005 06:19 PM

Hey guys.. In my forums all the games that users are top scorers of show up under each post that user makes.. is there a way to simply put "user is champion of _# of games" ?
If someone could point me in the right direction I would be most appreciative :)

cherieann 07-19-2005 10:20 PM

anybody know of a mod or what to edit so that your index.php of your forums would have a list of games on the top (maybe 5 random ones) ? :)

thenetbox 07-20-2005 03:10 AM

Quote:

Originally Posted by Biker_GA
OK. Before we go any further, your use of "revert" sent up a flag. What version of VB are you running?

Hello. thanks for helping :)
I'm running:
Powered by: vBulletin Version 3

edit: sorry. 3.0.7

Biker_GA 07-20-2005 05:09 AM

There are a lot of three's running around out there. LOL 3.06, 3.5? Which version?

Amaresh 07-20-2005 05:26 AM

I'm currently running on 3.0.7

Biker_GA 07-20-2005 05:36 AM

Two with the same permissions issue? This is going to get confusing fast if I reply to one and the other thinks I'm responding to the other. ACK!

csidlernet 07-20-2005 08:00 AM

preety cool

thenetbox 07-20-2005 01:47 PM

Quote:

Originally Posted by Biker_GA
There are a lot of three's running around out there. LOL 3.06, 3.5? Which version?

oops haha sorry.

3.0.7 here too

Biker_GA 07-20-2005 01:55 PM

The only thing I can suggest right now is to go back and triple check your work. Be very careful about reverting scripts back to their original state as this can also break any other modifications that you may have made to your site.

Shill 07-20-2005 02:59 PM

Quote:

Originally Posted by DjTaz
Shill - go to Arcade.php - roughly around line 1376 (use Textpad ... www.textpad.com ) and find this

Code:

$awardlist .= "<img src=\"$stylevar[imgdir_arcade]/".$award['miniimage']."\" border=0 align=\"absmiddle\"> ";
replace it with this
Code:

$awardlist .= "<a href=\"arcade.php?do=play&gameid=".$award['gameid']."\"><img src=\"$stylevar[imgdir_arcade]/".$award['miniimage']."\" border=0 align=\"absmiddle\"></a> ";
I think that should do as you want ... any problems , please let me know


Cheers mate, that worked great, much appreciated.

thenetbox 07-20-2005 05:28 PM

Quote:

Originally Posted by Biker_GA
The only thing I can suggest right now is to go back and triple check your work. Be very careful about reverting scripts back to their original state as this can also break any other modifications that you may have made to your site.

thanks :) i'll try again today.

thenetbox 07-20-2005 11:50 PM

ok. I removed all the database modifications by using Marboosh.nets helpful sql query:

Quote:

DELETE FROM datastore WHERE title = 'arcadesettings' LIMIT 1;
ALTER TABLE user DROP arcadesettings;
ALTER TABLE usergroup DROP arcadepermissions;
DROP TABLE games;
DROP TABLE gamechallenges;
DROP TABLE gamesessions;
DROP TABLE gamenews;
DELETE FROM datastore WHERE title = 'arcadesettings' LIMIT 1;
DELETE FROM datastore WHERE title = 'scoresettings' LIMIT 1;
then I deleted ALL the custom templates and reverted to all the original templates. I over wrote all the arcade files.

and still it says no one has permission.

I can see only 2 ways in the code that would make it say no permission. One would be if the usergroup is not allowed. Second is if the board is closed. In the database all the usergroups have the proper permissions. In 'arcadesettings' in 'datagroup' the number is 845

when I say Is the Arcade Active? NO then it changes to 844. Even then the admin should be able to view it. but it doesn't. Very very strange :o

Next i'm going to check the vb files for any errors.

thenetbox 07-21-2005 12:14 AM

found it...

my global.php file was wrongly patched. hahaha o boy.

Thanks for everyones help :)

Amaresh I just did a complete reinstall. Found that global.php wasn't properly patched. now it works :)

i feel stoooopid :)

Biker_GA 07-21-2005 05:58 AM

Heh.. Happens to all of us. Should have seen the look on my face when I got cocky and was coding with the live global.php file. Saved that sucker and watched the forum go **POOF**. No backup file, either. Now THAT was stoooooooooooooopid. LOL

Prodimysterio 07-21-2005 04:42 PM

Hi everyone,

I am hoping that someone can help me with a problem that seems to be plaguing a decent amount of folks here. I installed the arcade on my 3.0.7 forums with no difficulty whatsoever. When I attempt to access it, I receive the error about me not having permission to access the arcade. I have checked every permission setting in the admin cp (including usergroup permissions and arcade permissions) and everything is setup perfectly to access the arcade. I can only figure that there is some kind of "hard coded" permission set somewhere in a file or database that will have to be edited.

Can someone please point me in the right direction? If so, can someone list some steps as to what I can try to get this working properly? I was reading earlier that someone had to execute a custom SQL query in the ACP to set their permissions up?

Anyways, thanks for any and all help that can be provided. I'm rather anxious to release this upon my community.

:)

Prodimysterio - Owner - http://www.gamingchatter.com

Biker_GA 07-21-2005 04:47 PM

Triple check your coding and make sure it follows the instructions to the letter. One boo-boo will throw the entire installation off.

You can also manually set the permission in the DB if necessary, but I suspect you have a coding error someplace.

Prodimysterio 07-21-2005 04:52 PM

Quote:

Originally Posted by Biker_GA
Triple check your coding and make sure it follows the instructions to the letter. One boo-boo will throw the entire installation off.

You can also manually set the permission in the DB if necessary, but I suspect you have a coding error someplace.

I have done this just to be sure. I combed the code over three times with EXTREME care and caution. Any other ideas?

Biker_GA 07-21-2005 04:56 PM

Quote:

Originally Posted by Biker_GA
I seem to recall running into a similar issue. I ended massaging the data manually in the database.

Here's what the permissions are set to on my end (in usergroup, field: arcadepermissions):

Registered: 19
Admin: 31
SuperMod: 31
Mod: 23

All others: 0

When all else fails, you can manually edit the db.

Prodimysterio 07-21-2005 04:56 PM

Quote:

Originally Posted by Biker_GA
When all else fails, you can manually edit the db.

Can you tell me how to do that? I'm not sure what query to run or where to access this information.

rjordan 07-21-2005 06:23 PM

Take a good hard look at global.php and your modifications there.

Prodimysterio 07-21-2005 06:28 PM

Thanks for the help everyone. I finally figured out what it was after looking at it a fourth time. For those having trouble make sure to check on this. Here is what I had in my global.php file:

Quote:

echo "End call of global.php: $aftertime\n";

// Creates general settings for the Arcade
$arcadegeneral = convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser = convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions = convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']);

echo "\n<hr />\n\n";
}
And of course, here is how it needs to look:

Quote:

echo "End call of global.php: $aftertime\n";
echo "\n<hr />\n\n";
}

// Creates general settings for the Arcade
$arcadegeneral = convert_bits_to_array($arcadesettings,$_ARCADE);
$arcadeuser = convert_bits_to_array($bbuserinfo['arcadesettings'],$_ARCADEUSER);
$arcadepermissions = convert_bits_to_array($permissions['arcadepermissions'],$_BITFIELD['usergroup']['arcadepermissions']);
Sorry for the trouble and I can only hope this may help out others with the similar issue.

:)

Biker_GA 07-21-2005 06:31 PM

Ahhhhhh. Took that fourth look, huh? ;)

Skaterscafe.com 07-21-2005 07:51 PM

Quote:

Originally Posted by Biker_GA
Ahhhhhh. Took that fourth look, huh? ;)


I did and I still get the no permissions.. :disappointed:

Anyway, at our other site I installed the arcade last night. The arcade.php page shows up fine but the games are not there. If you enter a direct path to the games they work, but the arcade.php page is blank, see below.

Any ideas?

Biker_GA 07-21-2005 07:55 PM

99.99999% of the time, it's going to be a coding error. A misplaced bracket, comma, semi-colon, etc.

MThornback 07-22-2005 01:46 AM

First, Let me say thank you for this Hack....my users LOVE it...I can hardly keep them out of it...

I have a question....I'd like to be able to do something BEYOND the challenge system...more along the lines of running a tournament...anyone have any inclination to code that for a php illiterate bum like myself?

Skaterscafe.com 07-22-2005 02:11 AM

Quote:

Originally Posted by Biker_GA
99.99999% of the time, it's going to be a coding error. A misplaced bracket, comma, semi-colon, etc.

I'm checking everything now.

The only part of the instruction I didn't do is add this to the NAVBAR:

Quote:

<tr>
<td class="thead">Arcade Game Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="arcade.php" method="post">
<input type="text" class="bginput" name="search" size="20" />$gobutton<br />
</form>
</td>
</tr>
The navbar for the site is in the header info so I could not find the command below either:

Quote:

</table>
</div>
<!-- / header quick search form -->
I would not think that would make a difference....

Amaresh 07-22-2005 02:15 AM

Quote:

Originally Posted by thenetbox
found it...

my global.php file was wrongly patched. hahaha o boy.

Thanks for everyones help :)

Amaresh I just did a complete reinstall. Found that global.php wasn't properly patched. now it works :)

i feel stoooopid :)

Hi, thanks for letting me know, would you do me a favor and post the code snippet that you patched up?

Thanks

skipper1972 07-22-2005 04:16 AM

My wife decided to stray from the customized template, and had me install a skin for her VB site... Well, this made a bunch of hacks disappear.... I've managed to get the "Arcade" Button and "vBChat" button to show in the navbar, and call their respective php files, only to see they don't work.

A quick search for "arcade" in the templaes (and in chat) show the templates need to be reinstalled again for the template...

A search for "copy templates" yields way too many reults here to ever figure it out...

Is there a way to migrate the templates, or do I have to do the install again? I just need the templates added, and don't want to risk playing with the DB and screwing anything else up.... (hope this makes sense)

I need to do this for Arcade AND chat... and dno't want to reinstall alllll the games wither.... thanks!

KTBleeding 07-22-2005 04:30 AM

Quote:

Originally Posted by skipper1972
My wife decided to stray from the customized template, and had me install a skin for her VB site... Well, this made a bunch of hacks disappear.... I've managed to get the "Arcade" Button and "vBChat" button to show in the navbar, and call their respective php files, only to see they don't work.

A quick search for "arcade" in the templaes (and in chat) show the templates need to be reinstalled again for the template...

A search for "copy templates" yields way too many reults here to ever figure it out...

Is there a way to migrate the templates, or do I have to do the install again? I just need the templates added, and don't want to risk playing with the DB and screwing anything else up.... (hope this makes sense)

I need to do this for Arcade AND chat... and dno't want to reinstall alllll the games wither.... thanks!

Check out this hack by Zero Tolerance:
https://vborg.vbsupport.ru/showthrea...copy+templates

I had it running on a 3.0.7 just fine.

BLazeD1 07-22-2005 11:41 AM

Awesome hack this - just installed it first time without a hitch - http://forums.planetxbox360.com/arcade.php?

One problem is that it didnt correctly port over my templates.

If you look at the main site http://forums.planetxbox360.com/ you will see a small border around the outside, plus the colour underneath the VB copyright message is grey.

If you look at the Arcade - http://forums.planetxbox360.com/arcade.php? - The border is gone, and colour underneath the VB copyright message is the background image.

I think somehow I need to include this in the VB Arcade templates, but where?

Quote:

<STYLE>
.highlighttable {
BORDER-RIGHT: #DBDBDB 3px solid; BORDER-TOP: #DBDBDB 1px solid; BACKGROUND: #ffffff; BORDER-LEFT: #DBDBDB 3px solid; BORDER-BOTTOM: #DBDBDB 3px solid
}
.grey-bg {
BACKGROUND: #d0ccc0
}
</STYLE>

skipper1972 07-22-2005 09:56 PM

Thansk for those replies guys..... I downloaded ZT's template copier, and had the chat and arcade running 10 mins later, thanks so much!!

Exposed_Bone 07-23-2005 09:30 AM

I have the problem with the time that some people mentioned. It doesn't display the time but it's format! Please, help, I cannot show it to my members like that!

faast 07-23-2005 02:18 PM

see sig for 590 games

Lea Verou 07-24-2005 10:44 AM

Hi all!
I have some questions and problems with the v3arcade...
1. How can I uninstall a game?
2. Why when somebody tries to post a comment (including admins) it sais they don't have the permission to access this page? I've checked all of the permissions and everything seems correct! I've searched through this thread and this question has been asked but not answered!
3. I have MKportal installed. Why the games do not show inside it like the forum does?

Thanks in advance!! :)


All times are GMT. The time now is 11:12 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.04486 seconds
  • Memory Usage 1,846KB
  • 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_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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