After starting to use this php script, I noticed a problem with it.
The players don't show up, at the minute it's showing only one member that's there. >:/
Also anyone know how I would add onto it to show who is hosting? :O
ID:107634
![]() Jan 26 2011, 6:34 am
|
|
Just guessing this since I've got minimal experience with PHP... :/ I took a wild guess.
$server = array( Again, I'm guessing but it doesn't hurt to try. :/ |
http://dbzfinalresurrection.com/play.php
See anything wrong with the players bit? I do. :| Current Code: <?php |
Disregard that... Try this:
$start = strpos($game, 'players'); |
Use this instead.
h is hub. m is member. a is additional. For a game hub: parse_hub("tiberath.storytelling") For a member site: parse_hub("tiberath", TRUE); For a full game hub: parse_hub("tiberath.storytelling", FALSE, "long=true"); For a full member site: parse_hub("tiberath", TRUE, "long=true"); <? Please be aware anything on that PHP page is extreme outdated. (Minus the PHP to DM communication, that's pretty much still the only script for that purpose I'm aware of.) |
Also, contacting me directly is a far better means of getting my attention. It was pure luck that I found this post.
|
$start = strpos($game, 'users');
Changing 'users' to 'players' should work. Right now, it's only finding the 'users' list from the waiting list.