![]() |
Latest Arcade Score (more than one?)
Does anyone know what file I need to edit so that more than one result is listed for the "Latest Arcade Score" area?
The Stifmeister2 referred me here so I am thinking someone here might know how to do this. Thank You :) |
bump...
|
bump...
|
bump...
|
wow...seriously...
bump... |
bump...
|
bump...
|
bump...
Why can I not get any support here? This is one of the reasons I paid for this software! |
I do know that stangger5 knows how todo it, his site is on his profile...
And by the way the Arcade is nothing todo with vbulletin, So how did you pay for it !!!! |
Quote:
|
Thanks KatieG, I'll try and get up with that person from the site.
|
bump...I can't seen to find any support/ solution to this.
Does anyone know what file I need to edit so that more than one result is listed for the "Latest Arcade Score" area? The Stifmeister2 referred me here so I am thinking someone here might know how to do this. Thank You |
Quote:
Code:
//latest score and champions |
Quote:
ha ha there is No branding Free version :D |
Here's what I see, I don't see anything to change from 1 latest score to more:
PHP Code:
|
Yeah, that's the part of the code I was playing around with as well and couldn't figure out how to manipulate it. I really think this is the right part to modify though.
Any ideas? Think adding another one of these: Code:
$latestinfo = $ibforums->lang['newest_score']; |
Quote:
|
arcade.php
Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Edit: skin_v3Arcade.php is the same. Do the same steps. Find (in the function start()): PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
No problem ;)
Searched weeks ago for the same feature and did find nothing. So i decided to do it self ;) |
Worked like a charm thank you!
|
Quote:
$DB->query("SELECT s.*, g.gtitle, g.decpoints, c.password FROM ibf_games_scores AS s, ibf_games_list AS g, ibf_games_cats AS c WHERE s.gid=g.gid AND g.gcat=c.c_id AND g.active=1 AND trim(password)='' ORDER BY datescored DESC LIMIT 0,5"); Set the amount of scores in the bold part (LIMIT 0, 5) of the query. Replace the 5 with a count that you wish. Greetz |
Wow!! Finally!! Thank you soooo much! This is exactly what I wanted to do. Thanks GreasySpoon!! You're the best!
|
Members of my board have brought up a problem after I made these modifications. Here's what's going on:
If I am not logged into my board, the latest scores say "array". If I am logged into my board, I see the 5 latest scores like I want to. I am the admin of my board. All other groups (even if logged in) see "array" Any idea what's going on? I followed the link that GreasySpoon provided for his arcade and I saw the 5 latest scores on his arcade page. What's wrong with mine? |
arcade.php
Find: PHP Code:
PHP Code:
Do you have the latest arcade installed? It worked for me with ibProArcade v2.6.7+ and with the newest one (ibProArcade v2.6.8+). Someone else, from above, with this problem? Greets |
uh oh...I am getting the following error in my arcade.php file:
Parse error: syntax error, unexpected '[' in /abc/abc/abc/arcade.php on line 2327 GreasySpoon, would you mind sharing your //latest score and champions and //header sections of your arcade.php file? I'm not sure what I did, but now the arcade isn't even accessible :( |
I cant, because i have modified more then only the scores part. Download ibProArcade and overwrite the modified scripts. And than, try again.
|
Overwrite the modified scripts? Do you mean the modified arcade.php and skin_arcade.php files?
|
Yes, reupload that both files and than try again.
|
OK, I'll try it and let you know. Thanks GreasySpoon :)
|
You're welcome. I hope you will get it work.
|
OK, I just made the changes again and guests still cannot view the latest scores. It still returns "array." If you want to look at the page, just go here:
http://nintendo-daily.com/arcade.php? |
It looks like you have forget one step in the skin script and it is not the block style for what my modification was.
Could you please attach the skin script, so i can take a look on it? |
the arcade_skin.php?
|
After a have looked at your forum, i think i know what the problem is. You are using an other style for arcade, not this one for which the modification was.
Do the following steps in the skin_v3Arcade.php file. Find (in the function start()): PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
I think I figured it out
--------------- Added [DATE]1231543207[/DATE] at [TIME]1231543207[/TIME] --------------- yep :) That's exactly what it was. I have 2 skins so I have to modify both. Thanks soo much for your assistance :) |
Congratulation ;)
Have fun and good night. |
Thanks you too...I am kicking myself in the butt for over-looking this. This code is exactrly what I was looking for. If I could rep you for the code I would. Thanks a TON!! Ah what the heck...I am going to rep you anway...
*ND reps GreasySpoon +10 points :) |
Really, it's not a big deal. I'm happy, that i could help you.
Thanks for the rep ;) But now, i have to go to bed. It's 12:32 am in Germany. cu |
One more problem...the arcade's leaderboard doesn't seem to be adding up the scores correctly. Anyone know why this is? Additionally, I cleared the scores but the "King of the Arcade" did not clear. How do I clear the King of the Arcade?
|
All times are GMT. The time now is 05:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|