Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[MOD] v3 Arcade Categories Mod 1.3a Details »»
[MOD] v3 Arcade Categories Mod 1.3a
Version: 1.00, by Oxygen Oxygen is offline
Developer Last Online: Oct 2006 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-07-2004 Last Update: 06-07-2004 Installs: 64
 
No support by the author.

_/?\_/?\_/?\_/?\_/?\_/?\_/?\_/?\_/?\__/?\_

v3 Arcade Categories Mod
Version 1.3a
For v3Arcade - Wonderful Arcade Hack!

By Sean T. Boyette
[sboyette@tampabay.rr.com]

?\_/?\_/?\_/?\_/?\_/?\_/?\_/?\_/?\_/??\_/?

Thanks to John, and the work he has done on this hack.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 04-13-2005, 06:57 AM
CommunityZ CommunityZ is offline
 
Join Date: Mar 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$game = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "games A, gamescat B WHERE A.categoryID = B.categoryID ORDER BY gameid ");

How to change so it makes gamescat to vb3_gamescat?
Reply With Quote
  #53  
Old 04-13-2005, 07:04 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
$game $DB_site->query("SELECT * FROM " TABLE_PREFIX "games A, " TABLE_PREFIX "gamescat B WHERE A.categoryID = B.categoryID ORDER BY gameid "); 
PS Please use the [ php ] bb-code if posting code here.
Reply With Quote
  #54  
Old 04-13-2005, 07:28 AM
CommunityZ CommunityZ is offline
 
Join Date: Mar 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry. Just now i try to use but i don't know how. Is it just out
PHP Code:
xwsnjka 
?
Reply With Quote
  #55  
Old 04-15-2005, 01:49 PM
maytrix maytrix is offline
 
Join Date: Mar 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a slight bug while installing a new arcade. In your arcade king section of code you need to ammend the query to read:

PHP Code:
        $mosthighscores $DB_site->query("SELECT games.highscorerid, user.username, user.userid FROM " TABLE_PREFIX "games AS games
                                           LEFT JOIN " 
TABLE_PREFIX "user AS user ON user.userid = games.highscorerid WHERE games.highscorerid!=''"); 
instead of:

PHP Code:
        $mosthighscores $DB_site->query("SELECT games.highscorerid, user.username, user.userid FROM " TABLE_PREFIX "games AS games
                                           LEFT JOIN " 
TABLE_PREFIX "user AS user ON user.userid = games.highscorerid"); 
or in the case you have more games without a highscorerid it will just loop the results and not show the arcade king.
Reply With Quote
  #56  
Old 04-25-2005, 08:33 PM
saint_seiya saint_seiya is offline
 
Join Date: Oct 2002
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran all the queries perfectly fine and am running 3.0.7, but when I go into gamesettings, the games aren't there and they aren't on the arcade main page. I get this error:

Warning: Invalid argument supplied for foreach() in /admincp/arcadeadmin.php on line 331

Any idea? This line is like in the middle of the code you need to put in.
Reply With Quote
  #57  
Old 05-01-2005, 01:07 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Fix Matrix....
Reply With Quote
  #58  
Old 05-16-2005, 05:55 AM
Shill Shill is offline
 
Join Date: Apr 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Guys,

First off great add on..

Everything works fine apart from 1 thing. I have catagorised the default v3 arcade 5 games (fresh install) into 3 classic, 1 skill, 1 shooter. But when i click on any of the catagorys on the front end it is displaying all 5 games and not just the ones i have placed in that catagory.

Any help on which bit of code displays the catagorys and what to ammend would be greatful. The only other add on I have installed is the one that displays the catagorys in most games > fewest games. Which is just 1 line of code.

Any help would be appreciated.

My site can be found at www.manxarcade.com

Thanks
Reply With Quote
  #59  
Old 05-18-2005, 07:25 AM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now that I've done this Catergories hack, the main arcade page seems a little dull. I want to have the "latest 10 games" displayed. Basically give it the look it had BEFORE the categories hack was added but make it the NEWEST ADDED games. Any pointers in which direction I should go sniffing at code? Please and thank you.
Reply With Quote
  #60  
Old 05-22-2005, 08:30 AM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I attempted to install this hack but didn't even get to finish it as half the code required to change just wasn't in the files!! It's a shame as it would have been pretty handy.
Reply With Quote
  #61  
Old 05-28-2005, 10:03 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,
I can't edit my game settings anymore after I installed this hack...

I attached a screen.
I don't get any mysql errors, and the other things all work fine.

Btw, I think it has something to do with:
PHP Code:
$menu .= "<tr onClick="document.getElementById('id').innerHTML = ".$games[shortname]."id;document.getElementById('descr').innerHTML = ".$games[shortname]."descr;document.getElementById('title').innerHTML = ".$games[shortname]."title;document.getElementById('showaward').innerHTML = ".$games[shortname]."showaward;document.getElementById('challenabled').innerHTML = ".$games[shortname]."challenabled;document.getElementById('playpanel').innerHTML = ".$games[shortname]."playpanel;document.getElementById('active').innerHTML = ".$games[shortname]."active;document.getElementById('netplay').innerHTML = ".$games[shortname]."netplay;document.getElementById('uptbut').innerHTML = ".$games[shortname]."upbuttext;document.getElementById('categorytitle').innerHTML = ".$games[shortname]."categorytitle;">"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:42 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.05619 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete