6,126

(20 replies, posted in PunBB 1.2 troubleshooting)

If you have a space after it, the forum will load alright but you'll have a bunch of header errors at the top

6,127

(20 replies, posted in PunBB 1.2 troubleshooting)

It doesn't make a difference though wink

titansolaris wrote:

But when ur the admin and you wanna see how's your forum health, and what categories are most viewed, you could do some marketing optimization on the most viewed categories and make the ROI higher! smile

Assuming you just need it for what you're talking about, why not simply use something to parse Apache's log files? Being able to see the number of people viewing a topic is pretty useless if you can't do things like see how that changes over time or being able to be consistant with the times you check it at.

titansolaris wrote:

Not everyone runs 66mhz servers tongue

And not everyone wants a feature like this. PunBB is meant to be lightweight.

Number of people viewing a topic is a vanity feature. I don't think it adds to your forum at all and it impacts performance. In other words, probably not going to become a feature smile

6,129

(71 replies, posted in News)

You manually updated it, which didn't delete the config cache file tongue
Check out the cache folder, delete the cache_config.php file

6,130

(13 replies, posted in PunBB 1.2 troubleshooting)

I don't think that's a PunBB standard query :-/
What mods have you installed?

6,131

(20 replies, posted in PunBB 1.2 troubleshooting)

elbekko wrote:

Well, that's odd, because there shouldn't be any includes in that file...

Bekko: it's chmodded so it can't be read tongue

You can't really verify the email address themselves, unless you have set up your SMTP server insecurely

That's not true tongue
http://coveryourasp.com/ValidateEmail.asp (see #3, I don't have a PHP example on hand)
As long as the SMTP server is set up to only respond positively for valid email addresses (which is how it should be) then the email address will be valid

6,133

(20 replies, posted in PunBB 1.2 troubleshooting)

Is your prefix really _stef and not stef_ ?

Fremen wrote:

I read his post,  if you read mine, I asked if there was a way I can fix it " myself " big_smile

Failing that I think you can force the correct mime type with an .htaccess file using AddType text/css .css

Fremen wrote:

If it was my server, why would it work with IE, Opera, etc..but not with Firefox?

Because, as he said, Firefox is in standards compliance mode, which means it only accepts properly served stylesheets, which your server doesn't give (which it should).

Fremen wrote:

Anyway that I can fix it myself in an easy way?  thx for your help

Looks back at Paul's post tongue

Paul wrote:

You need to get your hosting company to configure their servers properly. Failing that I think you can force the correct mime type with an .htaccess file using AddType text/css .css

6,136

(71 replies, posted in News)

Connorhd wrote:

The language isn't really that important, the chances of 2 users registering with the same IP address within the space of an hour is extremely slim.

Registering legitimately wink
And it does matter if they don't speak English tongue

The cookie problem is old, it doesn't apply anymore wink
The issue is with the forbidden thing, which has to be dealt with by the host

6,138

(2 replies, posted in PunBB 1.2 troubleshooting)

Yeah, it's down today: something is wrong with the host wink

danoob wrote:

OK fair enough.

I don't know how many ISP's use transparent proxies throughout the world, but for any that do, this could cause a problem ( I know there's at least several million people in the UK who are proxied this way).

Cheers

That's true, but relying solely on it is the wrong thing to do smile
Like I said, if it becomes enough of an issue for someone, I'm sure a mod can be written to store both IPs

It was removed because it is simple for, say, a hacker to spoof his IP address using X_FORWARDED_FOR. Thus, it shouldn't be relied upon. You can, of course, write a mod to store both IPs

But get_remote_address() is detecting IPs just fine smile

And as for the exact change:
http://dev.punbb.org/changeset/286

elbekko wrote:
Smartys wrote:

http://www.punres.org/viewtopic.php?id=281

And Bekko: there's a plugin which does this, AP_Forum_Cleanup (it deletes based on IP)

Just providing a simple solution smile

Depends on if the person knows what an SQL query is or where to use one tongue

http://www.punres.org/viewtopic.php?id=281

And Bekko: there's a plugin which does this, AP_Forum_Cleanup (it deletes based on IP)

6,143

(9 replies, posted in PunBB 1.2 troubleshooting)

What you have to do is put an if statement around this:

// Check if current user is banned
check_bans();

So that it isn't checked if the user isn't in the forum

group_id 32000 means they're unconfirmed
And as for cleaning them:
http://punbb.org/forums/viewtopic.php?id=5936

6,145

(9 replies, posted in General discussion)

I haven't used WAMP before, but this holds for Apache/PHP/MySQL set up on a Windows comp regularly
1. Check out httpd.conf, DirectoryIndex. Mine is currently:
DirectoryIndex index.html index.php
2. I think that's a phpMyAdmin setting. As an alternative, look into password protecting things with .htaccess
3. See above
4. I'd do a test with something (a simple Deny from all file should do it) and see if it works. If it doesn't, you'll have to play around in httpd.conf to enable it

6,146

(9 replies, posted in General discussion)

Have your router forward port 80 to your computer

Audiofeeline wrote:
Smartys wrote:

Maybe for you, but it isn't necessary or even very desirable for a decent number of people.
If you need to do it, then just edit the templates.

It's INDISPENSABLE!

No.
No it isn't.

http://64.233.179.104/search?q=cache:h7 … k&cd=1
(I would do the real link, but the site seems down)

Title isn't a real meta tag
Description is auto-generated by the search engine (like here).
Keywords are mostly ignored.

So yes, while in some cases you might want to put description in, it is NOT a necessary feature. SEO features are not necessary. Helpful in some cases, maybe, but not everyone wants them.

Audiofeeline wrote:
Elzar wrote:

Adding meta tags editor in admin will be insdipensable!

Just edit the templates...

METAS are very importants (indispensables), it will be a great idea to include this and PunnBB will be PERFECT!
smile

Including RSS in the meta is important too, like on my forum...

Maybe for you, but it isn't necessary or even very desirable for a decent number of people.
If you need to do it, then just edit the templates.

6,149

(5 replies, posted in PunBB 1.2 troubleshooting)

http://dev.punbb.org/file/trunk/upload/ … /mysql.php
Each DB type (MySQL, MySQLi, PostgreSQL, and SQLite) has its own abstraction layer. Just edit the file for the one you're using (the function is DBLayer) to add the redirect in (oh, and to note, after doing Location: headers you should use exit or the script will continue executing without the user seeing the output).
So, as an example for MySQL, the new function would be

        function DBLayer($db_host, $db_username, $db_password, $db_name, $db_prefix, $p_connect)
        {
                $this->prefix = $db_prefix;

                if ($p_connect)
                        $this->link_id = @mysql_pconnect($db_host, $db_username, $db_password);
                else
                        $this->link_id = @mysql_connect($db_host, $db_username, $db_password);

                if ($this->link_id)
                {
                        if (@mysql_select_db($db_name, $this->link_id))
                                return $this->link_id;
                        else
                        {
                                header("Location: Forum_error.html");
                                exit;
                        }
                }
                else
                {
                        header("Location: Forum_error.html");
                        exit;
                }
        }

Sent