Just do as above, make sure that the call to parse_message() has a third argument (true)

well, $pun_user['is_guest'] can be used wink

Something like this:
http://punbb.org/forums/search.php?search_id=1635462458
?

Just adding to the array should work =/

Second thing: yes.
First thing: go to the line where you call parser.php and add ', true'

Normally you shouldn't remove any of the other versions =/ Ah well tongue

Yes, install_mod.php ins't configured to work with 1.2.10. Just add it in the array smile

Look for ".php" in your style files, and change/remove the font-size

1,884

(12 replies, posted in Feature requests)

That's done through moderate.php, no?

1,885

(12 replies, posted in Feature requests)

Include this at the top of each admin page:

if($_SERVER['REMOTE_ADDR'] == "<your ip here>")
message("Sorry, this forum can only be administrated from one computer");

1,886

(12 replies, posted in Feature requests)

Well, you can have multiple admins... and doing a DNS lookup on each pageload can slow it down quite a bit too =/

1,887

(1 replies, posted in PunBB 1.2 troubleshooting)

Check if every file was uploaded correctly (language files etc)

1,888

(12 replies, posted in Feature requests)

Feature requests I suppose tongue Although it fits better in here, as it won't be implemented.

1,889

(132 replies, posted in General discussion)

lol tongue

This pwns too:
http://www.borkweb.com/wp-content/upload/WTF_hax.jpg

1,890

(5 replies, posted in PunBB 1.2 troubleshooting)

Make sure it's set to 777. CuteFTP, for example, never changed it for me wink

1,891

(5 replies, posted in PunBB 1.2 troubleshooting)

I use Dreamweaver too... but I use the code view to modify code tongue

1,892

(5 replies, posted in PunBB 1.2 troubleshooting)

Why, oh why, are you adding <br /> after each line? Remove those and it should work.

1,893

(4 replies, posted in PunBB 1.2 discussion)

Well, strings should be between single quotes when entering into the DB, like this:

$db->query("INSERT INTO ebookbooks (`link`, `desc`, `uploaded_by`, `date_uploaded`) VALUES('".$f_name."','".$f_desc."','".$user['username']."','".date("Y-m-j")."')") or error('Unable to add ebook to database", __FILE__, __LINE__, $db->error());

The problem is most likely on your side, and not PunBB's fault. If Invision works fine for you, have fun with it.

1,895

(13 replies, posted in PunBB 1.2 discussion)

$upload_dir isn't the same as $uploaddir -.-
Oh, and I'd find it suprising that move_uploaded_file() returns true if it was unsuccesful

1,896

(13 replies, posted in PunBB 1.2 discussion)

Could be it.

1,897

(13 replies, posted in PunBB 1.2 discussion)

This should do the trick:

else if ($action == 'upload_ebook')
{
    
    $file_name = PUN_ROOT."ebooks/".$_FILES['file']['name'];
    $file_desc = $_POST['desc'];
    
    if(is_uploaded_file($_FILES['file']['tmp_name']) && !file_exists($file_name))
    {
        move_uploaded_file($_FILES['file_name']['tmp_name'], $file_name);
        redirect($_SERVER['PHP_SELF'], "File uploaded");
    }
}

You might want to ttake a look at this too: http://be2.php.net/manual/en/features.file-upload.php

1,898

(3 replies, posted in PunBB 1.2 troubleshooting)

Remove width="15" height="15"

1,899

(13 replies, posted in PunBB 1.2 discussion)

Can you post your HTML too?

1,900

(13 replies, posted in PunBB 1.2 discussion)

Minor error there... but else it should work:

<?php
if(is_uploaded_file($_FILES['file']['tmp_name']) && !file_exists(PUN_ROOT."uploads/".$_FILES['file']['name']))
{
    move_uploaded_file($_FILES['file']['tmp_name'], PUN_ROOT."uploads/".$_FILES['file']['name']);
    redirect($_SERVER['PHP_SELF'], "File uploaded");
}
?>

Make sure ['file'] resembles the name of the form element.