6,776

(8 replies, posted in Feature requests)

PunBB has 48937 posts, 4775 users, etc.
I searched specifically for the forum and got back 165k pages
Google seems to have indexed close to everything that it can, including multiple pages for forums and topics.

I don't think PunBB needs "help" with the search engines, but if you do, feel free to write a mod for it smile

6,777

(1 replies, posted in PunBB 1.2 discussion)

http://punres.org/desc.php?pid=84

6,778

(8 replies, posted in Feature requests)

Except it isn't essential wink
It could be done as a mod, but this most certainly isn't essential, search engines or no (just check out PunBB on Google, it has more pages indexed then phpBB does tongue)

Google wrote:

Results 1 - 10 of about 210,000 from punbb.org for . (0.29 seconds)
Results 1 - 10 of about 62,400 from phpbb.com for . (0.24 seconds)

6,779

(14 replies, posted in Feature requests)

I'm going to write this up for 1.2.7 smile
I'm not even sure how this code would have worked in 1.1.5, it fetched from the wrong query (I think) :-/

index.php

FIND:
$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());

REPLACE WITH:
$result = $db->query('SELECT o.user_id, o.ident, u.group_id AS status FROM '.$db->prefix.'online AS o INNER 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());

FIND:
    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;
    }


REPLACE WITH
    while ($pun_user_online = $db->fetch_assoc($result))
    {
        if ($pun_user_online['user_id'] > 1)
        {
            if ($pun_user_online['status'] > PUN_MOD)
                $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
                $users[] = "\n\t\t\t\t".'<dd><i><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a></i>';
        }        
        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: This is untested, tell me if it works or not smile

6,780

(0 replies, posted in Feature requests)

Why not auto-set the timezone in install.php?
The code would look something like this (I'm changing it in the config array in install.php):

'o_server_timezone'            => "'".(date('Z') / 3600)."'",

Unless I'm missing something on how it works, it should return the correct timezone for the server

6,781

(2 replies, posted in PunBB 1.2 discussion)

PunBB uses SHA1, if it's supported, otherwise MD5

Except you have to make that edit in every style you have smile

6,783

(19 replies, posted in General discussion)

Perhaps a mod of the Broadcast Email plugin?

Suggestions? Don't post a phpBB board on the PunBB forums? tongue

I dunno if this is related exactly, but at the same time it happened I went to Trac and got this

Trac detected an internal error:
database is full

6,786

(2 replies, posted in Feature requests)

Well, if the people you want to send it to are forum users, they can subscribe and they'll get an email every time a new message is posted in the thread

There's also this mod
http://punbb.org/forums/viewtopic.php?id=7646

6,787

(8 replies, posted in PunBB 1.2 discussion)

Well, that's a bit difficult to do tongue
I would insert the same data in both databases on registration. And when you log in, log them into both. And in profile.php, all profile updates would have to be rewritten to update both tongue
The alternative is to rewrite all calls to '.$db->prefix.'users to a hardcoded prefix in one of the boards

6,788

(17 replies, posted in PunBB 1.2 discussion)

CodeXP: No it doesn't wink
I'll email you about it wink

The css for errors is always Sulfur
And I'm not getting it now

6,790

(17 replies, posted in PunBB 1.2 discussion)

A proof of concept would be nice, although if you can do it I would send it to security @ this domain (if it starts working again tongue) or find Rickard on IRC

6,791

(17 replies, posted in PunBB 1.2 discussion)

Not this vulnerability wink
You shouldn't be able to retrieve a cookie from forums.punbb.org when you're loading the Javascript or w/e from evilsite.com via the img tag tongue

6,792

(17 replies, posted in PunBB 1.2 discussion)

Yay for teh 1337 h4x0rs tongue

6,793

(17 replies, posted in PunBB 1.2 discussion)

It's not the issue you think it is wink
http://lists.grok.org.uk/pipermail/full … 36348.html
I found that listed under references.

I edited out the rest, since it was an unreadable jumble tongue
Basically, because PunBB requires the ID parameter before you logout, each image could only logout one person. Plus, it uses referrer checks (speaking of which, a referrer check on login.php?action=out that determines if you get a second confirmation page to check if it really is you might not be a bad idea) which means that the admin/mod tools shouldn't be vulnerable.
If you're really paranoid, you can turn off images in your preferences or for your board in Admin Permissions, but I can't really see this as any more of a problem then someone being able to make text the same color as the background to hide it from people just glancing over smile

6,794

(18 replies, posted in General discussion)

I downloaded Opera just because of this tongue
I mean, I might never use it, but it can't hurt to have a registered copy if I need one big_smile

6,795

(6 replies, posted in News)

Yup, seems to be working again now smile

6,796

(6 replies, posted in News)

2 things
1. I can't seem to get mail to you now (at least to <your name>@punbb.org). I got this error with Gmail:
This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

     <your name>@punbb.org

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 10): 550 RCPT TO:<<your name>@punbb.org> Relaying not allowed

2. Trac seems to have died
http://dev.punbb.org/

Oops...

Trac detected an internal error:

'module' object has no attribute 'cgi_start'

Traceback (most recent call last):
File "/usr/home/punbb/cgi-bin/trac", line 25, in ?
   trac.core.cgi_start()
AttributeError: 'module' object has no attribute 'cgi_start'

6,797

(3 replies, posted in Feature requests)

http://punbb.org/forums/viewtopic.php?id=8082
And I think Rickard was considering it for 1.3

6,798

(2 replies, posted in Feature requests)

common_admin.php?

Calico: *looks up at the post before yours*

I would have done it earlier, but Gary said he would tongue