6,926

(6 replies, posted in Archive)

Jo, jag tror jag klarade tentan. Tredje uppgiften var att man skulle berätta lite om CMM och lista upp de fem nivåerna och lite om vad som känntecknade varje nivå. Tror du man ace:ade den eller? :D

1000 trådar. Whee!

This has been fixed in 1.1. It doesn't use "Undisclosed recipients" as I mentioned before. One e-mail is sent out to every subscriber. It's a bit heavier on the server (not much), but it isn't affected as much by anti-spam software.

6,928

(4 replies, posted in PunBB 1.2 troubleshooting)

Hmm, it can't be +16. There are only 24 timezones. Try -4 or -3.

Very easy. Open up viewtopic.php and look up:

list($subject, $closed, $sticky, $subscribers, $num_replies, $forum_id) = $db->fetch_row($result);

After that, add:

if ($closed && $cookie['is_guest'])
    message($lang_common['No permission']);

Voila!

6,930

(87 replies, posted in PunBB 1.2 discussion)

New subscription system done. See changelog for more info.

6,931

(87 replies, posted in PunBB 1.2 discussion)

That "before christmas" release date I was talking about above is quite unlikely. Some of the new things are taking more time than what I had expected and I have also had lots and lots of things to do other than work on PunBB. I'm sorry, but 1.1 is a big update (especially code-wise) and I don't like releasing things that I haven't tested thoroughly. My new target is before new years eve.

Gribber wrote:

btw, holyday for 24 days isn´t that bad ;)

I couldn't agree more :D

No apology necessary. I did it for you :)

6,934

(0 replies, posted in News)

That means merry christmas in Portuguese (I think). The reason I'm posting this is that a very nice person by the name of Márcio L. Vítor just sent me two language packs. One for Portuguese and one for Portuguese Brazil. You will find them on the download page.

OMG, this is very cool! I can't wait to try it out.

*sticked*

I've uploaded the lang packs. Good work Márcio!

6,937

(1 replies, posted in General discussion)

Hmm, no. It's been there all along. Odd.

Anyway, I'm rewriting all that code as we speak :)

6,938

(10 replies, posted in PunBB 1.2 troubleshooting)

Could you tell us the exact error message?

6,939

(1 replies, posted in PunBB 1.2 troubleshooting)

Not currently, but search for converter in these forums and you will find more info.

6,940

(20 replies, posted in General discussion)

Actually, paid hosting isn't that expensive. You can find decent hosting (as in better than free) for as little as $3 a month. You can here in Sweden at least. I'm guessing this applies to Canada as well.

Welcome Mike! :)

6,941

(14 replies, posted in PunBB 1.2 troubleshooting)

I will give it some though. Perhaps for 1.2? :)

6,942

(5 replies, posted in General discussion)

True. I will append the PunBB to the lang pack files when 1.1 is released.

6,943

(5 replies, posted in PunBB 1.2 troubleshooting)

Here you go. Just put this file in the forum root directory and run it. It will generate a file called mlist.txt containing a comma-separated list of all e-mail addresses in your forum.

<?php
/***********************************************************************

  Copyright (C) 2002, 2003  Rickard Andersson (punbb@telia.com)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/


require 'config.php';

require 'include/common.php';


if ($cur_user['status'] < 2)
    message($lang_common['No permission']);


$fh = fopen('mlist.txt', 'w');
if (!$fh)
    exit('Unable to open mlist.txt for writing.');

$result = $db->query('SELECT email FROM '.$db->prefix.'users WHERE id>1 ORDER BY id') or error('Unable to fetch user e-mail addresses', __FILE__, __LINE__, $db->error());

$num_emails = $db->num_rows($result);

for ($i = 0; $i < $num_emails; $i++)
{
    $cur_email = $db->result($result, $i);
    fwrite($fh, $cur_email);

    if (($i+1) < $num_emails)
        fwrite($fh, ', ');
}

fclose($fh);

exit('mlist.txt generated.');

Very nice. I've responded to your e-mail with a small request.

I'll move this topic into the mods forum where most of the other language related topics are located.

6,945

(5 replies, posted in PunBB 1.2 troubleshooting)

There is no such feature in PunBB, but writing a small script that does the job is easy.

6,946

(180 replies, posted in PunBB 1.2 troubleshooting)

No worries mate!

6,947

(180 replies, posted in PunBB 1.2 troubleshooting)

Are you remembering to visit the forums by entering that exact address in the address bar? If you have the adress without www in your Base URL and then visit the forums by going to www.amp..., it will not work.

Are you using a software firewall (Norton?) or any popup stopper? If so, try disabling them.

Or you can just e-mail it to me and I will upload it.

6,949

(180 replies, posted in PunBB 1.2 troubleshooting)

What do you have now and what address do you use to visit the forums?

6,950

(5 replies, posted in General discussion)

Hmm. How does that make it easier for someone updating their lang pack to work with 1.1?