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 )
1,076 2004-05-07 15:21
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,077 2004-05-07 15:03
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
1,078 2004-05-07 12:48
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 ...
1,079 2004-05-05 12:55
Re: wait attach mod for PunBB v1.1.4 (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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)
1,080 2004-05-05 08:34
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.
1,081 2004-05-01 08:34
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 ...
1,082 2004-04-29 07:51
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 )
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?
1,083 2004-04-27 15:57
Re: Wiki documentation (38 replies, posted in PunBB 1.2 discussion)
sounds good
and on B I answer C: google
1,085 2004-04-17 17:44
Re: Who is the developer of this system? (2 replies, posted in PunBB 1.2 discussion)
at the bottom of the page ....
Powered by PunBB
Version: 1.1.3
© Copyright 2002-2004 Rickard Andersson
1,086 2004-04-16 10:28
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
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 ...
(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 )
1,087 2004-04-13 10:08
Re: IP hiding (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.
1,088 2004-04-08 21:18
Re: Problem with Swedish characters! (7 replies, posted in PunBB 1.2 troubleshooting)
document encoding /charset ?
1,089 2004-04-06 13:38
Re: apache & PHP i windows XP (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 2004-04-02 13:02
Re: Delete zapped reports (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)
1,091 2004-03-26 10:35
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Sounds very nice
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
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 2004-03-26 10:29
Re: Assigning mods (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.
1,093 2004-03-25 14:49
Re: BUG! Acces with guest user to a not permitted forum allowed (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
1,094 2004-03-24 11:23
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
max_allowed_packet = 1048576 bytes
PHP post_max_size = 8MCan 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
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!
1,095 2004-03-24 11:18
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 ...
1,096 2004-03-24 10:56
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2004-03-22 15:09
Re: HTTP_REFERER base url question (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 2004-03-20 09:08
Re: Firefox impressions... (39 replies, posted in General discussion)
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 )... but as you said, it could be connection
1,099 2004-03-18 16:35
Re: Attachment Mod 1.0.1 by Frank H (150 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2004-03-17 12:21
Re: User restrictions (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.