vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   How to (https://vborg.vbsupport.ru/showthread.php?t=151897)

Stifmeister2 07-10-2007 05:28 PM

How to
 
How to show more than 5 Newest Champions in arcade main page?

I've seen it on other boards and can't seem to find it from arcade settings, so I guess I have to edit arcade.php?

--------- edit --------
This seems to be a feature in the ibproarcade 3.3 for invision. It would be a great feature for your ibparcade too Mr.Zeropage! ;)


Anyway is there a way to change this from arcade.php for now?

MrZeropage 07-11-2007 09:40 PM

the v3.3.0 is from InvisionBoard-branch and has nothing to do with the vBulletin-branch, sorry. Complete different development, v2.5.2 was the common base and after this it split up.

It is possible to extend this "newest champions", but it is late now and I don't have my USB-stick here by now (already placed it downstairs along the mobile and the car-key), so no access to the ibPro-Development now :p

Stifmeister2 07-11-2007 10:50 PM

Quote:

Originally Posted by MrZeropage (Post 1288663)
the v3.3.0 is from InvisionBoard-branch and has nothing to do with the vBulletin-branch, sorry. Complete different development, v2.5.2 was the common base and after this it split up.

It is possible to extend this "newest champions", but it is late now and I don't have my USB-stick here by now (already placed it downstairs along the mobile and the car-key), so no access to the ibPro-Development now :p

No problem. :p Check it when you can.


Just one question: Will I have to edit arcade.php myself (won't be a problem) or is it easy to implement and maybe put to 2.6.2+ final version as a new feature? ;)

stangger5 07-12-2007 02:01 AM

You need to edit the arcade.php file...

Look for :
Code:

$newtext
Under the first $newtext is the data base query

Code:

$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,5");
Change the 0,5 to what you want...
If you want 9,,then just put 0,9.....

Southernphuk 07-12-2007 02:32 AM

What is there such a division between the Invision Board and the VB one? What other goodies does the Invision version have that VB doesn't? Curious ..

Stifmeister2 07-12-2007 09:14 PM

Quote:

Originally Posted by stangger5 (Post 1288804)
You need to edit the arcade.php file...

Look for :
Code:

$newtext
Under the first $newtext is the data base query

Code:

$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,5");
Change the 0,5 to what you want...
If you want 9,,then just put 0,9.....

Thanks that does the trick. :)


All times are GMT. The time now is 03:38 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.01721 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete