You're missing at least two closing }s that I see.
1,351 2008-01-18 01:47
Re: validating the wiki part on mini-portal (4 replies, posted in Programming)
1,352 2008-01-18 01:44
Re: problem with all my profiles (12 replies, posted in PunBB 1.2 troubleshooting)
Link to the template on the wiki so I can correct it?
1,353 2008-01-17 22:38
Re: Snort is snorting (2 replies, posted in PunBB 1.2 troubleshooting)
http://www.webservertalk.com/archive253 … 52217.html
Message
WEB-PHP viewtopic.php accessRule
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
1,354 2008-01-17 20:51
Re: Separate user and forum db's (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 2008-01-17 16:17
Re: Separate user and forum db's (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
1,356 2008-01-17 11:40
Re: Help: Stricter duplicate user name checking (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I believe it has to do with how Unicode characters are stored.
1,357 2008-01-17 11:28
Re: Separate user and forum db's (17 replies, posted in Programming)
Just select * should work
1,358 2008-01-17 03:46
Re: Separate user and forum db's (17 replies, posted in Programming)
Mmm, it looks like it would. Just replace $db->prefix.'users with the proper dblink syntax,
1,359 2008-01-17 03:01
Re: Using same image with two types of extensions (12 replies, posted in General discussion)
if(file_exists('img/'.$pun_user['style'].'/new.gif')) {
It's a string, so it needs 's around it
1,360 2008-01-17 02:42
Re: Using same image with two types of extensions (12 replies, posted in General discussion)
Could you paste your code?
1,361 2008-01-17 02:39
Re: Using same image with two types of extensions (12 replies, posted in General discussion)
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 2008-01-17 02:37
Re: $cookie_name = punbb_cookie_rk (1 replies, posted in PunBB 1.2 troubleshooting)
None of the PunBB code adds a suffix...
1,363 2008-01-17 02:22
Re: Using same image with two types of extensions (12 replies, posted in General discussion)
Before that, have a PHP line for if(file_exists(/path/to/file.png))
1,364 2008-01-17 02:13
Re: Using same image with two types of extensions (12 replies, posted in General discussion)
With PHP, yes, that's how PunBB does avatars. With HTML? No
1,365 2008-01-17 01:31
Re: The search function (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.
1,366 2008-01-17 00:26
Re: Separate user and forum db's (17 replies, posted in Programming)
for which I've found it's not possible
http://www.archonet.com/pgdocs/join-across-db.html
1,367 2008-01-17 00:25
Re: Putting one's own logo in the header next to the bold title. Howto? (2 replies, posted in PunBB 1.2 discussion)
From include/template/main.tpl
<div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
</div>
1,368 2008-01-16 21:44
Re: Separate user and forum db's (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 2008-01-16 21:26
Re: a few new problems (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
1,370 2008-01-16 17:47
Re: PunBB Licence Violation? (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.
1,371 2008-01-16 17:45
Re: Hiding the "register" and "login" elements in the header, howto? (3 replies, posted in PunBB 1.2 discussion)
From the navlinks on the top? include/functions.php
Registration can also be disabled via the admin panel.
1,372 2008-01-16 16:14
Re: How Do I remove the ability for "guests" to see the users list (3 replies, posted in PunBB 1.2 troubleshooting)
1,373 2008-01-16 15:07
Re: The search function (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
1,374 2008-01-16 14:58
Re: 1.3 suggestion - bbcode for font size (9 replies, posted in PunBB 1.2 discussion)
pedrotuga: The hook is already planned, we want to make it possible for people to replace BBCode with Textile or improve BBCode
1,375 2008-01-16 11:25
Re: Separate user and forum db's (17 replies, posted in Programming)
str_replace, replace $db->prefix.'users' with 'dbname.'.$db->prefix.'users