7,576

(14 replies, posted in Feature requests)

OK, one sec and I'll see what you would have to modify.

Edit:

index.php

FIND:

$result = $db->query('SELECT id, username FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
$stats['last_user'] = $db->fetch_assoc($result);


REPLACE WITH:

$result = $db->query('SELECT id, username,status FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
$stats['last_user'] = $db->fetch_assoc($result);


FIND:
    while ($cur_user_online = $db->fetch_assoc($result))
    {
        if ($cur_user_online['user_id'] > 0)
            $users[] = '<a href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a>';
        else
            ++$num_guests;
    }


REPLACE WITH

    while ($cur_user_online = $db->fetch_assoc($result))
    {
        if ($cur_user_online['user_id'] > 0)
        {
            if ($stats['last_user'] > PUN_USER)
            $users[] = '<i><a href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a></i>';
            else
            $users[] = '<a href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a>';
        }
        else
            ++$num_guests;
    }

That will make any mods/admins who are online show up in italics (substitute other HTML for the <i> and </i>s if you wish)

Edit: Fixed, ty Rickard, and silly me tongue

7,577

(7 replies, posted in PunBB 1.2 discussion)

viewforum.php/viewtopic.php (same in both)

FIND

if ($admmod_only == '1' && $cur_user['status'] < PUN_MOD)
    message($lang_common['Bad request']);

AFTER, ADD

if ($admmod_only == '2' && $cur_user['status'] != PUN_ADMIN)
    message($lang_common['Bad request']);


post.php

FIND
            if (($admmod_only == '1' && $cur_user['status'] < PUN_MOD) || ($closed == '1' || $forum_closed == '1'))
                message($lang_common['No permission']);

AFTER, ADD

if ($admmod_only == '2' && $cur_user['status'] != PUN_ADMIN)
    message($lang_common['Bad request']);

Then, if you manually set the value to 2, it should work (I think mods might be able to see it via searches)

Convince a coder to make it as a mod? tongue

7,579

(1,382 replies, posted in General discussion)

http://llanfairpwllgwyngyllgogerychwyrn … ogoch.com/

Edit: Whoops, forgot a word

Pneumonoultramicroscopicsilicovolcanokoniosis (I always loved that word smile)

According to my Google search, it's 300 total or 20 per server or domain (that's supposed to be the minimum)

http://wp.netscape.com/newsref/std/cookie_spec.html

7,581

(4 replies, posted in PunBB 1.2 discussion)

/me made a more useless mod big_smile

A toggle button for moderate.php tongue

Still can't replicate it wink

Do you get it while posting a new thread, or making a new post?

ooh, another bug: for some reason when I set the group rights, if I check the highest IDed group, the name of it becomes my title tongue

Ok, installed
I tried to re-create it and couldn't
Someone tell me a couple things:
the poster's status
the group (if any) the forum is in
the group (if any) the user is part of
any other info you think might be important

btw: another bug is that if someone's nick is changed, their group status isn't updated.

7,584

(277 replies, posted in PunBB 1.2 discussion)

Aww
/me sits and waits some more tongue

7,585

(277 replies, posted in PunBB 1.2 discussion)

Odd, I don't get that

btw: So if we want to start working on CSS files, can we start now? tongue

Nope, that is indeed the SQL wink

I'll install it in my forums tonight or tomorrow

I really dunno tongue
Try adding $cur_forum to the global? Since that's where it should pull the id from.

Just a random guess here (I really should install it in my forum)

OK, think I figured it out.
Check your forum database and see if the forum you're posting in has a group set? If not, set it to 0 and try

7,589

(36 replies, posted in General discussion)

A forum! tongue

And I tried installing it on 1.1.5 and found the code (and readme)hopelessly outdated tongue
But enable debugging and paste it so we can see what the full error is

Hmm
Enable debugging on your forum and paste what it says?

7,592

(10 replies, posted in PunBB 1.2 discussion)

Now what are you talking about? smile

http://punbb.org/forums/help.php#BBCode wink

7,593

(9 replies, posted in PunBB 1.2 discussion)

The website you are viewing is unable to display PHP pages.

Netfirms STARTER hosting does not support PHP. If you are the owner of the site, and would like to use PHP, we encourage you to upgrade to one of our PREMIUM hosting plans (starting at only $5/month). You can upgrade by logging into your Member Tools located at http://www.netfirms.com/members

Must be a conflict then between them

7,595

(27 replies, posted in PunBB 1.2 troubleshooting)

Problem is Norton is jumpy about those types of things. tongue

7,596

(27 replies, posted in PunBB 1.2 troubleshooting)

lol
That's not nice tongue
Download the free ZoneAlarm?

Edit: I assume that if it's telling you that, it's also blocking it tongue
But I doubt it's really that bad, probably just Norton over-reacting

7,597

(27 replies, posted in PunBB 1.2 troubleshooting)

jly wrote:

Edward, you can get the information from applications like Norton Internet Security.

Actually, ARIN and the other whois databases are useful for this tongue

And what do you mean, connecting to your machine? You talking about your forums or no?

7,598

(15 replies, posted in PunBB 1.2 troubleshooting)

You'll see how difficult this is tongue

7,599

(180 replies, posted in PunBB 1.2 troubleshooting)

mutatron wrote:

Your product looks really good, but unfortunately, I don't have any more time to waste trying to figure out why I keep getting the Bad Referer error. You guys need to have a customer oriented attitude and not be telling people to leave their firewalls open so they can administer their PunBB forum. Come on, nobody else does that.

I'll keep checking back to see if you fix this thing, because I think it could potentially be better than phpBB. But for now, I'm dumping punBB.

You don't need to disable the firewall if you can find a way to stop the stripping of the referrer wink

Plus, I believe Rickard posted steps in here to remove the checks: in fact, I see it right on this page

Then have you tried it on another comp? Your comp could be screwing up for some reason...