![]() |
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 :)
|
All times are GMT. The time now is 10:34 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:
|