6,876

(87 replies, posted in PunBB 1.2 discussion)

Updated.

6,877

(14 replies, posted in PunBB 1.2 discussion)

Great, thanks.

6,878

(14 replies, posted in PunBB 1.2 discussion)

Ok, great. In the meantime, it would be great if you could just make the mod archives available so that people can download.

6,879

(5 replies, posted in Archive)

spetero wrote:

Jag får alltså som jag tolkar det inte tjäna pengar på nått projekt där jag har använt koden?

Visst får du tjäna pengar. GPL:en begränsar dig inte alls från att tjäna pengar. Du kan ta PunBB, göra om det och ta betalt för din nya produkt. MEN! Du måste också släppa din kod under GPL, så vem som helst kan tanka hem ditt projekt och göra samma sak.

Bemärk också att GPL:en endast gäller om man faktiskt släpper sin produkt. Det är fullt lagligt att ladda hem PunBB, modifiera det och sen använda det utan att behöva släppa ändringarna.

Plogen wrote:

Hur fixar man en GPL licens då? Kostar det något?

Det kostar inget att sätta en licens på det man släpper. Det är bara en fråga om att klistra in en liten bit text överst i alla källkodsfiler samt att skicka med en textfil med den kompletta licensen i alla arkiv. Här kan du läsa mer:

http://www.gnu.org/licenses/gpl.html

6,880

(14 replies, posted in PunBB 1.2 discussion)

True. However, I'm not sure the mod stuff should be in these forums at all. I would very much prefer that someone put together a complete mod site that can host all the downloads and also a forum for discussion of the mods.

Is anyone up for the task?

I suggest that you ask the creator of the mod.

6,882

(3 replies, posted in PunBB 1.2 bug reports)

The HTTP_REFERER check is there to make sure that someone doesn't trick you into visiting a page outside of your domain that submits a form to any of the scripts that does admin/mod stuff. If the check wasn't there, one could easily construct a page with an invisible form that was submitted to your forum that e.g. unbanned a member or de-admined you. The referrer check only applies to admins and mods. You can read more about it here: http://punbb.org/forums/viewtopic.php?id=2295

6,883

(7 replies, posted in Archive)

Eftersom Fornamn, Efternamn osv. är strängar måste du ha enkla sitationstecken före och efter strängen när du sätter in i databasen. Du borde dessutom köra funktionen escape() på strängarna dessförrinnan.

Jag är lite trött nu och måste kila iväg, men prova det här:

$db->query('INSERT INTO '.$db->prefix.'users (username, password, email, hide_email, save_pass, timezone, style, status, registered, Fornamn, Efternamn, Adress, Postnummer, Stad, Kon, Fodelsear) VALUES(\''.addslashes($username).'\', \''.md5($password1).'\', \''.$email1.'\', '.$hide_email.', '.$save_pass.', '.$_POST['timezone'].' ,\''.$options['default_style'].'\' ,'.$intial_status.', '.$now.', \''.escape($Fornamn).'\', \''.escape($Efternamn).'\', \''.escape($Adress).'\', \''.escape($Postnummer).'\', \''.escape($Stad).'\', \''.escape($Kon).'\', \''.escape($Fodelsear).'\')') or error('Unable to create user', __FILE__, __LINE__, $db->error());

6,884

(0 replies, posted in News)

Thanks to Rolando Espinoza and Javier Uyuni, you can now find a lang pack for Spanish-Bolivia (es_bo) on the download page. Feliz Navidad!

6,885

(23 replies, posted in PunBB 1.2 discussion)

It's kind of hard to explain how it wraps. First, "[ 1 2 3 ... 9]" jumps down to the next row. Then "[ New posts ]" jumps down and finally, the subject is wrapped. In other words, stuff in brackets is treated as one word.

6,886

(87 replies, posted in PunBB 1.2 discussion)

Updated.

6,887

(23 replies, posted in PunBB 1.2 discussion)

I've been fiddling with this tonight and right now it looks like this:

http://punbb.org/stuff/new_posts.png

I'm quite pleased. Maybe you'll also notice that I've replaced "Last page" with the actual page number. It's a bit more condensed like this and I kind of like the fact that you can see the number of pages directly.

6,888

(5 replies, posted in Archive)

Ja, förutsatt att du följer licensen GPL. Det licensen säger är att om du använder kod från PunBB i ditt eget projekt och sedan släpper ditt projekt, så måste även ditt projekt släppas under GPL. Om du enbart kommer använda koden för interna lösningar, så är det alltså fritt fram.

No worries mate :)

Edit: Or wait. Maybe it's just Australians who say that?

6,890

(2 replies, posted in PunBB 1.2 troubleshooting)

Meilad wrote:

Hey um back on this topic. How do I make an icon show when there isn't any new posts. As in like an icon for no posts and one for new posts which is already there.

Then you should ask your question in the mod forum.

6,891

(7 replies, posted in Archive)

Uppkoppling mot databasen sker i databasklassen som laddas i include/dblayer/commondb.php

Om du vill lägga till fler fält i profilen får du redigera users-tabellen och lägga till kolumner för denna information. Det gör du enklast i någon form av administrationsverktyg för MySQL. Själva insättningen i databasen då man registrerar sig sker i register.php. På rad 165 för att vara exakt.

Then you should ask in the mod forum.

[topic moved]

I'm sorry, but it won't happen in the official code. Actually, the right to post HTML has been removed completely in PunBB 1.1. I believe you would have to ask someone to write a mod. That being said, I'm moving this topic to the mods forum.

6,894

(14 replies, posted in PunBB 1.2 troubleshooting)

http://punbb.org/forums/viewtopic.php?id=2467

It will with 95% certainty be released before new years eve.

6,895

(14 replies, posted in PunBB 1.2 troubleshooting)

I'd rather not. Version 1.1 is coming out quite soon and things will change somewhat. Once that is out, I will be glad to help.

[topic moved]

6,897

(23 replies, posted in PunBB 1.2 discussion)

ps21: Displaying the number of new posts in each forum would involve running one extra query per forum (or maybe just one extra all together). I'm not sure such a feature warrants the performance hit it can incur.

chacmool: Maybe :)

6,898

(2 replies, posted in Archive)

http://punbb.org/download/old/

Där hittar du version 1.0 som är den du först måste uppgradera till. Glöm inte att läsa uppgraderingsinstruktionerna i docs/install.html.

6,899

(7 replies, posted in Archive)

Filen kan vara korrupt. Prova att packa upp filen admin_index.php på nytt från arkivet.

6,900

(3 replies, posted in Archive)

Jodå, det går bra. Bara ange olika prefix när du installerar.