1,051

(15 replies, posted in PunBB 1.2 troubleshooting)

andyh2 wrote:

If i see one more bug in this forum system im gonna explode >:-(
I've heard vB has faster and support.........
:-|

Sure, go pay for a vB license smile We don't care tongue

There's nothing wrong with that piece of code as far as I can see. I can't do anything else.

1,052

(12 replies, posted in Feature requests)

No, the extension developer should do that.

It will most likely support it yes.

1,054

(7 replies, posted in PunBB 1.2 troubleshooting)

Only when viewing your own profile.

1,055

(15 replies, posted in PunBB 1.2 troubleshooting)

>=/ Don't even bother trying Tubby's code. It'll give even more errors.

I see another error tho...

1,056

(6 replies, posted in PunBB 1.2 discussion)

Maybe you can copy the announcement plugin and remove the part where it sends an email?

1,057

(6 replies, posted in PunBB 1.2 discussion)

I only know of the Announcement plugin...

1,058

(4 replies, posted in PunBB 1.2 troubleshooting)

Firstly, you upload the contents of the upload folder through FTP to the directory you wish your forum to be in.
Then you go to install.php through your web browser. Enter the details of your database account on that page (and configure the admin user).
Be sure to have created a database for the forum if you already haven't.

After that, everything is pretty much explained smile

1,059

(12 replies, posted in Feature requests)

Hrmm, I'm sure there is a mod that fixes it, but I can't seem to find it atm. Search a bit I'd say!

1,060

(12 replies, posted in Feature requests)

The ?> tag at the end of the config file isn't needed, so no bug. And the admin panel will be using language files in 1.3.

1,061

(8 replies, posted in PunBB 1.2 troubleshooting)

No, I mean where it fetches the posts. It's a large query. The second argument of the function should be set to 0.

1,062

(8 replies, posted in PunBB 1.2 troubleshooting)

viewtopic.php wink

1,063

(8 replies, posted in PunBB 1.2 troubleshooting)

For it only showing one post:
You missed a modification to the main topic fetch query. Where it says 'true', change it to 'false'.

For the screen going white: no idea =/

1,064

(8 replies, posted in PunBB 1.2 troubleshooting)

Which mods have you installed?

MD5 can be brute-forced.

1,066

(9 replies, posted in Programming)

It's odd how you guys always post right after I solved it... tongue
I just changed
[^/]
to
[^/|.]

Or just use

    $forum_id = intval($_GET["forum"]);

Title says it all really. When you have a space in your URL, and your browser converts this to %20, the referrer check will fail.
I have no idea if there's a solution to this, but I just thought I'd report it smile

1,069

(9 replies, posted in Programming)

Cool smile It's much cleaner than the solution I had found by now (adding a RewriteRule for the base_forum tongue).

But now I have another problem... I can't access any normal files or folders in that specific directory anymore tongue The directories don't matter, but the files do...

Thanks smile

1,070

(9 replies, posted in Programming)

After seriously logging stuff, I noticed that the [L] modifier doesn't stop rule parsing >=/

1,071

(9 replies, posted in Programming)

Those are the only rewrite rules there yes (it's all that's in the .htaccess file too), and it's in the 'root' directory yes.

1,072

(7 replies, posted in PunBB 1.2 troubleshooting)

Vanslyde wrote:

I know it's paradoxical and I doubt it can be done but I got to ask; how about having a small image instead of a warning text? Do you think its possible?

Just replace the text with an <img> tag.

1,073

(9 replies, posted in Programming)

I've been outputting some stuff smile

$_GET['forum_name'] = base_forum 
$_SERVER['REQUEST_URI'] = /Digitware%20hosting/support/index.php

And the output of apache_lookup_uri($_SERVER['REQUEST_URI']):
stdClass Object
(
    [status] => 200
    [the_request] => GET /Digitware%20hosting/support/index.php HTTP/1.1
    [method] => GET
    [mtime] => 0
    [clength] => 0
    [chunked] => 0
    [no_cache] => 0
    [no_local_copy] => 1
    [unparsed_uri] => /Digitware%20hosting/support/index.php
    [uri] => /Digitware hosting/support/index.php
    [filename] => D:/webserver/www/Digitware hosting/support
    [path_info] => /index.php
    [allowed] => 0
    [sent_bodyct] => 0
    [bytes_sent] => 0
    [request_time] => 1166804461
)

That's how I figured out it was matching the wrong thing (that isn't even in the URL!).

1,074

(9 replies, posted in Programming)

Hey all,

I have this in my .htaccess:

RewriteEngine On
RewriteRule ^([^/]+)/([^/]*)\?([^/]*)$ base_forum/$2?$3&forum_name=$1 [L,NC]
RewriteRule ^([^/]+)/([^/]*)$ base_forum/$2?forum_name=$1 [L,NC]
RewriteRule ^([^/]+)$ base_forum/?forum_name=$1 [L,NC]

As you might guess, it should rewrite links of the form

http://www.server.com/forumname/index.php

to

http://www.server.com/base_forum/index.php?forum_name=forumname

Unfortunately, it doesn't sad Instead of giving me the forum name, it gives me 'base_forum' =/

Any idea why might be causing it?

1,075

(0 replies, posted in PunBB 1.2 discussion)

Would anyone happen to know which files I'd need to edit to rename the cache files?
I quite need this smile

EDIT: nevermind this, got it answered in chat smile
<Smartys> include/cache.php, include/common.php, include/functions.php, footer.php