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-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


All times are GMT. The time now is 03:05 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.04012 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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