ok, thanks anyway

From PunBB..

We are trying to convert punBB to another forum software with some features we need for our forum.

The new forum with the old data works just fine except that the Swedish characters åäö is written with strange characters (Ã¥ får å for example). Writing åäö in a new post works just fine. I also been trying to view the new forum in both utf-8 and iso-8859-1 so I guess it's something wrong with the converting itself.

I am not familiar with how text are stores in databases so I need help from someone with more experience.

I changed iso-8859-1 to utf-8 in Lang/Swedish/common.php in my punbb directory.
'lang_encoding'            =>    'iso-8859-1',

I guess this is not effecting the database itself? Can it have somehing to do with the converting? Should I try to convert again?

Any other tips?

4

(6 replies, posted in Feature requests)

Changing this code did the trick. Thanks smile

So what is the solution? I and a friend are having the same problem ??

6

(124 replies, posted in News)

I could never come up with the idea of starting www.millionpennyhomepage.com. I guess I just wouldn't think people are that stupid wink
I think the decision to not use the money for a ad there was wise. And like Rickard sad, if you don't want the money to be used for anything else than www.millionpennyhomepage.com you can have your money back.

Rickard wrote:

Not a bad idea PlanetPhillip. I will most definately start a best theme contest once 1.3 is out.

Great big_smile I would love to participate smile

7

(38 replies, posted in PunBB 1.2 discussion)

Ok, I see.. wink

8

(38 replies, posted in PunBB 1.2 discussion)

Kato wrote:

Interesting.  I just figure it would have been much easier and better for the community to keep it all in one place. I don't know about the whole database thing, but it just would have been and still would be far easier if they were combined.

I agree. And that some persons aren't bothered doesn't mean that it would not be more userfriendly with just one forum.

It took me a while to even understand that there was two forums. Then you need to register twice, you can't search both forums at once and you most log in to both forums if using another computer then your own.

I'm not complaining, but I just think it would be better for punbb with just one forum.

Sounds great Rickard! smile

Paul wrote:

And I suppose that's not good, right?

Its not good because its exactly the same as looking at a forum without searching at all.

But I want to ask you this: What is the advantages of defining the days to search for, I mean, it's still sorted by time, so why not just search for let's say 2 weeks no matter how old posts you are looking for?

Lets say you have a big forum and several hundreds of posts in the last 2 weeks. First of all its hell of a waste of effort producing all those results pages when they are not needed. Second, if say you have 30 pages of results of posts within the last 2 weeks do you really want to have to go through them to find the point you actully wanted to start at.

Thank you Paul for answering me wink

One more question:
If you are searching for a post that is let's say 2 days old, and you define to search for posts not older than 2 days, then you can jump to the last page in the search and start from there. Is this what you mean?

Rickard wrote:
sparq wrote:

Also there is one thing I would like to know: is there a reason for why "Show recent posts"
has a time limit while there is no time limit for "Show unanswered posts"?

Let's say that you log in to your account but you don't have time to read all new posts, then the posts will not be marked as unread the next time you log in. Then you can find these posts with "Show recent posts" but not if you wait to long to log in again, because of the time limit. Because of this I think it would be great to take the time limit away. But maybe there's some other reasons for keeping it?

It's the same issue. We would have to keep track of the viewing of all topics from all users. It's just not feasible from a database standpoint.

Right me if I'm wrong, but I guess you misunderstood me. I'm talking about the "Show recent posts" link that should just need a time search.

Paul wrote:

Thinking about it, I'm rather surprised that nobody has produced a mod which adds time to the search criteria. On a big board it might be quite useful to say list all posts/topics in a particular forum which are less than 2 weeks old. That way if you've been away on holiday you don't have to trouble about new post indicators, you just do  a time limited search. Like I say, I'm surprised it hasn't been done as anybody who knows a bit of sql could do it easily. In fact, its probably just a cut and paste job on the existing search functions.

This is not a mod but you could check it out:
http://punbb.org/forums/viewtopic.php?pid=69325#p69325

Paul wrote:

No elegent way - What do you think of taking away the "Mark all topics as read" link and put a "Show unread posts" link there instead that would show all unread posts ever, in chronological order (like "Show unanswered posts")?

How big would he database have to be to store the id's of every post that every user had never read. Or are you talking about a global list of posts that nobody had ever viewed?

Global, no wouldn't that be like the already existing "Show unanswered posts" feature? What I understand of what you are writing, what I meant is compleatly impossible wink ok

Paul wrote:

Also there is one thing I would like to know: is there a reason for why "Show recent posts" has a time limit while there is no time limit for "Show unanswered posts"?

Because recent is a finite period of time though exactly what consitutes recent is a matter of opinion. Unanswered is a state of being which is fixed until the post is answered.

Ahh I see, it's a matter of semantics.Good explanation by the way. Thanks

Paul wrote:

Let's say that you log in to your account but you don't have time to read all new posts, then the posts will not be marked as unread the next time you log in. Then you can find these posts with "Show recent posts" but not if you wait to long to log in again, because of the time limit. Because of this I think it would be great to take the time limit away. But maybe there's some other reasons for keeping it?

If you take away the time limit then you have a search for all posts on the forum regardless of when they were posted, in other words a search which returns every single post ever posted.

And I suppose that's not good, right?
But I want to ask you this: What is the advantages of defining the days to search for, I mean, it's still sorted by time, so why not just search for let's say 2 weeks no matter how old posts you are looking for?

Rickard: Will there be any changes of the marking of your own posts in 1.3, so that they will not be marked as a new post?

Rickard wrote:

There is to my knowledge no fast and elegant way of implementing a long term read/unread posts marking system. Thus, it won't be in PunBB.

No fast way - This one I understand, it shouldn't be implemented if it will slow down the forum.
No elegent way - What do you think of taking away the "Mark all topics as read" link and put a "Show unread posts" link there instead that would show all unread posts ever, in chronological order (like "Show unanswered posts")?

Also there is one thing I would like to know: is there a reason for why "Show recent posts"
has a time limit while there is no time limit for "Show unanswered posts"?

Let's say that you log in to your account but you don't have time to read all new posts, then the posts will not be marked as unread the next time you log in. Then you can find these posts with "Show recent posts" but not if you wait to long to log in again, because of the time limit. Because of this I think it would be great to take the time limit away. But maybe there's some other reasons for keeping it?

Rickard wrote:

What I mean by "proper" mark as read functionality is that when you read a topic that has been posted to since your last visit, it will no longer be marked as containing new posts (for that session!). It does not mean that you're "unread" topics are marked as such forever. I can't really think of a situation where you want to save that data for that long. When you are away from a forum for some time and then come back, you're interested in which topics have been posted to. You're not interested in which topics had been posted to the last time you were there.

In short. The only difference between the way it works now and the way it will work in 1.3 is that in 1.3, when you read a topic that was marked as containing "new posts", that indicator will turn off.

There is to my knowledge no fast and elegant way of implementing a long term read/unread posts marking system. Thus, it won't be in PunBB.

That's the way I like it wink

trevor wrote:

I could put that code into the forum itself, but I don't like to hack up the source if I can avoid it. I tend to blow changes away when I upgrade. Even having the avatars under /img/avatars/ has caused me some trouble smile Perhaps when there is a proper plugin system I'll turn it into a plugin, but I'm holding off until then.

Maybe a plugin, sounds good wink

I thought it was in the forum but it was at the page the link directed me to.

Cool

Was this what you were talking about in the post I quoted? wink

Have you been thinking about implement  it into the show-recent-posts-page in the forum?

Paul wrote:

Mark all as read would still be needed because there might be tons of new posts in forums or topics which you aren't interested in so there will be lots of new post indicators cluttering up the place.

Does it matter if it's tons or just ten, the flags are there anyway. I get like 10 flags but I don't mind. But that's me wink

Paul wrote:

I'm not sure this conversation serves any more purpose than debating Swedens tactics when they meet Brazil in the World Cup Final. Best to get there first and then see what happens.

Maybe not, but I would wink

trevor wrote:

Anyway, I think it might be a good idea to add this "show me posts since" feature to the core.

Do you mean like the link "Show recent posts" at the bottom of Index, but with the ability to change how long back in time you want to go?

Jansson wrote:
sparq wrote:

Ok, but if you keep the "Mark all topics as read"... it wouldn't require more data than the new system (if it will be like StevenBullen wrote that will say), right? Because the forum need to know which posts that haven't been read anyway...

I don't think it will work like that though, but it's just me guessing.

StevenBullen wrote:

But it wouldnt really make sense any other way.... would it!?!

the new way that is.. whatever that may be.

Is it possible that Rickard just meant that a topic will be marked as read when you open it, and no other changes?

Jansson wrote:
sparq wrote:

The "Mark all topics as read" should be taken away, because you don't need it.

This one will probably still fill a function.

Fill which function? Why would you want to "Mark all topics as read" when you know this will be done when you log out? wink

Jansson wrote:
sparq wrote:

Also, that the unread posts disappear could be solved. There could be a "Show unread posts"-link under "Show new posts since last visit" that would show all unread posts ever, in chronological order..

I don't know how the system will work in detail, but I don't think this will be possible. Imagine how much data that would require to know exactly which post (of lets say a million) a user have read. Then multiply that with a few thousand users smile

Ok, but lets say the "Mark all topics as read" link will be used... then it wouldn't require more data than the new system (if it will be like StevenBullen wrote that will say), right? Because the forum need to know which posts that haven't been read by the user anyway...

22

(69 replies, posted in News)

wfox wrote:

1.3 needed not 1.2.12

Take the time you need. Thanks for the best forum around smile

Ok, then it will be like most of the other forums out there, right?

Actually, that the new post flags are reseted when I have logged out is something that I like because then I don't need to hit "Mark all topics as read" now and then.

Wouldn't it be  possible to change a couple of things in the flaging system, and make a system that is almost like today.

I understand if you don't find this interesting since this has been discussed before. But since the old system maybe will be a option in 1.3, suggestions for the old system still could be relevant..

I see two problems as it is today:
A topic should be marked as read when you have read it and your own post should never be flagged as unread.

The "Mark all topics as read" should be taken away, because you don't need it.

Also, that the unread posts disappear could be solved. There could be a "Show unread posts"-link under "Show new posts since last visit"
that would show all unread posts ever, in chronological order..

Thank you both of you.

But what happens with the "flags" when I log out.

In the tread  'Read' topics not marked as read  Rickard says:

Rickard wrote:

1.3 will have proper "mark as read" functionality. Yes, I give up smile

I have read that tread and the tread Mark New Posts as Read as well, but I don't understand what this "proper 'mark as read'" is.

Could someone please tell me? wink