726

(93 replies, posted in PunBB 1.2 discussion)

I've followed your work for a few hours now, look good smile

I'm not fully convinced yet though wink

727

(14 replies, posted in PunBB 1.2 discussion)

Hmm, I think it's hard to separate the two, help and such things will be asked in the release-forum anyway.

Muggen wrote:

Think I just found a bug or something.

When I look at the messages I've gotten.
The IP info of the user is blank.

Yes, it's a bug. A known one, but anyway smile It's fixed in the next version.

Edit: Known but forgotten that is, I'll fix it right away. Thanx!

729

(93 replies, posted in PunBB 1.2 discussion)

Yeah, I looked at it, and I'll read the page later today smile

It just feels like the discussion is about not using tables as a layout tool just because it wasn't ment that way. Though, I also noticed the size-difference between the two pages, so I'm not completely against it smile

I'll be back when I've read som more big_smile

Edit: The 'standard'-part I do agree on, hate it when I'm forced to switch browser from opera to IE just beqause the programmers fucked up.

Auron wrote:

Don't you mean... "Users can no longer change the question."
Auron

True! I'll change it!

731

(93 replies, posted in PunBB 1.2 discussion)

Interesting discussion... I'm sceptical though, but I think it's just because I've always used tables and never taken the time to look more at "css-tables". I also have the old "If it aint broken, don't fix it"-feeling wink

Muggen wrote:

Let me edit the picture.

Ah, you mean how to change the color? There's one image for each style in img/poll.

Muggen wrote:

Where is the colour? ("The old code")
http://vifta.missvogue.net/~fabian/poll.JPG

Hmm, what do you mean?

I've rewritten some parts of the code today. Made it much easier to install by lowering the number of steps from 64 to 44! smile Was alot of stuff which I could do in the same step... also put some code in files instead of copy-pasting it into PunBB-files.

I've not tested it enought yet though, so I've not uploaded it to PunRes yet. But if someone is interested in testing it, it's availible for download here. Please tell me if somethings wrong.

Edit: Updated the zip-file.

Nasso wrote:

my webhostingcompany only allows me to have one database. sad i whould like to convert my phpbb forum to a punbb but as my phpbb forum is on another server that is impossible?

Can't you transfer the phpbb-database from the server to your server?

Everything fixed! There's a new version to download at PunRes.

Changes:

· Fixed an bug where header_new_messages.php couldn't include the lang-file. (thanx Muggen!)
· Fixed so a users messages are deleted when the user is deleted.
· Fixed a bug where a message was undeletable if ther user was removed. (thanx Fredrik!)
· Removed a comma which caused some installations to fail. (thanx Fredrik!)

If you don't want to reinstall the whole mod, just replace the files (there is a new one too) and just do step 19-20:

#
#---------[ 18. OPEN ]---------------------------------------------------------
#

    profile.php

#
#---------[ 19. FIND (line: 562) ]---------------------------------------------
#

    // Set all his/her posts to guest
    $db->query('UPDATE '.$db->prefix.'posts SET poster_id=1 WHERE poster_id='.$id) or error('Unable to update posts', __FILE__, __LINE__, $db->error());

#
#---------[ 20. AFTER ADD ]----------------------------------------------------
#

    require($pun_root.'pms/profile_delete.php');

#

Muggen wrote:

Hm, I dont know what happened here or when. I just reloaded the page and it worked.

http://vifta.missvogue.net/~fabian/pms.jpg

It look's like there is some variables missing, even though it should work... Try this:

Find:

require $pun_root.'lang/'.$language.'/'.$language.'_pms.php';

Before add:

global $pun_root, $language;

Fredrik wrote:

I found one thing here...

If you delete a user who has sent you a private message, that message will be undeletable.

Ok, I'm gonna fix it today. Also, when a user is deleted, the private messages should be deleted to.

Thanx!

Fredrik wrote:

Haha, well what a mess one single little comma can make. wink

Thanks alot for helping out! Love your mods btw.

Great!

Oh, thanx alot! smile

Fredrik wrote:

Yeah, I did use that on my last post there.

And I got:
"Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)"

Ahh, true. My mistake smile

Have a solution though: Change line 31 in install_mod.php to:

PRIMARY KEY (id)

Edit: Somehow frustrating when the code works on my computer but not others...

Okey... could you test with debug-mode on?
(One of the first lines in include/common.php)

Fredrik wrote:

You know what.. I didn't! Feel so stupid. Although when I did. I got this instead:

An error was encountered
File: install_mod.php
Line: 33

PunBB reported: Unable to create table messages.
Database reported: You have an error in your SQL syntax near ') TYPE=MyISAM' at line 13 (Errno: 1064)

Hehe smile

Do you use mysql or pgsql?

Did you run install_mod.php?

Fredrik wrote:

"Unable to fetch reports info"

When I remove the modified header.php and replace it with the original, it works. Why? smile

And everything else works?

What's the errormessage if you turn on debug-mode?

(I've changed the errormessage to: "Unable to check for new messages" instead, forgot to change it when I copied the code)

Mako wrote:

Coolness. Did you upload the new one on PunRes?

Yepp! Beta2

I've fixed the variable/session problem now. Also fixed the querys where I forgot to include addslashes at some places...

Muggen wrote:

Finally wink
Im using punbb for my school, there will be a lot of messages there ^^

Nice!
I hope there's no bugs left then smile

Done!

Url is in the first post. As usual: PLEASE tell me if somethings wrong... or just weird smile

Ohh, yes. Thats true.

I'll look at it right away. If you want to "solve" the problem now when it's already converted you can post a message and then delete it right away I think.

I think the problem is that when there's no posts, the time is saved as: "0" instead of NULL.

749

(25 replies, posted in PunBB 1.2 discussion)

Logged in at school today, and first thought was: "Ohh, no! Not the new_post_since_last_visit-fuckup again" untill I remembered that the cookie-code was rewritten.

Much better this way! smile

750

(4 replies, posted in PunBB 1.2 discussion)

Kennel wrote:

- Make it possible to download your profile as an XML document (or something). If you then want to register in another PunBB forum, you could just upload your profile.xml to that forum and you won't have to fill out all the forms. I'm considering taking this up with other BB developers. Who knows, if there is interest, maybe we could agree on some kind of standard for this.

Cool! I really hope they'll lissen to you. Thumbs up for standards!