Thanks!

I followed this example here:
http://punbb.informer.com/wiki/punbb13/ … t_10_posts
and I got a basic working sample to display recent 10 posts.

However some characters get broken, I see:
"Piši kar trenutno počneš"
instead of:
"Piši kar trenutno počneš"

What could be wrong? I examined viewtopic.php and I cannot see any extra magic happening in there that would explain why "čžš" is working inside forum, but not on above example.
I'm sure that creating a new query with php functions would work, as I do it for other parts of site (non-forum related).

Tables use utf8_general_ci collation.

Works great, thanks!
However I see untranslated strings also on other user-visible sections.
Will translate them later an post it here.

Admin panel is irrelevant to me.

I'll recheck. Also translation is not in utf-8 and causing problems, so I'll go trough all of it again.

I've noticed that slovenian translation it's just a copy of english and nothing more:

http://punbb.informer.com/wiki/punbb13/language_packs

please remove it from list, it is not translated at all (maybe someone uploaded wrong zip?).

I have punbb forum integrated into my site via iframe.

I noticed a problem - if a user visits my page without "www." prefix
and tries to open forum, he is not automatically loged in.
With "www." prefix then login works. What could be the problem?

7

(0 replies, posted in Programming)

I've integrated punBB 1.3 forum into iframe on my site - this works fine, however
I would like also the iframe to dinamically resize only height when navigating trough forum.

Currently I've setup a light javascript:

<script type="text/javascript">
    function resizeFrame(f) {
        alert("tesr");
        f.style.height = f.contentWindow.document.body.scrollHeight + "px";
    }
    resizeFrame(document.getElementById('forum'));
</script>

Which does the job, but unfortunately it is called just once - when forum is loaded.
How could I possibly make it refresh height everytime something inside iframe changes?

8

(1 replies, posted in PunBB 1.3 additions)

My bad - I didn't realize users had their own style, now I've set the new one in DB and it works fine.

9

(1 replies, posted in PunBB 1.3 additions)

Hello!

I'm working with css on default style, however there is a problem - forum seems
to cache css and I cannot immediately preview changes, is it possible to disable
caching of styles temporaly?