26

(8 replies, posted in PunBB 1.3 troubleshooting)

Alright.

Is there like a huge list I can look at so I can change most of these.

It's only a few files I have created my self, so I won't be editing much.

27

(8 replies, posted in PunBB 1.3 troubleshooting)

The constant FORUM_ROOT must be defined and point to a valid PunBB installation root directory.

I have a secondary "Register" link on my forums.

I host a game, and when they Register it makes a game account.

I am not sure what that error means.

I can't even access my /highscores.php file either, says the same thing.

D;

Everything I've added from my old forums (1.2.17) then I move to 1.3.2 and it's all blah.

-- EDIT -- Been looking into it and my guess is...

(Here's some of my profile addon file)

<?php

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';

if($pun_user['is_guest'])
    message($lang_common['No permission']);

// Load the register.php language file
require PUN_ROOT.'lang/'.$pun_user['language'].'/register.php';

// Load the register.php/profile.php language file
require PUN_ROOT.'lang/'.$pun_user['language'].'/prof_reg.php';

$action = isset($_GET['action']) ? $_GET['action'] : null;

if ($action == 'delete') {
    $id = trim($_GET['user']);
    if (!ctype_digit($id)) {
      message($lang_common['Bad request']);
      }
    $result = $db->query('SELECT * FROM '.$db->prefix.'rscd_players WHERE `user`='.$id) or error('Unable to fetch player info', __FILE__, __LINE__, $db->error());
    if(!$db->num_rows($result))
        message($lang_common['Bad request']);
    
    $user = $db->fetch_assoc($result);
    
    if($pun_user['g_id'] != PUN_ADMIN)
        message($lang_common['No permission']);
    
    if(isset($_POST['form_sent'])) {
              $db->query('DELETE FROM '.$db->prefix.'rscd_curstats WHERE `user`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_curstats', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_experience WHERE `user`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_experience', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_friends WHERE `user`=\''.$db->escape($id).'\' OR `friend`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_friends', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_ignores WHERE `user`=\''.$db->escape($id).'\' OR `ignore`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_ignores', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_invitems WHERE `user`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_invitems', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_players WHERE `user`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_players', __FILE__, __LINE__, $db->error());
              $db->query('DELETE FROM '.$db->prefix.'rscd_reports WHERE `from`=\''.$db->escape($id).'\' OR `about`=\''.$db->escape($id).'\'') or error('Unable to delete rscd_reports', __FILE__, __LINE__, $db->error());
              
              logoutuser($id);
              
              redirect('profile.php?section=rscd&id='.$user['owner'], 'Player deleted');
          }
          
    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Confirm Delete';
    require PUN_ROOT.'header.php';
?>
<div class="blockform">
    <h2><span>Confirm Delete</span></h2>
    <div class="box">
        <form action="rscd.php?action=delete&user=<?php echo pun_htmlspecialchars($id); ?>" method="POST">
            <div class="inform">
                <fieldset>
                    <input type="hidden" name="form_sent" value="1" />
                    <legend>Delete Player</legend>
                    <div class="infldset" style="text-align:center">
                        <p><input type="submit" name="delete" value="Confirm Delete" style="width:200px" /></p>
                            <p>Please confirm you wish to delete the player "<?php echo pun_htmlspecialchars($user['username']); ?>". <b>This action is not reversible!</b></p>
                    </div>
                </fieldset>
            </div>
        </form>
    </div>
</div>
<?php
    require PUN_ROOT.'footer.php';
          
}
else if ($action == 'change_pass') {
    $id = trim($_GET['user']);
     if (!ctype_digit($id)) {
    message($lang_common['Bad request']);
    }
    
    $result = $db->query('SELECT * FROM '.$db->prefix.'rscd_players WHERE `user`='.$id) or error('Unable to fetch player info', __FILE__, __LINE__, $db->error());
    if(!$db->num_rows($result))
        message($lang_common['Bad request']);
    
    $user = $db->fetch_assoc($result);
    
    if($user['owner'] != $pun_user['id'] && $pun_user['g_id'] != PUN_ADMIN)
        message($lang_common['No permission']);
    
    if(isset($_POST['form_sent'])) {
        $password1 = trim($_POST['req_password1']);
        $password2 = trim($_POST['req_password2']);
        
        if (strlen($password1) < 4)
            message($lang_prof_reg['Pass too short']);
        else if ($password1 != $password2)
            message($lang_prof_reg['Pass not match']);
        
        if($pun_user['g_id'] != PUN_ADMIN) {
            $old_password = md5(pun_trim($_POST['old_password']));
            
            $result = $db->query('SELECT 1 FROM '.$db->prefix.'rscd_players WHERE `user`=\''.$id.'\' AND `pass`=\''.$old_password.'\'') or error('Unable to fetch player info', __FILE__, __LINE__, $db->error());
            if(!$db->num_rows($result)) {
                message('The provided password does not match!');
            }
        }
        
        $db->query('UPDATE '.$db->prefix.'rscd_players SET pass=\''.md5($password1).'\' WHERE user=\''.$id.'\'') or error('Unable to update players password', __FILE__, __LINE__, $db->error());
        
        redirect('profile.php?section=rscd&id='.$user['owner'], 'Password updated');
    }
    
    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Change Password';
    $required_fields = array('req_password1' => $lang_common['Password'], 'req_password2' => $lang_prof_reg['Confirm pass']);
    $focus_element = array('register', 'req_password1');
    require PUN_ROOT.'header.php';

?>
<div class="blockform">
    <h2><span>Change Password</span></h2>
    <div class="box">
        <form id="register" method="post" action="rscd.php?action=change_pass&amp;user=<?php echo $id; ?>" onsubmit="this.register.disabled=true;if(process_form(this)){return true;}else{this.register.disabled=false;return false;}">
            <div class="inform">
                <fieldset>
                    <legend>Please enter and confirm your new password</legend>
                    <div class="infldset">
                        <input type="hidden" name="form_sent" value="1" />
<?php if($pun_user['g_id'] != PUN_ADMIN): ?>                        <label class="conl"><strong>Old Password</strong><br /><input type="password" name="old_password" size="16" maxlength="16" /><br /></label>
<?php endif; ?>                        <label class="conl"><strong>New Password</strong><br /><input type="password" name="req_password1" size="16" maxlength="16" /><br /></label>
                        <label class="conl"><strong><?php echo $lang_prof_reg['Confirm pass'] ?></strong><br /><input type="password" name="req_password2" size="16" maxlength="16" /><br /></label>
                        <p class="clearb">Passwords can be between 4 and 16 characters long. Passwords are case sensitive.</p>
                    </div>
                </fieldset>
            </div>
            <p><input type="submit" name="change_pass" value="Change Password" /></p>
        </form>
    </div>
</div>
<?php

    require PUN_ROOT.'footer.php';
    
}
else if ($action == 'register') {
    // Load the register.php language file
    require PUN_ROOT.'lang/'.$pun_user['language'].'/register.php';
    
    if(isset($_GET['cancel']))
        redirect('index.php', $lang_register['Reg cancel redirect']);
    else if($pun_config['o_rscd_rules'] == '1' && !isset($_GET['agree']) && !isset($_POST['form_sent'])) {
        
        $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Register'];
        require PUN_ROOT.'header.php';
        
    
?>
<div class="blockform">
    <h2><span>Project F2P Rules</span></h2>
    <div class="box">
        <form method="get" action="rscd.php">
            <div class="inform">
                <input type="hidden" name="action" value="register" />
                <fieldset>
                    <legend><?php echo $lang_register['Rules legend'] ?></legend>
                    <div class="infldset">
                        <p><?php echo $pun_config['o_rscd_rules_message'] ?></p>
                    </div>
                </fieldset>
            </div>
            <p><input type="submit" name="agree" value="<?php echo $lang_register['Agree'] ?>" /><input type="submit" name="cancel" value="<?php echo $lang_register['Cancel'] ?>" /></p>
        </form>
    </div>
</div>
<?php

        require PUN_ROOT.'footer.php';
    }
    else if (isset($_POST['form_sent'])) {
        $username = pun_trim($_POST['req_username']);
        $password1 = trim($_POST['req_password1']);
        $password2 = trim($_POST['req_password2']);
        
        $username_hash = encode_username($username);
        $username = decode_username($username_hash);
        
        // Validate username and passwords
        if (!$username_hash)
            message('Invalid username');
        else if (strlen($username) < 2)
            message($lang_prof_reg['Username too short']);
        else if (pun_strlen($username) > 12)    // This usually doesn't happen since the form element only accepts 12 characters
            message($lang_common['Bad request']);
        else if (strlen($password1) < 4)
            message($lang_prof_reg['Pass too short']);
        else if (pun_strlen($password1) > 16)    // This usually doesn't happen since the form element only accepts 16 characters
            message($lang_common['Bad request']);
        else if ($password1 != $password2)
            message($lang_prof_reg['Pass not match']);
        else if (preg_match('/^Mod\s+/i', $username) || preg_match('/^Admin\s+/i', $username))
            message('Usernames may not start with "Mod " or "Admin ". Please choose another username.');
        
        // Check that the username (or a too similar username) is not already registered
        $result = $db->query('SELECT username FROM '.$db->prefix.'rscd_players WHERE UPPER(username)=UPPER(\''.$db->escape($username).'\') OR UPPER(username)=UPPER(\''.$db->escape(preg_replace('/[^\w]/', '', $username)).'\') OR UPPER(username)=UPPER(\''.$db->escape(preg_replace('/\s\s+/', ' ', $username)).'\')') or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
    
        if ($db->num_rows($result))
        {
            $busy = $db->result($result);
            message($lang_register['Username dupe 1'].' '.pun_htmlspecialchars($busy).'. '.$lang_register['Username dupe 2']);
        }
        
        $db->query('INSERT INTO '.$db->prefix.'rscd_curstats(`user`) VALUES(\''.$db->escape($username_hash).'\')') or error('Unable to fill curstats', __FILE__, __LINE__, $db->error());
        $db->query('INSERT INTO '.$db->prefix.'rscd_experience(`user`) VALUES(\''.$db->escape($username_hash).'\')') or error('Unable to fill experience', __FILE__, __LINE__, $db->error());
        $db->query('INSERT INTO '.$db->prefix.'rscd_players(`user`, `username`, `owner`, `pass`, `creation_date`, `creation_ip`) VALUES(\''.$db->escape($username_hash).'\', \''.$db->escape($username).'\', \''.intval($pun_user['id']).'\', \''.md5($password1).'\', \''.time().'\', \''.get_remote_address().'\')') or error('Unable to fill players', __FILE__, __LINE__, $db->error());
        $db->query('INSERT INTO '.$db->prefix."rscd_invitems(`user`, `id`, `amount`, `wielded`, `slot`) VALUES
            ('".$db->escape($username_hash)."', '10', '50', '0', '0'),
            ('".$db->escape($username_hash)."', '1263', '1', '0', '1'),
            ('".$db->escape($username_hash)."', '77', '1', '0', '2')
            ") or error('Unable to fill curstats', __FILE__, __LINE__, $db->error());
        
        redirect('profile.php?section=rscd&id='.$pun_user['id'], 'Your Project F2P account has been created.');
    }
    
    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_register['Register'];
    $required_fields = array('req_username' => $lang_common['Username'], 'req_password1' => $lang_common['Password'], 'req_password2' => $lang_prof_reg['Confirm pass']);
    $focus_element = array('register', 'req_username');
    require PUN_ROOT.'header.php';

?>
<div class="blockform">
    <h2><span><?php echo $lang_register['Register'] ?></span></h2>
    <div class="box">
        <form id="register" method="post" action="rscd.php?action=register" onsubmit="return process_form(this);">
            <div class="inform">
                <fieldset>
                    <legend>Please enter a username between 2 and 12 characters long</legend>
                    <div class="infldset">
                        <input type="hidden" name="form_sent" value="1" />
                        <label><strong><?php echo $lang_common['Username'] ?></strong><br /><input type="text" name="req_username" size="20" maxlength="12" /><br /></label>
                    </div>
                </fieldset>
            </div>
            <div class="inform">
                <fieldset>
                    <legend>Please enter and confirm your chosen password</legend>
                    <div class="infldset">
                        <label class="conl"><strong><?php echo $lang_common['Password'] ?></strong><br /><input type="password" name="req_password1" size="20" maxlength="16" /><br /></label>
                        <label class="conl"><strong><?php echo $lang_prof_reg['Confirm pass'] ?></strong><br /><input type="password" name="req_password2" size="20" maxlength="16" /><br /></label>
                        <p class="clearb">Passwords can be between 4 and 16 characters long. Passwords are case sensitive.</p>
                    </div>
                </fieldset>
            </div>
            <p><input type="submit" name="register" value="<?php echo $lang_register['Register'] ?>" /></p>
        </form>
    </div>
</div>
<?php

    require PUN_ROOT.'footer.php';
    
}
else
    message($lang_common['Bad request']);





I noticed everything is pun_root and pun_user

Shouldn't I be changing these to something else?

28

(4 replies, posted in PunBB 1.2 troubleshooting)

Someone please help?

29

(4 replies, posted in PunBB 1.2 troubleshooting)

It's on my localhost so I can do pics.

I don't wanna shove the banner on my site, cause the way it is now it's ugleh D;

30

(4 replies, posted in PunBB 1.2 troubleshooting)

Arrrggg.

I need some help.

First of all, here's the code.

/* your logo and position */
background-image: url(../../img/Samuiblack/logo.gif);
background-repeat: no-repeat;
background-position: left; /* you set your logo position here */
display: block;
height: 105px; 
width: 900px;/* logo height in here add width: size px if u need*/
}


Second of all, here's the picture...

http://i72.photobucket.com/albums/i172/matt1029/banner.jpg

I want to make it so the banner fills the whole white space, but It won't even go, as you can tell. I've tried numerous background positions, and tryed to fix the width and it just won't work.

Really need help.

Thanks.

Yea.

Thanks I fixed it big_smile

I need to get my admins/mods/ etcs, all dif colors..

That dumb mod by mediator doesn't work for my 1.2.17 punbb board.

So help >_>

Anyone?
Sorry for bump

Hmm, i think ill just find a new layout ^_^

35

(3 replies, posted in General discussion)

Yea, i tryed...same stuff.

Thanks guys, cicadess gtfo off my thread with that bs crap.

on topic now...

Can anyone look at the code and kinda fix the missing curly closing brackets if there is anything missing?

/****************************************************************/
/* 1. BACKGROUND AND TEXT COLOURS */
/****************************************************************/

/* 1.1 Default background colour and text colour */

BODY {BACKGROUND-COLOR: #282828;}

.pun {COLOR: #C7C7C7}

DIV.box,  #adminconsole FIELDSET TH, .rowodd, .roweven {BACKGROUND-COLOR: #323232}
#adminconsole TD, #adminconsole TH {BORDER-COLOR: #323232}

/* 1. 2 Darker background colours */

TD.tc3, TD.tc4, TD.tcmod, #brdfooter DIV.box {BACKGROUND-COLOR: #2b2b2b}
#adminconsole FIELDSET TD, #viewprofile DD, DIV.forminfo, DIV.blockmenu DIV.box, #adstats DD {BACKGROUND-COLOR: #363636}

.pun BLOCKQUOTE, DIV.codebox {BACKGROUND-COLOR: #333333}

/* 1.3 Main headers and navigation bar background and text colour */

.pun H2, #brdmenu { BACKGROUND-COLOR: #111111; COLOR: #FFF; 
background-image:url(../../img/3rxnet/cell.gif) }

/* 1.4 Table header rows */

.pun TH {background-repeat: repeat-x;}

/* header logo */
.pun H1 
{
/* your logo and position */
background-image: url(../../img/3rxnet/logo_r.gif);
background-repeat: no-repeat;
background-position: center; /* you set your logo position here */
display: block;
height: 70px;/* logo height in here add width: size px if u need*/
}
 
/*header title*/
.pun H1 span
{
/* your font style */
color: #666666;
font-size: 0px; /* title size */
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
text-transform: none ; /* transform text: uppercase, capitalise */
text-decoration: underline; /* decoration: none, overline */
 
/* position for your text (board title) with the logo */
position: absolute; 
top: 0px; 
left: 0px; 
}

div#brdheader #brdtitle {
height: 118px; /* Replace with height of your header image */
padding: 0
}
#brdtitle span, #brdtitle p {
position: absolute;
display: block;
overflow: hidden;
width: 1em;
left: -999em
}
#brdtitle h1 {
width: 1090px; /* Replace with width of your header image */
height: 118px; /* Replace with height of your header image */
background: url('/img/logo_r.gif
}



/* 1.5 Fieldset legend text colour */

.pun LEGEND {COLOR: #FFFFFF}

/* 1.6 Highlighted text for various items */

.pun DIV.blockmenu LI.isactive A, #posterror LI STRONG {COLOR: #D4D4D4}

/****************************************************************/
/* 2. POST BACKGROUNDS AND TEXT */
/****************************************************************/

/* 2.1 This is the setup for posts. */

DIV.blockpost DIV.box, DIV.postright, DIV.postfootright, #postpreview {BACKGROUND-COLOR: #202020}
DIV.postright, DIV.postfootright {BORDER-LEFT-COLOR: #303030}
DIV.postleft, DIV.postfootleft, DIV.blockpost LABEL {BACKGROUND-COLOR: #303030}

/* 2.2 Background for post headers and text colour for post numbers in viewtopic */

DIV.blockpost H2 {BACKGROUND-COLOR: #000000; text-align: left}
DIV.blockpost H2 SPAN.conr {COLOR: #A19E96}

/* 2.3 This is the line above the signature in posts. Colour and background should be the same */

.pun HR {BACKGROUND-COLOR: #606060;    COLOR: #606060}

/* 2.3 This is the line above the signature in posts. Colour and background should be the same */

.pun HR {BACKGROUND-COLOR: #111111; COLOR: #111111}

/****************************************************************/
/* 3. BORDER COLOURS */
/****************************************************************/

/* 3.1 All external borders (H1 is the board title) */

DIV.box {BORDER-COLOR: #111111}

/* 3.2 Makes the top border of posts match the colour used for post headers */

DIV.blockpost DIV.box {BORDER-COLOR: #111111 #111111 #111111}

/* 3.3 Table internal borders. By default TH is same as background so border is invisible */

.pun TD {BORDER-COLOR: #111111}
.pun TH {BORDER-COLOR: #111111}

/* 3.4 Creates the inset border for quote boxes, code boxes and form info boxes */

.pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {BORDER-COLOR: #000000; background-color: #888888;color: #282828}

/* 3.5 Gecko's default fieldset borders are really nasty so this gives them a colour
without interferring with IE's rather nice default */

.pun DIV>FIELDSET {BORDER-COLOR: #111111}

/****************************************************************/
/* 4. LINK COLOURS */
/****************************************************************/

/* 4.1 This is the default for all links */

.pun A:link, .pun A:visited {COLOR: #AE3903; text-decoration: none}
.pun A:hover {COLOR: #AE4903; text-decoration: none}

/* 4.2 This is the colour for links in header rows and the navigation bar */

.pun H2 A:link, .pun H2 A:visited {COLOR: #D4D4D4; text-decoration: none}
.pun H2 A:hover {COLOR: #D4D4D4; text-decoration: none}

/* 4.3 This is for closed topics and "hot" links */

LI.postreport A:link, LI.postreport A:visited, TR.iclosed TD.tcl A:link, TR.iclosed TD.tcl A:visited {COLOR: #888}
LI.postreport A:hover, TR.iclosed TD.tcl A:hover {COLOR: #AAA; text-decoration: line-through}
LI.maintenancelink A:link, LI.maintenancelink A:visited {COLOR: #FF4000; text-decoration: blink}
LI.maintenancelink A:hover {COLOR: #FF5010; text-decoration: blink}

/****************************************************************/
/* 5. POST STATUS INDICATORS */
/****************************************************************/

/* These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. The default is "icon". By default only .inew is different.*/

 
DIV.icon {background:url(../../img/3rxnet/icon.gif)}
DIV.inew {background:url(../../img/3rxnet/icon_new.gif)}
TR.isticky DIV.icon {background:url(../../img/3rxnet/sticky.gif)} 
TR.isticky DIV.inew {background:url(../../img/3rxnet/sticky_new.gif)}
TR.iclosed DIV.icon {background:url(../../img/3rxnet/closed.gif)}
 
TR.iredirect DIV.icon {background:url(../../img/3rxnet/redirect.gif)}

/* FACTICE BUTTON POST AND REPLY */
.pun p.postlink, #conr
{
/* align the text in button */
TEXT-ALIGN: CENTER;
 
/* aling the button on the border */
POSITION: RELATIVE; 
TOP : 0px;
LEFT: 6px;
 

 
/* color the button */
BACKGROUND-COLOR: #111111;
 
/* added an image background */
BACKGROUND-IMAGE: url(../../img/3rxnet/bg_button.gif);
 


/*header title*/
.pun H1 span
{
/* your font style */
display: none;
}



and about my logo, it's there but... it fits perfectly on my screen on firefox, yet on other peoples screens it's like, either too small or way too wide. :s

Info

The server was unable to save the uploaded file. Please contact the forum administrator at (myemail).

Go back

It's been going on forever and this is the only error I can get.

help please smile

Check it out on IE
www.projectp2p.net

then try it out on FireFox..
www.projectp2p.net


Notice how ugly and horrible it is on IE?

How do I go and fix this?

I use 1.2.17

I am trying to create a new group that is exactly like Moderator but with Forum permissions and an icon beside their name.

Is there a tut on this somewhere?

Thanks.

General Statistics
Stats are updated daily at midnight, last updated 1969-12-31.
Post Count: 0
Topic Count: 0
User Count: 0
Player Count: 0
Active users in past 24h: 0
Active players in past 24h: 0

Lmao, last updated 1969 D:

A little help here, on getting this to work?

Here is my full stats.php code..

<?php

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';

$page_title = pun_htmlspecialchars($pun_config['o_board_title'].' / Statistics');
require PUN_ROOT.'header.php';

$result = $db->query('SELECT * FROM '.$db->prefix.'stats ORDER BY `date` DESC LIMIT 1') or error('Unable to fetch stats', __FILE__, __LINE__, $db->error());
$stats = $db->fetch_assoc($result);

?>
<div class="block">
    <h2><span>General Statistics</span></h2>
    <div class="box">
        <div class="inbox" style="text-align:center">
            <em>Stats are updated daily at midnight, last updated <?php echo date($pun_config['o_date_format'], $stats['date']); ?>.</em><br />
            Post Count: <?php echo number_format($stats['posts']); ?><br />
            Topic Count: <?php echo number_format($stats['topics']); ?><br />
            User Count: <?php echo number_format($stats['users']); ?><br />
            Player Count: <?php echo number_format($stats['players']); ?><br />
            Active users in past 24h: <?php echo number_format($stats['active_users']); ?><br />
            Active players in past 24h: <?php echo number_format($stats['active_players']); ?><br />
            <img src="img/stats/posts.png" alt="" style="margin:10px" /><br />
            <img src="img/stats/topics.png" alt="" style="margin:10px" /><br />
            <img src="img/stats/users.png" alt="" style="margin:10px" /><br />
            <img src="img/stats/players.png" alt="" style="margin:10px" /><br />
            <img src="img/stats/active_users.png" alt="" style="margin:10px" /><br />
            <img src="img/stats/active_players.png" alt="" style="margin:10px" /><br />
        </div>
    </div>
</div>
<?php

require PUN_ROOT.'footer.php';
exit;



I'm guessing this is a sql database problem?

41

(3 replies, posted in General discussion)

I get this funky error when I go to my arcade.php

Show's this on the page...

    *  
    * » 

<? echo $line['name'] ?>

    * ""
    *
    *  
    *

<? echo $line['name'] ?>

    * ""
    *
    *  
    *

<? echo $line['name'] ?>

    * ""
    *
    *  
    *

<? echo $line['name'] ?>

    * ""
    *
    *  
    *

<? echo $line['name'] ?>

    * ""
    *
    *  
    *

    *  
    * » 

Then when I click on it...

It says this...

Info

Bad request. The link you followed is incorrect or outdated.

Go back

Yet in the top toolbar, it says this for the URL now..

http://localhost/arcade_play.php?g=%3C?%20echo%20$line[%27shortname%27]%20?%3Ep

The fudge does this mean?


I mean I run 1.2.17...

It should work yet it doesn't.

Thanks utchin ^_^

A mod can close/delete this now.

Or keep it open so someone else can browse and this will help them hopefully.

I need one for 1.2.17

Where the registered users will sign up and they enter in that lil captcha stuff. o_o

I'm getting too many.. Viagra and.. unwanted porn on my website being advertised.

It's very disturbing too when you got like 12 year olds coming to the site to play the game I host on the website.

NOT GOOD.

So please, someone hand me a link for one of those mods that work with 1.2.17

44

(10 replies, posted in General discussion)

Alright reines, good suggestion thanks mate.

45

(10 replies, posted in General discussion)

Maybe you guys are being confused, I mean't like, something to play on the bottom of the page while people browse or something in the background.

Can that be done in punbb?

46

(10 replies, posted in General discussion)

Where are the mods located at? ^_^ I got 1.2.17

Hey, I was just wondernig, Am I able to play music into my punbb website?

Is there a modification for that or something.

Ah nevermind, I fixed it wink

Ah okay, Thank you Reines!

Actually, here is a error I have found in the error logs.


[Thu Jun 19 05:49:35 2008] [error] [client 88.196.128.63] PHP Fatal error: Call to undefined function bcmul() in /var/www/vhosts/projectf2p.com/httpdocs/include/server_functions.php on line 52, referer: http://www.projectf2p.com/rscd.php?action=register