Okay, let's leave it at that. smile

Smartys wrote:

1. Sessions aren't necessarily the best things for search engines: they usually end up with the ugly PHPSESSID URLs.

You can disable this.

Smartys wrote:

2. We're not really storing lots of information in the cookie: just a user ID and a password hash. If we were trying to store all the user data it would be a better idea to use sessions

Why not save more data in sessions?

Smartys wrote:

3. Session cookies don't save when the browser closes/opens again, so people can't save their logins.

You can change this behavior.
http://php.net/session_set_cookie_params() is your friend. smile

Okay this is nice to hear.

But why you do not use Sessions?

Okay. Than this is definitely not a bug.
I just missed this line of code in my implementation of the cookie check.

But still using base64 would be better in this case wink

a:2:{i:0;s:1:\"2\";i:1;s:32:\"af5a3a493403550749744b4bd55799d1\";}
This is the value.

Works fine for:
   unserialize("a:2:{i:0;s:1:\"2\";i:1;s:32:\"af5a3a493403550749744b4bd55799d1\";}")
but not for:
   unserialize('a:2:{i:0;s:1:\"2\";i:1;s:32:\"af5a3a493403550749744b4bd55799d1\";}')

If you use base64_encode/decode it does not matter which type of quote you use.

I am using 5.2 -> works fine here for me.
But we are using 5.1.6 on the server, there it did not worked. hmm

Hello Guys!

This night i encountered some strange behavior of unserialize($_COOKIE[$cookie_name]), it just returned (bool)false.
So I took just the string in $_COOKIE[$cookie_name] and passed it to unserialize by hand and I got the correct result.
I was surprised - what is wrong!?
Finally i solved this strange behavior by using base64_encode/decode. I do not know if this is a real 'bug' - but i tink so.

Here is the patch:
http://familiehaeuser.de/files/base64.patch


-Chepra

8

(2 replies, posted in Feature requests)

Hey Guys!

Well, I just found some thing I think which would be very usefull for punbb, I dont know if it fits into the terms of punbb.

Wenn you are looking into a forum (like 'Feature requests' here) and you now want to search this forum, you normally go to the search page.
And now you select the forum which should be searched, wouldnt it be nice if this will be done by php?

Chepra

9

(4 replies, posted in Feature requests)

I have just written my absolute URL in front of /img/smilies/ smile
Thanks Rickard!

10

(4 replies, posted in Feature requests)

Hello Guys!

I have to say, very nice job!

Here is my request:
Maybe it is possible to modify the do_smilies func so, that we can use outside of punbb, e.g. in an guestbook on the same site.
'$1<img src="/'.$path_from_docroot_to_punbb.'/img/smilies/'


Regards, chepra

Anyone who wanna update it? smile

Is this Modification still up to date?