Arcade point system

Started by dwd2000, January 25, 2015, 11:12:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dwd2000

Here's one:
I put:


loadTemplate('Leaderboard');
call_user_func('leaderList');


in a Simple Portal php block and got the same error.
30 years ago I was young and foolish. Now, I'm just young.

Skhilled

Well, if the mod doesn't work, I seriously doubt the block will. LOL

dwd2000

Quote from: Skhilled on March 17, 2015, 09:10:37 AM
Well, if the mod doesn't work, I seriously doubt the block will. LOL

Actually, I was just trying to mention that it might be the Leaderboard file that might be wrong, but I can't see anything that might cause it.

Again, I'm not a coder.
30 years ago I was young and foolish. Now, I'm just young.

dwd2000

This might help.

I WAMPed a fresh install of the newest SMF, the arcade, PDL, and Beta7.
Yes, Installed Beta7 after PDL was installed.

With the exception of a double "function check_empty_folder" installation in the "Subs-ArcadeAdmin" file, it installed nicely.
Yes, lots of errors, but as I went through them, I was finding that the program was searching for already edited code, so I continued.

I got the same errors, but noticed that some things were not lining up properly. (see attachments)
The same things weren't lining up in my previous install either.
It may be just a missing div or table tag.
30 years ago I was young and foolish. Now, I'm just young.

Skhilled

Personally, I think there more to it than just the leaderboard file but could be wrong. If I get some time this weekend I'll try to go over things a bit more. However, I do have to try and get my PC parts (or some of them) so I can stop this rebooting and lockups.  :censored: Then, I'll have more time to concentrate.

I'm thinking there may be more strings/constants that may have changed and need to be tracked down like the "guests" one.

dwd2000

LEADERBOARD WORKS :) :) :)

Very top of the page.

Added "php" to "<?" = <?php

Now need to find out why some things aren't lining up properly.
I'm now thinking it maybe a font or padding or margin thing.

30 years ago I was young and foolish. Now, I'm just young.

Skhilled

LMAO! Of couse, it was something simple...

dwd2000

It's now live on my site.
Just a couple very minor bugs. (Spacing mostly)
30 years ago I was young and foolish. Now, I'm just young.

Skhilled

You are also missing 2 images...star2.gif and upshrink.gif

Chen Zhen


Just to note that any instance of:  /$themes_dir/default/
should have been: /$themedir/
in both install xml files

(you have to also omit the directory of default because $themedir should do all theme directories)

Regards.

Skhilled

Ah! Thanks! I knew I was close.  :rofl1: