not for 1.2 (at least not by me) maybe in 1.3 if it can be done with an extension.

You must use the full address when including extern.php including http://

Oh, i misunderstood what you meant, i thought you wanted to make multiple groups moderators, afaik that will not be possible.

why is it not an option?

305

(2 replies, posted in PunBB 1.2 discussion)

Theres lots of discussion about WP integration, although i have no idea how far any of it goes, check the integration forum.

As for migration between forums, the PunBB migrator will convert from most forum types to PunBB however there is no reverse tool provided on this site, there might be on the forum you want to convert to though.

306

(1 replies, posted in PunBB 1.2 troubleshooting)

Look in the extras folder

307

(3 replies, posted in PunBB 1.2 troubleshooting)

open index.php
find

if ($pun_config['o_users_online'] == '1')
{
        // Fetch users online info and generate strings for output
        $num_guests = 0;
        $users = array();
        $result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());

        while ($pun_user_online = $db->fetch_assoc($result))
        {
                if ($pun_user_online['user_id'] > 1)
                        $users[] = "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
                else
                        ++$num_guests;
        }

        $num_users = count($users);
        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";


        if ($num_users > 0)
                echo "\t\t\t".'<dl id="onlinelist" class= "clearb">'."\n\t\t\t\t".'<dt><strong>'.$lang_index['Online'].': </strong></dt>'."\t\t\t\t".implode(',</dd> ', $users).'</dd>'."\n\t\t\t".'</dl>'."\n";
        else
                echo "\t\t\t".'<div class="clearer"></div>'."\n";

}

replace with

if ($pun_config['o_users_online'] == '1')
{
    // Fetch users online info and generate strings for output
    $num_guests = 0;
    $users = array();
    $result = $db->query('SELECT o.user_id, o.ident, u.group_id FROM '.$db->prefix.'online as o LEFT JOIN '.$db->prefix.'users as u ON u.id=o.user_id WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());

    while ($pun_user_online = $db->fetch_assoc($result))
    {
        if ($pun_user_online['user_id'] > 1)
            $users[] = "\n\t\t\t\t".'<dd class="g_'.$pun_user_online['group_id'].'"><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
        else
            ++$num_guests;
    }

    $num_users = count($users);
    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";


    if ($num_users > 0)
        echo "\t\t\t".'<dl id="onlinelist" class= "clearb">'."\n\t\t\t\t".'<dt><strong>'.$lang_index['Online'].': </strong></dt>'."\t\t\t\t".implode(',</dd> ', $users).'</dd>'."\n\t\t\t".'</dl>'."\n";
    else
        echo "\t\t\t".'<div class="clearer"></div>'."\n";

}

then use

.g_groupid A:link, .g_groupid A:visited {COLOR: #DB0000}
.g_groupid A:hover {COLOR: #DB3300}

so .g_1 would be admins etc

That is just for the online list, not the username in posts etc.

There are lots of discussions on this, and the anwser is in PunBB 1.3:
Users will NOT be able to join multiple groups
Multiple user groups will be able to be moderators or not

If you want to find out why then find the other threads about it.

On your forum it does, but on this forum i can make the font size huge before it becomes a problem. Maybe you should change your style?

It was for PunBB 1.1.x so it would be of no use anymore.

not without modifying the code you can put another box around the whole lot though

.pagelink a, .pagelink strong {
    padding: 2px;
    background-color: #F1F1F1;
    border: 1px solid #D1D1D1; 
}
.pagelink {
    background-color: #F1F1F1;
    border: 1px solid #D1D1D1;
    padding: 5px !important;
}

Thats not great but it could be tidied up

Thats a great idea,

.pagelink a, .pagelink strong {
    padding: 2px;
    background-color: #F1F1F1;
    border: 1px solid #D1D1D1; 
}

does the trick smile
(maybe this should be part of the default theme, people do complain about how hard it is to click the links)

why though, its not like it matters and if someone read the topic but didn't post it makes it less confusing.

314

(2 replies, posted in PunBB 1.2 troubleshooting)

punbb uses SHA-1 where it can which is 40 characters, so no

I've fixed it.

316

(6 replies, posted in Programming)

I don't think so, php is a server side language it can't do anything on the users computer, why not ask your friend how if they know?

There are quite a few topics on this, i'm not sure if anyone has written successful instructions on how to do it though.

318

(8 replies, posted in News)

Redownload it and see if that helps?

319

(4 replies, posted in PunBB 1.2 troubleshooting)

Someone has your password? tongue

the post counts bit is included in the forum cleanup plugin

321

(7 replies, posted in Feature requests)

../ is up a folder you can do ../../ to go up 2 folders etc

322

(7 replies, posted in Feature requests)

PUN_ROOT is just used to include php files within punbb, its not used for links shown in the html, you can't make PUN_ROOT a http address it has to be a path from the file you are into, to the punbb installation on the server file system.

323

(4 replies, posted in Programming)

Surely you would be better playing with the 404 error settings rather than mod_rewrite?

324

(7 replies, posted in Feature requests)

There already is a forum rules page that you can edit and enable in admin wink

theres a new page template here http://punres.org/doku.php?id=tutorials … e_template

325

(7 replies, posted in PunBB 1.2 troubleshooting)

Huh? You want a specific style to load its own main.tpl? or have i misunderstood you?