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 11-03-2006 08:11 PM

Quote:

Originally Posted by GrendelKhan{TSU
great! could you share how you do that?

:(



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>


Add Below:
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>

                                <fieldset class="fieldset" style="margin: 0px 0px 0px 0px;">
                                        <legend>{$ibforums->lang['newest_champs']}</legend>
                                        <div style="padding: 0px;">
                                                <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                                                        <tr>
                                                                <td width="100%">
                                                                        <table cellpadding="2" cellspacing="1" border="0" width="100%">
                                                                                {$newtext}
                                                                        </table>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>
                                </fieldset>


Renada 11-12-2006 10:21 PM

Quote:

Originally Posted by stangger5 (Post 1107300)
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 !!!

Could anyone please explain to me how you get the A-Z list to show up or is this a customised setting?

Stangger on your site you have your games listed as "All" "0-9" "A" "B" etc, how do you do that?

Thanks in advance,
Renada

stangger5 11-13-2006 12:45 AM

Quote:

Originally Posted by Renada (Post 1115772)
Could anyone please explain to me how you get the A-Z list to show up or is this a customised setting?

Stangger on your site you have your games listed as "All" "0-9" "A" "B" etc, how do you do that?

Thanks in advance,
Renada

That comes in the newest version of ibProArcade 2.5.7+...

Renada 11-13-2006 02:32 AM

Quote:

Originally Posted by stangger5 (Post 1115885)
That comes in the newest version of ibProArcade 2.5.7+...

Thank you Stangger :)

Foxsake 11-23-2006 09:20 AM

Excellent post Stangger5 for keeping the King of the arcade etc, however on my board it shows arcade champ as winning 54 games and he is King of the arcade with 52 wins?

He clearly has 54 wins any ideas why this is happening?

I have noticed also on your board you have it set for highscores, is it possible for you to share that coding?

Cheers

erjavid 11-23-2006 08:02 PM

Quote:

Originally Posted by Foxsake (Post 1123515)
Excellent post Stangger5 for keeping the King of the arcade etc, however on my board it shows arcade champ as winning 54 games and he is King of the arcade with 52 wins?

He clearly has 54 wins any ideas why this is happening?

I have noticed also on your board you have it set for highscores, is it possible for you to share that coding?

Cheers

52 is the number of record (actually)

54 is the number of best record (in full time)

erjavid 12-09-2006 12:22 AM

This mod is compatinbler whit 2.5.8+

BuzuL 12-14-2006 12:06 PM

Thanks

TheBlackPoet 12-17-2006 12:55 AM

thank you for this hack... i have some score hoggs... and game bullies (all girls!).... and they will be pissed come monday.... but this is good for the greater community....

again.. thanks!!

Greek Wizard 12-17-2006 10:44 AM

Quote:

Originally Posted by erjavid (Post 1110203)
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>


Add Below:
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>

                                <fieldset class="fieldset" style="margin: 0px 0px 0px 0px;">
                                        <legend>{$ibforums->lang['newest_champs']}</legend>
                                        <div style="padding: 0px;">
                                                <table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
                                                        <tr>
                                                                <td width="100%">
                                                                        <table cellpadding="2" cellspacing="1" border="0" width="100%">
                                                                                {$newtext}
                                                                        </table>
                                                                </td>
                                                        </tr>
                                                </table>
                                        </div>
                                </fieldset>


I found that if you used the above code, when there were tie scores, you would at times have the same name in 3rd and 4th and have one player missing because it was getting the results from two different queries.

I found if I changed this:

Code:

                                                        <td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion1']}</td>
                                                        <td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion2']}</td>
                                                        <td width='33%' align='center' nowrap='nowrap' class='alt2' valign='middle'>{$Highscorechamp['ArcadeChampion3']}</td>

to this:

Code:

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

The repeating of names did not occur since it was all one query.


All times are GMT. The time now is 11:47 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.01201 seconds
  • Memory Usage 1,814KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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