Fixed.
7,852 2003-08-02 18:17
Re: Kolla om man är inloggad (9 replies, posted in Archive)
Menar du i PunBB-koden? I include/common.php sätts en variabel som heter $cookie['is_guest']. Denna kan du kontrollera för att se om personen är en gäst eller om han/hon är inloggad. Är han/hon inloggad finns $cur_user som innehåller den personens profil.
7,853 2003-08-02 15:08
Re: The PunBB website (37 replies, posted in General discussion)
Ah, now I know what you mean. That's probably a good idea. I will fix it when I come home from work today.
7,854 2003-08-02 14:53
Topic: First post! (0 replies, posted in News)
PunBB was in desperate need of some kind of website and I guess this is the result. It's a pretty sad excuse for a website in it's current state, but I will add and improve things over the next few days (weeks? :-). Please note that the forums have moved to the new location http://punbb.org/forums/.
Discuss the new site here.
A huge thank you goes out to Christian Andersson who created the (I feel) awesome logo for PunBB. Thanks a bunch man!
If you like, you can vote for PunBB at Hotscripts using the form in the right column of this page. Please select a rating that you think PunBB is worthy of. That is all I ask :) (Note: I just submitted PunBB to HotScripts so the form on the right will not work until they have reviewed my application and accepted it.)
7,855 2003-08-02 10:18
Re: forum.nonet.org - 1.0 on pgsql (3 replies, posted in PunBB 1.2 show off)
Nice to see my efforts to make PunBB work with PostgreSQL not go unnoticed :)
7,856 2003-08-02 09:30
Re: The PunBB website (37 replies, posted in General discussion)
gribber wrote:
Looks like "Rate PunBB at hotscripts.com" doesnt work? may be a hotscript problem.. Cant find punbb on hotscript either, where do i look or search for? :)
It will start working soon. I submitted PunBB to HotScripts yesterday and it takes 24-48 hours for them to review my application. I'm guessing it will start working sometime today.
gribber wrote:
Perhaps some kind of wordwrap to "Recent discussions" could be useful? like "blablatopic bla...", or i dont know, nice to see all of the topic too, hm :)
Hmm, I don't understand what you mean. Wordwrap?
7,857 2003-08-02 09:27
Re: Ändra bredden? (1 replies, posted in Archive)
Bredden är satt till 100%, så varför det ser ut sådär vet jag inte. Du kan i alla fall ta en titt i css-filerna i katalogen style. Titta på klasserna punmain och punplain. Ett alternativ är att du i main.tpl sätter en tabell runt hela forumet och på så sätt krymper bredden.
7,858 2003-08-02 01:05
Re: få ut specifika rader ut mysql (12 replies, posted in Archive)
Nej, det är det väl inte? Han har ett antal ID's och sen vill han selecta ut raderna som matchar dessa ID's. Jag förstår inte vad funktionen FIELD() har med det att göra.
field(id,1,2,4,7) kommer att returnera 1, 2, 3 och 4. Om id för den nuvarande raden är 1 kommer den returnera 1, om id är 2 kommer den returnera 2, om id är 3 kommer den returnera 0, om id är 4 kommer den returnera 3 osv.
7,859 2003-08-02 00:34
Re: få ut specifika rader ut mysql (12 replies, posted in Archive)
Jag kollade precis upp FIELD() i MySQL-manualen och det kan inte vara rätt.
FIELD(str,str1,str2,str3,...)
Returns the index of str in the str1, str2, str3, ... list. Returns 0 if str is not found. FIELD() is the complement of ELT():mysql> SELECT FIELD('ej', 'Hej', 'ej', 'Heja', 'hej', 'foo');
-> 2
mysql> SELECT FIELD('fo', 'Hej', 'ej', 'Heja', 'hej', 'foo');
-> 0
7,860 2003-08-02 00:09
Re: få ut specifika rader ut mysql (12 replies, posted in Archive)
Den där typen av SQL-fråga har jag aldrig sett. Är field en funktion eller?
7,861 2003-08-01 22:57
Re: 1.0 Preview (11 replies, posted in PunBB 1.2 discussion)
Cactuz just pointed out to me that I hade forgotten to include this change so I just did. Thanks man!
7,862 2003-08-01 22:41
Topic: The PunBB website (37 replies, posted in General discussion)
Tell me what you think of the "site" I have created for PunBB. Do you like it? Hate it? Remember that I will add more content to it in the near future. What you see now is merely a skeleton.
7,863 2003-08-01 22:27
Re: 1.0 Preview (11 replies, posted in PunBB 1.2 discussion)
It would be great if you guys could drop a note in this topic if you have tried 1.0. That way I can approximate how well it works.
7,864 2003-08-01 21:04
Re: De olika delarna (header, main, footer)? (1 replies, posted in Archive)
Ta en titt i include/template/. Där ligger tre filer du kan redigera.
7,865 2003-08-01 18:10
Re: SEMESTER v2! (7 replies, posted in Archive)
Mm, typ. Två dagar bilresa ner, sju dagar dricka grappa vid poolen, två dagar bilresa hem.
7,866 2003-08-01 08:28
Re: SEMESTER v2! (7 replies, posted in Archive)
Jo, den var fin. Det var varmt som fan, men man vande sig efter ett par dagar.
7,867 2003-08-01 00:42
Re: forum.cactuz.nu using 1.0 (1 replies, posted in PunBB 1.2 show off)
Looking good :)
7,868 2003-08-01 00:19
Topic: 1.0 Preview (11 replies, posted in PunBB 1.2 discussion)
As some of you already know the release of 1.0 is imminent. I am however always a bit nervous before the release of a new version. I guess I'm just scared it will have some lame bug that screws up things :-)
I'm making 1.0 available for download now, but if a bug turns up within a day or two, I will fix it and incorporate the fix into what will still be 1.0. Please download from the link below and test it. If you discover a bug, report it in this topic and I will fix it immediately. Make a backup of your current installation before installing (read the docs for upgrade instructions).
*crossing my fingers*
Edit: I would be extra happy if someone could test it with PostgreSQL.
7,869 2003-07-31 16:10
Re: Användargrupper (12 replies, posted in Archive)
Jo, jag vet att användargrupper är något som måste göras förr eller senare, men jag är inte direkt sugen på att göra det (inte nu iaf). Det kommer bli väldigt mycket jobb. Alla rättighetskontroller som görs i forumet nu måste skrivas om. Sen måste administrationsgränssnittet utökas för administration av grupperna (detta är ett mastodontjobb). Phew!
Edit: Se även mitt inlägg ovan om en del av de problem som man måste tackla.
7,870 2003-07-30 14:11
Re: hur flyttar jag ett inlägg? (3 replies, posted in Archive)
Ja, länkarna dyker upp under "Jump to". Såhär:
7,871 2003-07-30 13:29
Re: hur flyttar jag ett inlägg? (3 replies, posted in Archive)
Enstaka inlägg går inte att flytta. Trådar går dock att flytta om man är moderator eller administratör. En länk på vilken det står "Move topic" eller "Flytta tråd" dyker upp nere i vänstra hörnet då du tittar på en tråd.
7,872 2003-07-30 11:44
Re: Angående moderatorer... (26 replies, posted in Archive)
Hehe, ingen fara. Hela det här med rättigheter i forumet är en sak som behöves ses över i en kommande version.
7,873 2003-07-29 23:27
Re: Angående moderatorer... (26 replies, posted in Archive)
Visst är jag villig, men det är faktiskt riktigt mycket jobb att implementera.
7,874 2003-07-29 22:57
Re: få ut specifika rader ut mysql (12 replies, posted in Archive)
Såg precis att den här tråden ligger i fel forum. Flyttar.
7,875 2003-07-29 22:56
Re: Dum fråga? Moderatorer... (5 replies, posted in Archive)
KOJV wrote:
När jag sätter någon som moderator får deras profil ju en lista där jag får bocka för vilka forum de ska moderera... men i den listan finns förutom de vanliga forumen, "New forum" och "Test forum" dvs rester av forum som jag skapat och tagit bort. Hur får jag Pun att rensa bort sådana gamla rester?
Hmm, det där låter lite exotiskt. Kan jag möjligtvis få ta en titt på er databas? Du kan kontakta mig på IRC (Kennel på Quakenet) eller ICQ (6290764).
Edit: Vi löste det. Det var en gammal bugg från beta3 som spökade. Problemet kan inte uppstå i RC1 eller senare.