2,326

(15 replies, posted in PunBB 1.2 discussion)

They don't *have* to be released...

Copy viewforum.php and add this to the forum fetch query: WHERE id=<id_of_gaming_forum>

A standard ALT attribute ot one that you define like [img=altxtxt ]imglink[/img] ?

2,329

(6 replies, posted in PunBB 1.2 discussion)

You can always see HTML code smile Just make sure you leave a copyright notice somewhere I guess.

In index.php, find this line:

echo "\t\t\t\t".'<dd>'. $lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong></dd>'."\n\t\t\t".'</dl>'."\n";

REPLACE WITH

echo "\t\t\t\t".'<dd>'. $lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong> A total of '.($num_users + $num_guests).' users are visiting your forum.</dd>'."\n\t\t\t".'</dl>'."\n";

2,331

(0 replies, posted in PunBB 1.2 troubleshooting)

Hey guys,

I'm creating a clansite for a friend of mine, fully integrated into PunBB. I created a menu (with help of the Wiki), works fine, but I have a little problem:

Image that shows the problem
You can see a gap there between the Online list and the board info. I tried disabling the online list, but the gap stayed =/
Any idea on how to solve this?

-- Bekko

1.2 released. It had something to do with me not reloading the config cache =/ Ah well, fixed now.

2,333

(3 replies, posted in General discussion)

Can it program what I want in C++ if I put it on my head? big_smile

Looks sw33t smile

2,334

(1 replies, posted in Programming)

Click on the insert tab, or execute the query in the box meant for that wink

2,335

(7 replies, posted in General discussion)

Well, check if you have the same problem as him tongue

2,336

(15 replies, posted in Feature requests)

Adding the tag system to the current system, yes. Replacing, no.

See if it's already in? tongue

2,338

(8 replies, posted in Programming)

should be id si suppose tongue

you have to comment out the check around the mail sending part in register.php wink

2,340

(8 replies, posted in Programming)

lol, odd bug :S

Ah, I'll fix that in 1.2 smile

And I really don't get why the indexing switch isn't working...

I'll also get full language file support ^^ Just noticed that alot of things still aren't in it yikes

make a new page and send a test mail from there smile

EDIT:
Use this code to make a new page:

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

$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
?>

<div id="divid" class="blocktable">
    <h2><span><?php echo $pun_config['o_board_title'] ?></span></h2>
    <div class="box">
        <div class="inbox">
        
        </div>
    </div>
</div>

<?php
$footer_style = 'index';
require PUN_ROOT.'footer.php';
?>

2,343

(8 replies, posted in Programming)

Looks nice Connor. Seems to me that it's working...

Replace that line by this:

$from = '"'.str_replace('"', '', $lang_common['Administrator']).'" <'.$pun_config['o_webmaster_email'].'>';

2,345

(7 replies, posted in Programming)

mustbeDreaming wrote:
elbekko wrote:

Ah, like that. Yeah, I guess that would do it Connor smile But I don't quite see how you'd select the biggest count from the array :S

use asort: http://uk2.php.net/manual/en/function.asort.php and then get the get the key for the first/last array item

Oops, n00bie me tongue

Your clearer div wink

This is what I'd guess to be the problem:
In your style_cs.css file, find this line:

DIV.box,  #adminconsole FIELDSET TH, .rowodd, .roweven {BACKGROUND-COLOR: #383838; Background-image: url('./black_back2.png');}

Remove the Background-image: url('./black_back2.png'); and see what it gives smile

2,347

(7 replies, posted in Programming)

Ah, like that. Yeah, I guess that would do it Connor smile But I don't quite see how you'd select the biggest count from the array :S

I'd check for a background setting for your clearer wink

2,349

(7 replies, posted in Programming)

I don't really understand what you're trying to do...

Then add an if statement using $fid wink