Not really high on my list ... more code is needed, and I don't want to mess with any java features (not working everywhere) or temporary storage (risk for big mess, and lots of code and extra functions needed, to clean up after people only uploaded files, but never posted the message) ... this is the 'simplest'/lightest way to allow more than one file ... and that's exactly why I haven't borthered with adding lots of code to the uploads
(and you have the issue of php variables that can mess up even more ... what should the limit be set to? as if you upload 4 files at once, the post data becomes the total size of all files, and if the max allowed filesize needs to be a 4th of that, why cannot you upload one file with 3 times the size of the small ones? ... to solve that one would need to upload each file to a temporary storage, one by one, and use javascript/dhtml stuff to update the post or similar ... and to me that's just way too bloated ... I know vBulletin etc. solve it that way ... but not PunBB:ish over that IMHO wink)

(also, what happens with a limit of 100 attachments, or unlimited? shoud it have a limit on 4-5 then, but then people want to have 10, and so on ... and then one need to add it to be per forum basis... and then people want to have it per usergroup basis ... and so on ...)

So, I doubt I'll include it in later versions ... I feel it's too much bloat over it ... I added this mostly so people won't need to post 20 posts for 20 files, like it was in the first mod ... now there is a possibility to attach more files, for those that needs it ... and it doesn't mess upp the code too much...

(I think it has been discussed in this thread somewhere ... but it's 6 pages, so worth repeating wink)

aah ... hehe, simple to do such small things wink

ah, seems to be simpler than I thought it would be, hope you didn't have a hard time to understand the code smile

do one really need to replace that big block in 'step 2'? ... have things changed other than a few rows? (took a quick peak at it ... and it looked like you only added the else statement?), an add perhaps would be simpler othervise?

I'm afraid it might not be that easy to do, due to the way the rules etc. are set up ... And, as it's a 'special case' scenario, I'm not so keen on messing up the code for a specific usergroup ... as it will only apply to those that allows guests read, but not dowload, and that download for guests is quite logical if they are allowed to read the posts... or at least write in the description of the forum that guests isn't allowed to see the attachments ... but need to register to be allowed to do so...

Might be better to have some other notice to guests that there "might be" attachments, and that by registering you're allowed to download al files ... but ... it's all about what rules you've decided to use ... and is therefore different between all forums ...


But I'll probably make the code a bit more effective in viewtopic.php sometime during the summer if I get some free time, so I'll look if there is an easy way to do it without messing up the code ...

thnx

I think it's the browser that controls that text, unfortunately ... so it will depend on the language used on the client computer ...

You've got mail smile=

have emailed some more now, and tested your forum, not sure what it is, but forum id is probably loist somehow smile

432

(33 replies, posted in Programming)

well you could always check if the links has been pressed (on serverside, by 'link-redirects') ... but ... there's still ways to override such stuff, and you'd need to have a good session handler aswell, and the effort needed to create it I doubt will be worth it ...

so nothing you can 'force' and be able to trust will do the right things ... you just have to trust the users ... and considering where these type of things are used quite frequently ... I woulnd't give much for trusting the users to do anything wink

so ... I'd say, keep your fingers crossed that at least someone clicks them (I suppose you could always google after a finished script, if you're lucky someone have distrobuted their work, but be sure to check the code) wink

have mailed ... easier to bughunt through that ... (but that thing was a first)

434

(1,382 replies, posted in General discussion)

exam

435

(1,382 replies, posted in General discussion)

sooner

"Mark all topics as read" ... hard to make it more clear that all topics are marked as read ... but yeah ... the right wording is probably crucial either way ... not so sure "Mark topics on all forums as read" would be much better ... but that's more or less the only thing I can think of that makes it more clear that all topics are marked as read ... a bit longer, but the other string is already a bit longer already, so I doubt it will intrude on the layout due to stringlenght ...

sounds nice smile

True ... and it's up to you  (I've got a 'one forum' forum, and it feels really unlogical to go down to the index to be able to mark everything as read ... but I know where to change, and feel secure enough to do so aswell wink)

hmm... and one is redirected back to index when clicking on it on another page ... (but I'm probably going to add a small if statement, that redirects back to the forum where one pressed it ...)

439

(36 replies, posted in Programming)

reviewum.com wrote:

I like CMSMadeSimple.  The goal of the developer seems very similar to Rickard... keep it simple.   I got so tired of all the bells and whistles in so many of the other CMS's that I just wanted something that my newbie user's could access and do WYSIWYG editing of web pages.
http://www.cmsmadesimple.org/

I tested this a couple of weeks ago ... and I got really tired of it ... I installed it, and all I got was an empty page ... I de-installed, and re-installed ... same thing ... then I looked at the sourcecode the browser was showing ... and I saw a couple of short tags *sigh* ...  they had mixed short and proper php tags throughout the code, even though the recommendation from php is to use proper tags when distrobuting code to other ... either way ... I did some tricks to find all the occurrences ... and also noticed they used short echo aswell sad  .... I replaced all short tags to proper tags, rewrote the short echo's to proper echos in a bunch of files ... I then managed to log in ... but there were still pages non functional ... like the plugin page ... so I gave up ... wasted enough time on it ...


probably going to look for some other cms in the near future ... a clean one wink

440

(12 replies, posted in Programming)

Connorhd wrote:

php = Personal Home Page

According to php manual:

2. What does PHP stand for?

PHP stands for PHP: Hypertext Preprocessor. This confuses many people because the first word of the acronym is the acronym. This type of acronym is called a recursive acronym. The curious can visit Free On-Line Dictionary of Computing for more information on recursive acronyms.

441

(5 replies, posted in PunBB 1.2 show off)

it's blue on white links on the site, and yellow on white links on the forum, which is really hard to read

I'm mailing you with a few questions (a couple of things it could be, most probably you haven't set the max upload size)

ah ok, worth remembering smile

true

nopes, no mod_cache (at least according to phpinfo wink)

mod_php4, mod_setenvif, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_cgi, mod_dir, mod_autoindex, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_macro, mod_so, http_core

hmm... mod expires ... that one sounds like it could affect ... going to look wha tit does...
Yep probably that one ... messing with it ... Documentation ... will open up httpd.conf after I've eaten and see if it's set to some odd value for something ...


Edit:
was unused in the httpd.conf file, so probably some default value that might have interferred ... so I unloaded the module ... hopefully it'll work now ... thanks for the help smile

no proxy ... going to check if the cache mod is running

I'm having a bit of an annoying caching issue, that's hard to replicate ... (it happens sometime, sometime it's fine, I havent figured out a safe way to replicate it)

When one click the [ New posts ] link on posts, it sometimes doesn't view the 'up to date' thread. Instead it only displays the original thread (the one with only 1 post). I haven't found out why this is happening, but I have upgraded from Debian Woody to Debian Sarge, and thus updated the PHP and apache, but the problems is still there ...
(PHP 4.1.2-7 & 4.3.10-15, Apache 1.3.26-0 & 1.3.33-6)

Also other users notice this on the forum, so I dont' think it's related to Firefox either ... (and here it doesn't happen either)

I'm guessing there's some headers that I need to add ... but where and what?

Any ideas?

There's also another way to do it if one has alot of different styles, and that the logo breaks the pages

I added it in the css instead ... as I had a large logo (~900 wide)... and that got painted ugly on the narrow styles ...

This is what I added on one of my style:

/****************************************************************/
/* 2.1 Frank H mods ;) */
/****************************************************************/
#brdtitle p{
  background: url("../img/racing_ath_cx/logo_sunset.png");
  background-repeat: no-repeat;
  background-position: center;
  height: 129px
}
#brdtitle span, #brdtitle h1{
  display: none;
  visibility: hidden
}

I have only tested it on my Firefox 1.0.4 and IE 6 (I suspect IE5.5 might do things differently roll big_smile)

It hides the Text, and only display an image ... you might want to add width aswell on the p block ... but my width was controlled from the 'wrapper' ... so I didn't need it ... (I added this css below the "TEXT SETTINGS" block in the css file)

(I'll prolly 'remake' the logo (remove logo text) and release it later sometime wink)

449

(5 replies, posted in PunBB 1.2 discussion)

that's ... a bit lower wink

(someone used it to distrobute large binarys perhaps? (not throught your site, but someone on the server))

http://warthog.campus.luth.se/Frank/div/smilies/thumbsup3d.gif