Really nice! Great work!
2 2004-08-01 12:56
Re: Private Message System (332 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I found a little bug in message_list.php
I think line 45:
$name .= '</b> ( <a href="?box='.(int)(!$_GET['box']).'">'.$lang_pms['Box'.(int)$_GET['box']].'</a> )<b>';
should be moved after the next line (47):
$page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_pms['Private Messages'].' - '.$name;
They should be switched that is. Else the page title will contain the "a href blabla...."
3 2004-07-26 17:29
Re: google fun (22 replies, posted in General discussion)
first hit for Henke...haha!
4 2004-07-18 21:23
Re: PunBB 1.1.5 - Impressions (30 replies, posted in PunBB 1.2 discussion)
Upgraded from 1.0 beta 3 to 1.1.5 (six steps) yesterday and it all went smooth.
Thanks for a great forum Rickard!
5 2004-07-17 12:17
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
Hey, sorry for taking up your time earlier. I just rebuilt the search index and now it works.
Problem solved.
But what's strange is that the fact that setlocale can't set the locale doesn't matter for swedish åäö-searches in PunBB?
I also found a way to get the change of locale to actually work:
<?php
$locale = 'sv_SE.ISO_8859-1';
echo 'Before: '.setlocale(LC_CTYPE, '').'<br />';
putenv('LC_CTYPE='.$locale); // works for me in FreeBSD
//echo 'New Loc: '.setlocale(LC_CTYPE, $locale).'<br />'; // not working for me
echo 'After: '.setlocale(LC_CTYPE, '');
?>
But this isn't necessary for PunBB as I said.
EDIT: I can't remember having changed language which would require rebuilding the index and whats strange is that posts after ~July 10th containing åäö was found even before rebuilding the index.
6 2004-07-16 20:42
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
yeah I understand, this is clearly not a PunBB-bug. It has something to do with FreeBSD and PHP as a combination I think.
7 2004-07-16 16:54
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
Before: C
After: sv_SE.ISO8859-1
As I said, setlocale( LC_CTYPE, 'sv_SE.ISO8859-1' ) looks ok. But if I check again after that with setlocale(LC_CTYPE, '') it is C like before.
Thanks for helping out Rickard...
8 2004-07-16 15:45
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
yes
[henke@flinta:~] $ ls /usr/share/locale/sv_SE.ISO8859-1
LC_COLLATE LC_MESSAGES LC_NUMERIC
LC_CTYPE LC_MONETARY LC_TIME
9 2004-07-16 14:34
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
I do have the swedish locale installed. I'm running FreeBSD and the locales are in /usr/share/locale.
10 2004-07-16 12:22
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
I assumed it worked since it returned the locale and not false when setting the locale.
The output from dump () is C
yes C.
11 2004-07-16 11:42
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
no more ideas regarding my problem? As I said setlocale seems to be working but åäö-searches still doesn't work.
12 2004-07-11 09:30
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
I meant the latest swe lang pack.
13 2004-07-10 22:49
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
yes, I will
EDIT: digged a little bit myself and found that
setlocale( LC_CTYPE, 'sv_SE' );
didn't return anything but
setlocale( LC_CTYPE, 'sv_SE.ISO_8859-1' );
returns the correct locale, but search isn't working anyway.
EDIT2: Now I see you've already thought of that in the new langpack Rickard.
14 2004-07-10 22:47
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
yes i'm using the swedish language pack. I guess I can't do anything about it then because it's not my server.
15 2004-07-10 20:54
Re: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
I found out on my forum first and I thought it was a bug in the old version I'm running. So I tried here but with the same result.
So it doesn't have anything to do with PunBB? How can I fix it?
16 2004-07-10 18:09
Topic: search words containing swedish characters not working? (35 replies, posted in PunBB 1.2 bug reports)
I never seem to get any matches when searching for words with åäö in it.
18 2003-01-18 18:56
Topic: Guest registrerad år 1970?? (2 replies, posted in Archive)
Vad kan ha hänt, jag hade helt plötsligt i morse en användare som hette Guest med email "Guest" registrerad 1970.
Kan det bero på nåt jag har gjort för jag håller på att modda ganska friskt?
19 2003-01-17 16:38
Topic: html i textrutorna (1 replies, posted in Archive)
När jag skriver t.ex <center>Välkommen till blabla</center> i Forum title så syns det också i titelraden på webbläsaren. Gör jag nåt fel?
20 2003-01-15 21:26
Re: http://camaroforum.mine.nu (3 replies, posted in PunBB 1.2 show off)
Jag var lite flummig och ändrade i koden i include/common.php men upptäckte precis att i både "Forum title" och "Forum description" kan man ju använda HTML.
Så det är väl bara att skriva t.ex <img src="img/logo.jpg" alt="blablaforum"> i någon av de två rutorna.
21 2003-01-15 14:04
Topic: http://camaroforum.mine.nu (3 replies, posted in PunBB 1.2 show off)
22 2003-01-13 18:02
Re: Litet stavfel i admin_titles.php (3 replies, posted in Archive)
Hittade ett i "se_topic.php" också. "Moderarat".
23 2003-01-12 14:40
Topic: Litet stavfel i admin_titles.php (3 replies, posted in Archive)
"...value for minumun posts..."
24 2002-07-10 10:53
Topic: testar Pun (0 replies, posted in PunBB 1.2 show off)
http://**dead**
Har gjort några teman som kan laddas hem här:
http://**dead**
25 2002-06-18 20:45
Re: Strömavbrott (28 replies, posted in Archive)
Timpa wrote:
jag har köpt UPS idag får den på torsdag... datorn dör hela tiden av avbrott här... o nu är det åska igen snart... BLÄ
får man fråga vad en sån kostar?