2,551

(19 replies, posted in PunBB 1.2 troubleshooting)

You did change it, but changing it again shouldn't do anything

Moved to Troubleshooting
I don't know what issues you were having, but the meta tag PunBB uses should have the same effect.

2,553

(17 replies, posted in PunBB 1.2 troubleshooting)

I modified the query, try it now

Moved to Integration
You could use an iframe. Alternately, you could create a new topic for every news story and display the posts underneath.

2,555

(17 replies, posted in PunBB 1.2 troubleshooting)

http://dev.mysql.com/doc/refman/4.1/en/subqueries.html

2,556

(19 replies, posted in PunBB 1.2 troubleshooting)

Since you haven't made any code changes, I would update your copy of PunBB to 1.2.15 by uploading fresh copies of files (including profile.php) and see if the problem still exists.

2,557

(17 replies, posted in PunBB 1.2 troubleshooting)

Are you sure? I think that would work in 4.1 as well

Yes, the path is something different from the domain
Lets say we have http://punbb.org/
If I set a cookie with path /, any script on the domain can access it
If I set a cookie with path /forums/, only scripts within the /forums/ directory can access it

To get a cookie to work with all subdomains (eg: punbb.org and www.punbb.org) you would set the domain to .punbb.org

2,559

(9 replies, posted in General discussion)

You wouldn't be able to see any data about the referring page necessarily, other than the URL
And as for disabling it, there isn't a simple way, since referrer is a client-side thing. You could try linking to pages using Javascript and see how different browsers handle that.

The path by default is set to /

what's syn?

2,562

(19 replies, posted in PunBB 1.2 troubleshooting)

Paste a copy of your profile.php?

2,563

(17 replies, posted in PunBB 1.2 troubleshooting)

Just run the following SQL query:

update prefix users set num_posts=(select count(id) from prefixposts where poster_id=prefixusers.id) where id > 1

where prefix is your database prefix

2,564

(14 replies, posted in PunBB 1.2 troubleshooting)

Unless you figure out how the person got in, I would assume it wasn't a PunBB issue: as alano said, it was probably done by a script looking for vulnerable files. Make sure your files aren't writable by the webserver's user.

You don't always have to add information, you only need to if you're using SMTP. If your server doesn't allow use of the mail function, you need to use SMTP wink

In admin_options.php
FIND AND DELETE

    // Custom referrer check (so we can output a custom error message)
    if (!preg_match('#^'.preg_quote(str_replace('www.', '', $pun_config['o_base_url']).'/admin_options.php', '#').'#i', str_replace('www.', '', (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''))))
        message('Bad HTTP_REFERER. If you have moved these forums from one location to another or switched domains, you need to update the Base URL manually in the database (look for o_base_url in the config table) and then clear the cache by deleting all .php files in the /cache directory.');

then change the base URL in admin_options.php, then put the code back where it should be

You can use a tool like phpMyAdmin to execute queries on the database directly
Alternately, I believe that you can edit the config cache file to correct the error and then make the correction in admin_options.php

Yes it is, that falls under the referrer not being set correctly tongue
Set the referrer directly in the database (config table, conf_name is o_base_url) and then remove the config cache file

PunBB doesn't use cronjobs smile
Did you enter SMTP details for your forum?

Moved to Modifications

2,571

(11 replies, posted in PunBB 1.2 troubleshooting)

I would try the phpBB2 converter and see if it works

Codefisher wrote:

Oh and since everything is in XHTML and looks like it is going to stay that way, does any one realize that element names should be in lower case in the CSS if useing it with XHTML?    http://www.w3.org/TR/xhtml1/#C_13  The reason for this is kind of given in http://www.w3.org/TR/xhtml1/#h-4.2

Yup, it looks like Paul took care of that in 1.3

2,573

(12 replies, posted in PunBB 1.2 troubleshooting)

Jackadory wrote:

Well I assumed the software providers would have a TOS as most forum software providers do.

Really? I don't recall ever seeing downloadable GPLed software with a TOS.

2,574

(9 replies, posted in PunBB 1.2 discussion)

Fine wink
http://dev.punbb.org/svn/punbb/

Hmm
try removing cache_config.php