1,351

(4 replies, posted in Programming)

You're missing at least two closing }s that I see.

1,352

(12 replies, posted in PunBB 1.2 troubleshooting)

Link to the template on the wiki so I can correct it?

1,353

(2 replies, posted in PunBB 1.2 troubleshooting)

http://www.webservertalk.com/archive253 … 52217.html

Message
WEB-PHP viewtopic.php access

Rule
alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP viewtopic.php access"; flow:to_server,established;
uricontent:"viewtopic.php"; reference:bugtraq,7979; reference:cve,2003-0486; reference:nessus,11767;
classtype:web-application-attack; sid:2229; rev:4;)

Summary
This event is generated when an attempt is made to exploit a known
vulnerability in the php application phpBB.

Impact
Information disclosure possibly leading to serious system compromise.

So, a bot is trying to hack your PunBB forum using a very old phpBB exploit wink

1,354

(17 replies, posted in Programming)

Well, that query would look something like
delete from dblink('dbname=userdb', 'SELECT * FROM ".$this->prefix."users')

Which may or may not work fine, depending upon what dblink is actually doing.

1,355

(17 replies, posted in Programming)

If dblink works right for DELETE, etc queries, then the example I just discussed should work fine. If not, then it doesn't wink

I believe it has to do with how Unicode characters are stored.

1,357

(17 replies, posted in Programming)

Just select * should work

1,358

(17 replies, posted in Programming)

Mmm, it looks like it would. Just replace $db->prefix.'users with the proper dblink syntax,

if(file_exists('img/'.$pun_user['style'].'/new.gif')) {

It's a string, so it needs 's around it

Could you paste your code?

That's because your code isn't valid PHP. The first line is PHP. The second line is HTML. If you want that to remain, you need to surround the HTML with {}s and close/reopen the PHP tags properly so that it's treated as HTML. If you want to treat it all as PHP, you would echo out the HTML instead.

1,362

(1 replies, posted in PunBB 1.2 troubleshooting)

None of the PunBB code adds a suffix...

Before that, have a PHP line for if(file_exists(/path/to/file.png))

With PHP, yes, that's how PunBB does avatars. With HTML? No

1,365

(40 replies, posted in Programming)

It should further be noted that upon investigation, I discovered that the problem was most likely due to 1.3's UTF-8 support not being entirely finished. Something that it would be for the beta. wink

1,366

(17 replies, posted in Programming)

for which I've found it's not possible wink
http://www.archonet.com/pgdocs/join-across-db.html

From include/template/main.tpl

        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>

1,368

(17 replies, posted in Programming)

What database system are you using? I know MySQL uses the dbname.tablename format, it could be different for other systems

1,369

(7 replies, posted in PunBB 1.2 troubleshooting)

http://thedaeva.org/members/style/Daeva.css

/* Import the colour scheme */
@import url(imports/Mercury_cs.css);

That needs to be changed, obviously wink

1,370

(2 replies, posted in General discussion)

As Dr.Jeckyl said, changing the copyright on the output is legal (and it doesn't exist in 1.3). Changing the Powered by line is legal but frowned upon. Changing the copyright in the code and redistributing it is illegal.

From the navlinks on the top? include/functions.php
Registration can also be disabled via the admin panel.

http://punbb.org/forums/viewtopic.php?id=16525

1,373

(40 replies, posted in Programming)

It should be noted, of course, that part of the purpose of a beta would be to discover issues like this wink

pedrotuga: The hook is already planned, we want to make it possible for people to replace BBCode with Textile or improve BBCode

1,375

(17 replies, posted in Programming)

str_replace, replace $db->prefix.'users' with 'dbname.'.$db->prefix.'users