Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
IbproArcade 2.5.7- Top 25 player Details »»
IbproArcade 2.5.7- Top 25 player
Version: 1.00, by erjavid erjavid is offline
Developer Last Online: Sep 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 10-28-2006 Last Update: 11-01-2006 Installs: 42
Template Edits
 
No support by the author.

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+/




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

Show Your Support

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

Comments
  #12  
Old 11-03-2006, 08:11 PM
erjavid erjavid is offline
 
Join Date: Mar 2006
Location: italy
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #13  
Old 11-12-2006, 10:21 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
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
Reply With Quote
  #14  
Old 11-13-2006, 12:45 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Renada View Post
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+...
Reply With Quote
  #15  
Old 11-13-2006, 02:32 AM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
That comes in the newest version of ibProArcade 2.5.7+...
Thank you Stangger
Reply With Quote
  #16  
Old 11-23-2006, 09:20 AM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 11-23-2006, 08:02 PM
erjavid erjavid is offline
 
Join Date: Mar 2006
Location: italy
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Foxsake View Post
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)
Reply With Quote
  #18  
Old 12-09-2006, 12:22 AM
erjavid erjavid is offline
 
Join Date: Mar 2006
Location: italy
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is compatinbler whit 2.5.8+
Reply With Quote
  #19  
Old 12-14-2006, 12:06 PM
BuzuL's Avatar
BuzuL BuzuL is offline
 
Join Date: Oct 2006
Location: TR/Ank
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #20  
Old 12-17-2006, 12:55 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #21  
Old 12-17-2006, 10:44 AM
Greek Wizard Greek Wizard is offline
 
Join Date: Jun 2006
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by erjavid View Post
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.
Reply With Quote
Reply

Thread Tools

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 01:10 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.04611 seconds
  • Memory Usage 2,335KB
  • 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
  • (12)bbcode_code
  • (6)bbcode_quote
  • (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