• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How can i make more characters on website (Znote AAC)

Tyson12302

New Member
Joined
Aug 6, 2014
Messages
264
Reaction score
4
CYgqEjV.png

As you see on the image, i cant create another character. Can i change this. Is it because of my script? Please help.
 
Most likely a bug in your layout, check the default one if it has a "create character" link, in that case take the url and use it on the layout you got.
 
Open up layout/widgets/manageaccount.php

After this line:
PHP:
echo '+ <b><a href="myaccount.php" class="menu">My Account</a><br />
Add this line:
PHP:
+ <b><a href="createcharacter.php" class="menu">Create character</a><br />

And save.
 
Thanks that worked. Also i think you forgot something else, when i click on Who is Online. It doesn't show anything here a pic,
FulPOsg.png
Is there a way to make me see who is online?
 
Can you post your onlinelist.php and maybe the engine so i can see if im missing anything? Also is that Information box to the right edited? I don't have the Server online Status. I think i might of gotten a old layout.
 
I am using http://nightlies.otland.net

my onlinelist.php
PHP:
<?php require_once 'engine/init.php'; include 'layout/overall/header.php'; ?>

<h1>Who is online?</h1>
<?php
$array = online_list();
if ($array) {
    ?>
   
    <table id="onlinelistTable" class="table table-striped table-hover">
        <tr class="yellow">
            <th>Name:</th>
            <th>Guild:</th>
            <th>Level:</th>
            <th>Vocation:</th>
        </tr>
            <?php
            foreach ($array as $value) {
            $url = url("characterprofile.php?name=". $value['name']);
            echo '<tr class="special" onclick="javascript:window.location.href=\'' . $url . '\'">';
            echo '<td><a href="characterprofile.php?name='. $value['name'] .'">'. $value['name'] .'</a></td>';
            if (!empty($value['gname'])) echo '<td><a href="guilds.php?name='. $value['gname'] .'">'. $value['gname'] .'</a></td>'; else echo '<td></td>'; 
            echo '<td>'. $value['level'] .'</td>';
            echo '<td>'. vocation_id_to_name($value['vocation']) .'</td>';
            echo '</tr>';
            }
            ?>
    </table>

    <?php
} else {
    echo 'Nobody is online.';
}
?>
<?php include 'layout/overall/footer.php'; ?>
 
The Onlinelist.php is the same as your. I'm not sure what might be the problem. Is the online list only loaded from the onlinelist.php?
 
Last edited:
Back
Top