will probably do that during the summer rewrite of the mod (alot will be changed, but will make a converter so the current format can be reused, so no files will be lost or anything smile)

no, that makes the same for me ... %20 instead of space ... when saving the file to disk ... (if you tested on an image, click the image so you get a save dialog)

I'm using PHP: 4.1.2 & Apache/1.3.26 ... and Firefox 0.8

I tried it aswell ... but got %20 in the filename instead of space ... hmm... I might have used with str_replace (' ', '%20', $attach_filename); ... and ' skips parsing of string, while " parse the string ... could be that perhaps?

gotta make a new try ...

the lines might also be off, and there might be bugs, due to changes ... just a few things to remember when installing a mod that isn't yet rewritten (although I will rewrite the attachment mod as soon as univ calmes down, in a month or so)

yes, when univ calmes down, don't have free time atm.

so in a month or so I hope to have alot more free time ... and then I'll do a proper rewrite.

well ... probably, as I use it on a 1.1.2 , some lines might be off due to changes between the versions. also, you need to add 1.1.4 in the array on the install_mod.php file ... and, you should do the fix for the bug that was found, information in the first post.

I will rewrite the mod during the summer, some parts really needs it ... but now, I haven't the time to do so, for at least a month more. Univ takes up too much time.


But try it on a standalone version ... to see if it works ... not on the forum you use ... if it wouldn't work ...

hmm... you might be correct there I just noticed that it worked on a "vBulletin Version 3.0.1" board ... and it had %20 ... and worked

so, I'll do that aswell, as soon as I have the time (I'm planning to do a major rewrite of the mod at the beginning of summer, as there are some parts that desperately needs it wink)

or ... I tested now ... and when I tried to save a file I got %20 in the filename instead of space ... lol ... hmm ... so a string replacement wasn't the way to go...perhaps? wink

1,083

(38 replies, posted in PunBB 1.2 discussion)

sounds good

and on B I answer C: google big_smile

1,084

(12 replies, posted in PunBB 1.2 discussion)

Welcome smile

at the bottom of the page ....

Powered by PunBB
Version: 1.1.3
© Copyright 2002-2004 Rickard Andersson

I have experienced it with other forums and things aswell (I'm using firefox) ... it might be an issue on the mod, but might aswell be an issue on firefox/mozilla, I don't know ... and I suggest noone should use space, but _ instead wink

I had plans to take a look on the whole mod in the near future, but, things didn't work out timewise, so I barely can do anything atm ... had plans for a big rewrite, and clean up stuff and redo some parts, but I haven't the time ... but ... hopefully I'll get some during the summer ... smile

(Edit 19/4: Going away for a week, so I'm unable to answer any questions until 26/4)
(Edit 25/4: I'm now back home ... so now I should be able to answer stuff wink)

1,087

(2 replies, posted in PunBB 1.2 troubleshooting)

there was a mod for 1.0 ... but it doesn't seem to be updated to the current version.

anyhow ... here's a link to the 1.0 version, perhaps it's possible to still use it with some smaller tweaks

document encoding /charset ?

1,089

(12 replies, posted in Archive)

du har glömt ett " på slutet av echo

echo "If this works, we <i>really</i> did It!";

1,090

(3 replies, posted in Feature requests)

IMHO ... it's good to know what moderator/admin that has acted on a report ... if questions would arise ...

I haven't figured out a reason why one would like to delete them, instead of marking that it was seen, and acted upon (not neccessary done something, but at least seen it and taken a decision)

Sounds very nice smile

I do have plans on updating the mod to support files to be saved on disk and thus only use the database for reference and file info. But I'm too occupied atm to think on it wink

Well, I guess it shouldn't be that hard ... what one needs to do is to create a new $db ... that's named something else ... like $db_files ... and create it like the ordinary $db is made ... but with the variables for the other passwords etc.
Afterwards one would need to fiddle in all the attachment mod code, and replace the things done in the 'attach_data' tables, to use that other $db_files ....

hmm ... but the more I think of it ... the more changes is needed ... so I think it might not be that easy after all ... hmm ... I'll think on it ... and see if I can come up with a fairly easy solution ...

1,092

(1 replies, posted in PunBB 1.2 troubleshooting)

one first has to set the user status to moderator

afterwards one need to go to the profile of that user and assign the forums that user should moderate.

I would guess it's something similar to the bug I got in the Attachment mod, where I needed to refine the if statement for guest checking form what I had used in earlier versions ...

Link to the bugfix on the attachment mod ... perhaps someone with good knowledge on the EFAM can look if it is the same type of bug ... and do a bugfix

GernotFrisch wrote:

max_allowed_packet = 1048576 bytes
PHP post_max_size = 8M

Can the uploads be 8 MB or 1024 KB now??

...one must really think I'm an idiot, huh?
Can the mod be installed, so only users that have a "allow upload" tag can attach files?

-Gernot

less than 10048576bytes I think (remember that there are other stuff sent aswell, so, set 1000000 bytes as a limit or so (and do a test with a file that large) ... I think the packet size will be the thing that limits the upload ... unfortunately it wasn't that large, but on the other hand... database size won't probably run away in size that fast either wink

The rights are controlled in the groups of:
Guests
Registered users
Moderators
Admins (always allowed to attach any files, only limit is the 'hardcoded' max size you just found out)


just make sure you do the bugfix I have posted (link in the previous post by me) ... othervise the guests are recognized as registered users... so it's important!

I haven't released a proper 'release' on 1.1.2 as it's only a matter of a few lines that has been altered up or down (but I will rewrite some pars and do a version update ... perhaps during next week, as I'm too choked with work atm)

so edit install_mod.php and set 1.1.2 as version number, and when you update the forum (DO A BACKUP BEFORE!), be aware that the line numbers might be a little off... and do this little bugfix

I'll try to find time to do a proper update ... but ... things are just crazy atm here ...

the include/common.php is the PunBB file ... so make sure that you put the test.php file in the same directory where you have all forum files ...

or alter
$pun_root = './';

to the correct path to the forum root ...

1,097

(17 replies, posted in PunBB 1.2 troubleshooting)

IMHO, that can be hazardous, if one use services like dyndns.org or similar people provide, where you can register
http://willie.dynds.org/ and have your forum there, and some other person has registered http://apu.dyndns.org/  ... then ... it would be possible to trick it if it only has the 'dyndns.org' as base url ...

but if it's only to strip out www or http:// ... then there probably aren't any troubles with it ...

1,098

(39 replies, posted in General discussion)

MarcB wrote:

Haven't found the mouse gestures thingy, it was disabled by default, with no chance to activate it, when I installed the little critter.

I have installed 'all in one gestures 0.9.7' ... that worked for me ...  (IIRC there were 3 or so possible mouse gesture packs)

hmm... about the speed, the pages do load faster, but the program itself loads slower (as it's not built in like ie roll )... but as you said, it could be connection

put this code into an empty file and call it test.php
upload it, and run it ... it should say the values you have ... hopefully ... afterwards ... delete it ...

<?php
$pun_root = './';
require $pun_root.'include/common.php';

$result = $db->query('SHOW VARIABLES LIKE \'max_allowed_packet\'') or error('Unable to fetch variables',__FILE__,__LINE__, $db->error());
while (list($label, $max_size)=$db->fetch_row($result)){
    echo $label . ' = ' .$max_size . ' bytes<br>';
}

echo 'PHP post_max_size = ' . get_cfg_var('post_max_size') . '<br>';
?>

you might need to alter pun_root ... but I'm not sure ...

you most certainly cannot alter these values, but that must be made by the owners of the server, at least the mysql max size ...

1,100

(4 replies, posted in PunBB 1.2 troubleshooting)

You can mark a forum to be readable only by moderators and admins, there's a little checkbox for this in the admin forums interface.

If that doesn't do it, you can look on the EFAM Mod.