vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - IbproArcade 2.5.7- Top 25 player (https://vborg.vbsupport.ru/showthread.php?t=130264)

erjavid 10-28-2006 10:00 PM

IbproArcade 2.5.7- Top 25 player
 
This edit will add the Top 24 Players to your IbproArcade System and remove the " king of arcade " and "leader of leader board".
(top 25 playes V1.10.zip)

Work perfectly whit ibproarcade 2.5.4+ / 2.5.5+ / 2.5.6+ / 2.5.7+ / 2.5.8+ /2.5.9+/2.6.0+/2.6.1+/
http://img256.imageshack.us/img256/1...1combp5.th.jpg



In your "forum root" arcade.php

Find:
Code:

$DB->query("SELECT g.gid, g.active, count(*) nb, g.bestscore, g.bestmid AS champ_mid, u.username AS champ_name FROM ibf_games_list AS g INNER JOIN ibf_user AS u ON u.userid=g.bestmid WHERE active=1 GROUP BY bestmid ORDER BY 3 DESC LIMIT 1");
Replace With:
Code:

$DB->query("SELECT g.gid, g.active, count(*) nb, g.bestscore, g.bestmid AS champ_mid, u.username AS champ_name FROM ibf_games_list AS g INNER JOIN ibf_user AS u ON u.userid=g.bestmid WHERE active=1 GROUP BY bestmid ORDER BY 3 DESC LIMIT 25");


In your
arcade/skin/skin_v3Arcade.php
and
arcade/skin/skin_arcade.php
Find:
Code:

<div class='tborder'>
                                                <table width='100%' border='0' cellspacing='0' cellpadding='2'>
                                                <tr>
                                                        <th width='50%' align='center' nowrap='nowrap' class='tcat' colspan='1'><img src="./arcade/images/crown.gif" border="0" alt=""> {$ibforums->lang['grand_champions']} <img src="./arcade/images/crown.gif" border="0" alt=""></th>
                                                        <th width='50%' align='center' nowrap='nowrap' class='tcat' colspan='1'>{$ibforums->lang['leagueleader']}</th>
                                                </tr>

                                                <tr>
                                                        <td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
                                                        {$Champion['ArcadeChampionAvatarCode1']}
                                                        </td>

                                                        <td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
                                                        {$tourneyinfo['champavatar']}
                                                        </td>
                                                </tr>

                                                <tr>
                                                        <td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
                                                        {$Champion['ArcadeChampion1']}
                                                        </td>

                                                        <td width='50%' align='center' nowrap='nowrap' class='alt2' valign='middle'>
                                                        {$tourneyinfo['champ']}
                                                        </td>
                                                </tr>

                                                </table>
                                        </div>

Replace:

Code:

                                <div class='tborder'>
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
<tr>
<th width='100%' align='center' nowrap='nowrap' class='tcat'> Top 24 Players:</th>
</tr>
<tr>


<td width='50%' align='center' nowrap='nowrap' class="alt2" valign='top' ><table width='100%' border='0' cellspacing='1' cellpadding='4'><tr>

<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>04. {$Champion ['ArcadeChampion4']}<br>05. {$Champion['ArcadeChampion5']}<br>06. {$Champion['ArcadeChampion6']}<br>07. {$Champion['ArcadeChampion7']}<br>08. {$Champion['ArcadeChampion8']}<br>09. {$Champion['ArcadeChampion9']}<br>10. {$Champion['ArcadeChampion10']}</td>
<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>11. {$Champion['ArcadeChampion11']}<br>12. {$Champion['ArcadeChampion12']}<br>13. {$Champion['ArcadeChampion13']}<br>14. {$Champion ['ArcadeChampion14']}<br>15. {$Champion['ArcadeChampion15']}<br>16. {$Champion['ArcadeChampion16']}<br>17. {$Champion['ArcadeChampion17']}</td>
<td width='33%' align='left' nowrap='nowrap' class='alt2' valign='middle'>18. {$Champion['ArcadeChampion18']}<br>19. {$Champion['ArcadeChampion19']}<br>20. {$Champion['ArcadeChampion20']}<br>21. {$Champion['ArcadeChampion21']}<br>22. {$Champion['ArcadeChampion22']}<br>23. {$Champion['ArcadeChampion23']}<br>24 {$Champion ['ArcadeChampion24']}</td></tr></table></td>
</tr>
</table>
</div>


Now in your arcade/lang/lang_Arcade_en.php ( or your language)
Find:
Code:

arcadeking_txt1                => "got ",
arcadeking_txt2                => " times<br />the High Score of all time",

Replace With:
Code:

arcadeking_txt1                => " has ",
arcadeking_txt2                => " Wins!",


Live demo: http://www.moddingfx.com/forum/arcade.php?




* The .zip file contain full modification and included this https://vborg.vbsupport.ru/showthrea...93#post1106693

erjavid 10-29-2006 05:38 AM

this modification fund whit Ibpro arcade 2.5.8+

shadowevil 10-29-2006 06:11 AM

first post .... *installed*

Gizmo5h1t3 10-29-2006 08:38 AM

installed, and works a treat

tekram 10-29-2006 09:22 AM

Looks good my frend. Installed nd works fine....

Veer 10-29-2006 01:24 PM

Great Idea, but i dont like to remove the " king of arcade " and "leader of leader board"

So... any way to keep it with top 25 player?

erjavid 10-29-2006 02:03 PM

Quote:

Originally Posted by Pehchaan
Great Idea, but i dont like to remove the " king of arcade " and "leader of leader board"

So... any way to keep it with top 25 player?

yes , tomorrow I'll check

stangger5 10-30-2006 05:23 AM

Quote:

Originally Posted by Pehchaan
Great Idea, but i dont like to remove the " king of arcade " and "leader of leader board"

So... any way to keep it with top 25 player?

I`ve edited my arcade to slow like that...

With " king of arcade " and "leader of leader board"
but I changed it to show 20 instead of 25 Top players..
I have only 20 members with high scores..

I added 10 Random Games under the Most Played Games too..

Thanks erjavid for the hack and the ideal !!!

GrendelKhan{TSU 10-31-2006 07:04 AM

MUCH better imo. nice job! :D

GrendelKhan{TSU 11-02-2006 11:18 AM

Quote:

Originally Posted by stangger5
I`ve edited my arcade to slow like that...

With " king of arcade " and "leader of leader board"
but I changed it to show 20 instead of 25 Top players..
I have only 20 members with high scores..

I added 10 Random Games under the Most Played Games too..

Thanks erjavid for the hack and the ideal !!!

great! could you share how you do that?

:(


All times are GMT. The time now is 02:55 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.01107 seconds
  • Memory Usage 1,761KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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