Kennel: perhaps a nice thing to add that little info on that error message, so one see what version tag one is running atm?
1,202 2003-11-15 13:28
Re: Attachments (55 replies, posted in PunBB 1.2 modifications, plugins and integrations)
it is released, look in the [released] thread ...
1,203 2003-11-12 01:14
Re: Attachment Mod 1.0 by Frank H (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
ok ... well I'll investigate the ftp and php file possibilities more later ... but now I'm going to have a _really_ busy time ahead (waiting on some stuff that's more or less out of my control on my Master Thesis, so I'll work day and night on that when I can)...
But as I said, I took the decision to store it in the database as it's easier for 'the everyday user' to control rights, and disable the possiblity to direct link to files if one shouldn't have rights to it ... but in the future file storage is probably going to be added ...
I have done two tables for the files, one with info, and one for the huge data ... this is to speed up the database handling abit ... as things have a habit of going abit slow in the table holding all the binary data... and I know of some small things I want to alter in the future versions (moving mime out of the binary table, or at least make a copy of it to the file info, to remove that call to the 'heavy' table, and some other small things, on one hand I want mime there as it can make it easier to recover lost files)...
This mod turned out waay more 'complete' than I had plans for as a first release, and most of the time is actually spent on the administration part of the mod, as it's a huge thing once one start to think of it
But files on disk will probably be added ... when I have time...
1,204 2003-11-10 23:19
Re: Attachment Mod 1.0 by Frank H (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well atm I'm storing files in the database ... instead of storing it as separate files on disk on a separate place that's inacessible from others... this I made because it's easier to control rights if you don't have full access to the server, so you can refuse people from reading from certain directories etc...
But in the future (not near though) I might also add the possibility to store as files on disk ...
1,205 2003-11-10 21:05
Re: Attachment Mod 1.0 by Frank H (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
not a bug
I might add it on a later version (but I must say I'm not certain PunBB needs it)
1,207 2003-11-08 19:02
Re: Know a language? Come and help :) (12 replies, posted in General discussion)
Swedish:
Diskussion på Svenska.
Endast på Svenska, tack.
Test
De här forumen finns nu också på Svenska!
1,208 2003-11-08 16:30
Re: In Depth Forums (18 replies, posted in Feature requests)
true ... indexing is probably good
1,209 2003-11-08 13:30
Re: In Depth Forums (18 replies, posted in Feature requests)
true, but on the other hand, those is possible to generate when the forums is added/removed ... so one just fetch one textstring from database for this ... instead of generating them every time one enters a page...
1,210 2003-11-08 11:44
Re: In Depth Forums (18 replies, posted in Feature requests)
in a devforum I made, I had a 'referrer forum' in every forum (that was the 'owner' of the forum), that pointed to another forum, unless it was in the 'root' then it pointed to 0 ... so my index.php was infact using the same code as viewforum, with the only exception it used 0 as forum when it searched for forums, instead of the current forum you were in ... so it's probably not that hard to have it functional ... but perhaps the way punbb uses forums now makes it hard to change ...
1,211 2003-11-08 10:17
Re: Goto First Unread 1.0 by Frank H (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
well... we mortals still use 1.0.1
I actually had it for RC2 in the beginning ... but I'm not sure if I altered something or not ...
1,212 2003-11-07 18:36
Topic: Goto First Unread 1.0 by Frank H (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: Goto First Unread
##
## Mod version: 1.0
## Works on PunBB: 1.0.1
## Release date: 2003-11-07
## Author: Frank Hagström (frank_n05pam@hotmail.com)
##
## Description: Enables one to click the [i] symbol to jump to the
## first unread post.
##
## Affected files: index.php
## viewforum.php
##
## Affects DB: No
##
## Notes: This is a feature I have missed dearly. And it's such a
## small fix, so installation is easy, and the browsing of
## the forums goes so much faster :)
##
## Generated with ModGenerator (http://modgen.cactuz.nu/)
## on: 2003-11-07 18:00:28
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
Download here: http://warthog.campus.luth.se/punbb/got … ad-1.0.zip
1,213 2003-11-07 18:23
Topic: Attachment Mod 1.0 by Frank H (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: Attachment Mod
##
## Mod version: 1.0
## Works on PunBB: 1.0.1
## Release date: 2003-11-07
## Author: Frank Hagstrom (frank_n05pam@hotmail.com)
##
## Description: This mod will add the ability for attachments beeing
## posted in PunBB
##
## Affected files: admin_forums.php
## delete.php
## edit.php
## post.php
## viewtopic.php
## commonadmin.php
##
## Affects DB: Yes
##
## Notes: This mod stores the files in the database, thus you must
## configure it to accept large querys. You must set this
## alittle larger than the files you accept. Settings for
## mysql can be found in my.cnf (or in windows my.ini).
## Furthermore you also need to let php accept large posts,
## and files attached. Set this in php.ini.
##
## The attachment mod can be configured by altering the
## /include/attach.php file, in there you will find the
## following variables:
##
## $attach_use_icon - Set this to false if you don't
## want icons next to your
## attachments. Users that don't want
## to view images, don't see icons.
## $attach_max_size - Set this to the max allowed
## filesize you want to be uploaded.
## Will be dependent on what you have
## set in the configuration of PHP
## and SQL. This is for the whole mod
## and each forum is then configured
## with it's own max size, that cannot
## be larger than this.
## $attach_always_deny - These are the files the attachment
## mod will deny from everyone but
## the Administrators. So if you
## allow all files on a forum, these
## will still be rejected, and it's
## impossible to override by setting
## the forum to allow them. Good for
## the forum owner that he has the
## control, and not the admins.
## $attach_mime_types - This holds different mime types if
## the browser fail to supply them.
## $attach_icon_mime - This array links each mime to an
## icon. Option to link to extentions
## might be added at a later version.
##
## Generated with ModGenerator (http://modgen.cactuz.nu/)
## on: 2003-09-06 20:26:03
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
Link removed, pointed to an old location
If you use another language you need to copy en_attachments.php into that language directory and rename the two first letters to match. And then you can edit the language file and if you'd like, e-mail it to me and I will post it on the download page.
On that same link, you will also find a zip containing more colors for the icons, and it also has a template for your own board if you want something other. Have fun!
1,214 2003-11-07 14:59
Re: Attachments (55 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ok, now after the exams I have managed to get some free time ... and I have now installed the mod, according to my readme, and is bughunting ... 2 bugs found, and both fixed ... (only minor stuff, that rejected uploading when it shold have allowed ... luckily I'm usually going from deny to allow, so these bugs rarely is anything more than annoying)
So ... I'm not dead or something, and this mod will arrive ... whenever I feel like it should be ok to use
Edit: err... 3 bugs ...
1,215 2003-11-06 14:51
Re: Cookie Cruncher (13 replies, posted in Programming)
one page I fiddled with I had to unset the cookie, before I could update it. Also note the order you send those in, IIRC they was reversed or something (the last set cookie info sent first, or something like that) ... I guess this is on Apache though... but check the docs to be sure of that
1,216 2003-10-28 12:57
Re: Putting punBB into a table (3 replies, posted in PunBB 1.2 troubleshooting)
http://punbb.org/forums/viewtopic.php?id=2731
Might not be what you look for, but I think it is.
1,217 2003-10-28 08:57
Re: config.php in safe directory (4 replies, posted in PunBB 1.2 troubleshooting)
I actually wrote like this on one of my forums (think it was a 1.0RC2 , but I guess it shouldn't matter which version it is)
<?php
include "/cgi-bin/config.php";
in a new file that I saved as forumroot/config.php
and moved the real config.php to /cgi-bin/
(I used another directory, but just for illustration)
so then it was possible to hide it from the masses ...
1,218 2003-10-18 12:44
Re: Stubborn http:// (11 replies, posted in Programming)
phpmyadmin uses some other character than the ' on the fields ... I think it's either ´ or ` ... (think the later) .... perhaps replace the ' with those?
1,219 2003-10-17 07:33
Re: Stubborn http:// (11 replies, posted in Programming)
can you write the query here?
do you have these around the things you put in? ´ (or if it was these ` don't remember)
also, when everything else fails I usually test the \ before the things that dissapears ... so try http\:// ... I don't think it will work, but hey, at least you've tried in that case
1,220 2003-10-15 22:37
Re: Attachments (55 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It's not abandoned, no need to worry ... I'm just out of time completely ... I'm actually supposed to finish up some preparations for tomorrow morning, instead of checking here, and it's 00:40 here now ... and at 0800 I must be at the university, I'll be glad if I get 5 hours of sleep ... so that might give you a clue that I'm shocked with work atm.
But the mod will be released, trust me ... I had planned to work on it this week, but things came up that needed first hand priority.
1,221 2003-10-06 09:49
Re: Private Messaging (15 replies, posted in Feature requests)
Mako wrote:
I'll do up a Private Messaging mod.
How is the Private Messaging coming?
1,222 2003-10-05 09:26
Re: Dual license (18 replies, posted in PunBB 1.2 discussion)
Well as you say, it will still be free under some kind of licence, so I cannot see anything bad with this happening, probably only good things
1,223 2003-10-04 16:04
Re: CSS style? (2 replies, posted in Archive)
CSS variablerna bytte namn ... kika på en ny css och en gammal så ser du hur namnändringen blivit ... så att du kan ändra den CSS fil du har nu (tror _ mellan namnen togs bort)
1,224 2003-10-03 13:17
Re: Profil ändringar.. (1 replies, posted in Archive)
Man ger inte användarna moderator(eller admin) rättigheter?
1,225 2003-10-02 14:58
Re: A minor bug (9 replies, posted in PunBB 1.2 bug reports)
true ... it should be a update ... but there is an update low priority in mysql as well ...
http://www.mysql.com/doc/en/UPDATE.html
unfortunately postgre doesn't have this feature of delayed inserts...
Is there perhaps a query for cookies or similar you could include this in, so that it will more or less not be noticable with another query?