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
ORGANIZE YOUR V3Arcade CATEGORIES Details »»
ORGANIZE YOUR V3Arcade CATEGORIES
Version: 1.00, by frankenberrie frankenberrie is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-27-2004 Last Update: Never Installs: 15
 
No support by the author.

ORGANIZE YOUR V3Arcade CATEGORIES

This 30 second mod that will help you organize your V3Arcade Categories. I have included a few different choices.

1) Sort categories by name
2) Sort categories by most games available
3) Sort categories by least games available


Files to modify: ARCADE.PHP - (very simple)
I cannot stress to you more - make sure you keep a backup of your original files




Find:
PHP Code:
SELECT A.categoryID,A.categorytitle,A.categorydescrcount(*) 'total' FROM " . TABLE_PREFIX . "gamescat A" . TABLE_PREFIX . "games B WHERE A.categoryID B.categoryID group by A.categoryID 


If you wanna sort your categories by name, replace with:
PHP Code:
SELECT A.categoryID,A.categorytitle,A.categorydescrcount(*) 'total' FROM " . TABLE_PREFIX . "gamescat A" . TABLE_PREFIX . "games B WHERE A.categoryID B.categoryID group by A.categoryID ORDER BY categorytitle ASC 


If you wanna sort your categories by games available (least-most), replace with:
PHP Code:
        SELECT A.categoryID,A.categorytitle,A.categorydescrcount(*) 'total' FROM " . TABLE_PREFIX . "gamescat A" . TABLE_PREFIX . "games B WHERE A.categoryID B.categoryID group by A.categoryID ORDER BY total ASC 


If you wanna sort your categories by games available (most-least), replace with:
PHP Code:
        SELECT A.categoryID,A.categorytitle,A.categorydescrcount(*) 'total' FROM " . TABLE_PREFIX . "gamescat A" . TABLE_PREFIX . "games B WHERE A.categoryID B.categoryID group by A.categoryID ORDER BY total DESC 

Save your file and uload - Don't forget to click install if you use this mod.

EDIT:
this mod is required:
https://vborg.vbsupport.ru/showthrea...rcade+Category

Show Your Support

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

Comments
  #2  
Old 10-28-2004, 02:02 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v3Arcade has categories?
Reply With Quote
  #3  
Old 10-28-2004, 02:05 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does if you apply the category add on mod.

Technically this is an add-on for an add-on

I wouldn't mind but I sorted all mine out yesterday via phpmyadmin

Typical eh?
Reply With Quote
  #4  
Old 10-28-2004, 02:28 PM
frankenberrie's Avatar
frankenberrie frankenberrie is offline
 
Join Date: Dec 2002
Location: N.Y.
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the Category mod:
https://vborg.vbsupport.ru/showthrea...rcade+Category
Reply With Quote
  #5  
Old 10-28-2004, 05:39 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See, you guys were just trying to make me think I was going nuts or something!
Reply With Quote
  #6  
Old 07-04-2006, 12:28 AM
hackindave hackindave is offline
 
Join Date: Jun 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the catagories installed and would like to use this, however in my arcade.php I cannot find

PHP Code:
SELECT A.categoryID,A.categorytitle,A.categorydescrcount(*) 'total' FROM " . TABLE_PREFIX . "gamescat A" . TABLE_PREFIX . "games B WHERE A.categoryID B.categoryID group by A.categoryID 
I am running 3.5.4
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 07:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04491 seconds
  • Memory Usage 2,264KB
  • Queries Executed 21 (?)
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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete