Follow the installation guide linked to from the first page of this topic, and you should get it to work on 1.2.15

Edit: I haven't done a fresh install, but I have upgraded other forums to 1.2.15, where I have the mod installed. And I don't think the fixes in 1.2.15 should affect the mod any more than 1.2.6 did.

Edit2: Karinne has mail wink

27

(12 replies, posted in PunBB 1.2 discussion)

hmm ... are you relying on cookie id to enter information into the database? (if so a security risk, as ppl can make their own cookies)

(it's much better to use PunBB's own variables, as those has been checked so that the user is who he says he is)

hmm ... it should say index.html  ... (it's just an "empty" file, to stop directory listings)

odd that noone have noticed that until now big_smile  Thanks smile

29

(98 replies, posted in News)

I did the upgrade manually with the hdiff ... takes a few minutes, but it works now wink  (and I still follow my personal 'upgrade within 24h since release' rule) wink

http://punbb.org/about.php

But the extensions will make these things easier to install in the future ...

Make sure all the modifications in post.php are made correctly. Sounds like the guest posting is triggered ...

Did you follow the installation guide I mentioned in the first post of this thread? (also the parts about testing the mod, and setup the mod)

32

(14 replies, posted in PunBB 1.2 discussion)

Asking the same at the vanilla forum will probably give you another answer wink

Anyhow, when I'm going to use something myself, I do listen on other people to get a handfull of different things to test, then I test each of the recommended for the task I'm going to use it for ... and after that I know what I want to use ... (and weight in security etc.)

so, I would say you should test them both, and use the one you feel fills your purpose the best ... as it's no good to later think "why did I listen to that guy" wink

but I guess it's just the engineer in me talking wink  ...

What server are you running?

janterje wrote:

I tend towards wanting to display the filesize in KB and MB rather than bits. Is that possible to change?

Not out of the box, you need to modify the output, replacing the bytes and lang string with your own stuff.


bingiman wrote:

I am having a strange problem with this mod. I am using the latest version of punBB. Here is the problem. I attach a file either using "post" or "new thread" but the file does not get posted. However, if I edit the post and then attach the file, it then displays on the thread. Any idea why this is happening? I've reinstalled this mod 3 times so far and get the same results.

If you zip the changed files (and mail them to the email found in the readme.txt), I'll have a look to see if I can spot something in them.

PunBB - Speed in simplicity.    (Not sure if someone said this earlier somewhere ... but it stuck to my head in that case wink)
PunBB - Bells and whistles only makes an awful noise, PunBB is just pure noiseless power.

36

(1 replies, posted in PunBB 1.2 troubleshooting)

Not sure if it's what you want (or if you want a more 'rank' setting, as with the current ranking system (new member etc.)

I did an "Image Awards mod" where you can assign an image to a user to be shown below his/her avatar. (and if images are off, shows a text)
screenshots and info

Image Awards Mod

I had missed that message, sry about that. (odd, I thought I was subscribed to it, but obv I wasn't)


hmm, no not really, what you can do is to make a larger image (with both awards), and assign it to the person. I might look more into it when I rebuild the mod into an extension for PunBB ... to see if I can make it support more than one (but that also means more code, and slower board wink)

Just send me a mail if you have any problems, and I'll try my best to help out. smile
(you can use the email form on this forum, or use the email written in the readme.txt)

Sounds like you're running safe mode

Email me and I'll talk you through a manual install ...

Have you followed the installation guide mentioned in the first post?  (Especially the parts about "Testing the mod" & "Setup the mod")

41

(18 replies, posted in PunBB 1.2 troubleshooting)

I used hotpop, until I fixed 'my own' server for outgoing mails...

42

(142 replies, posted in PunBB 1.2 discussion)

deadram wrote:

Frank H's attachment mod uses the db to store files? (correct me if I'm wrong)

the 2.0 version of the mod moves all storage to files ... so no more database storage on attachments wink

that's odd ... and the chmod is correct?  (as that's exactly the error people get with safemode on)

But, mail me and I'll talk you through a manual install ...


Edit: And with instructions, a manual installation seems to have worked smile

move_uploaded_files is safemode aware ... it's the installer script that copy files that doesn't work ... (it copies a .htaccess and index.htm to a newly created directory, and safemode seems to dislike that, even if the chmod is correct and should allow it)

Mail me and I can talk you through a manual install over email ... (so no 'delicate' info is left public wink)

the isntaller won't work with safemode on ... as it refuse to copy some files ... It is however possible to make a manual install. (it cannot copy the .haccess and index.htm into the subfolders)

the owner is the php user, I suppose it's possible to mod so that the owner is set to another useraccount during upload.

no problem smile

(I have forced people to check the server settings, as all servers might be different ... so using the default value of 2MB isn't guaranteed to work, that's why I have left it at the really tiny 2000 bytes, so that small textfile should be possible to upload, just to test that it works wink)

That's rules.

Read through the "Setup the mod" once more, and really do the first steps.  (it's the setting in Alter settings that's important)

*Open up the documentation for the mod chapter 1.6. Keep it open

    *As administrator on the forum, go to the administration page where you see some info of the version on PHP and the database. Next to the PHP information there's a link "Show info", click on that so you get to see the variables set for the webserver.

    *Read the documentation chapter 1.6 and find the variables in the page opened in step 2. Follow the documentation for how to figuring out how large attachments you can allow as a maximum.

    *Once you know what value you want on the max size for attachments, click "Attachment Mod" in the plugins area on the administration interface. Then click the "Alter settings" button for the mod. At the box for "Max filesize" enter the amount of bytes you want to allow as max upload.

    *Click "Update settings"

It's those 3 values I want to know... I doubt the server allow 100MB, that's why you have to look in the phpinfo() and figure out the correct value. Too large and the attachments won't be attached, as the server ignores it... no matter what rules you set for PunBB and the users...

are you sure that it can recieve such large files? 100000000bytes is ~100MB, not that many hosts will allow that.

What are the values on the 3 items mentioned in "Setup the mod"? (100MB sounds way too much for a normal install)

twohawks wrote:

Just a notion... check to see how php is set for file size limits on your server php configuration file (php.ini), or ask your host.  Typical default limit is 2MB.  Symptoms when uploading a larger file than allowed are as you describe.
Google: php file size limit  ...should give you a good lead.
Cheers,

You can usually get that information from the php info, which I have written about in the documentation for the mod (and in the installation guide). (Every server can have a different setting, that's why I have made a small upload limit in the first place, so you have to figure out what the value is wink)

clariden wrote:

Eskimobleu- you might want to try editing the CHMOD value in install_mod.php to be 0777. That's what I had to do to get the installation to complete properly.


Everyone- On another note-I got the mod installed fine. I can configure it and the form to upload a file appears, but it never uploads the file. It says "posting, please wait" but when the final post appears, no attachment is present.

Please help! Thanks.

Sounds like you need to setup the mod. Have you followed the installation guide I made? (Especially the parts about "Testing the mod", and "Setup the mod")