Why is this?

No problem. It still lacks some functions. I'm working on it.

578

(10 replies, posted in PunBB 1.3 extensions)

No, you can't. <lies>I can make it an extension right now...</lies>

Your 'functions.php' is certainly modded. Download a fresh one and carefully apply your mods.

I'll start working on that.

The bans table is already part of the core. Though, I think I should add a new table for Akismet-rejected posts, so admins can un-ban users or delete posts.

hcgtv wrote:

...an extension for 1.3 wouldn't be a bad idea either.

Just made it... please test it smile http://punbb.informer.com/forums/topic/ … rotection/.

This extension uses the Akismet API to process posts and sort out spam.

You can enable it and set your API key on Administration » Settings » Setup

You can administer spam posts on Administration » Extensions » Manage Extensions

Download Link: http://punbb.informer.com/unofficial/pu … kismet.zip

If you find any bugs or have any tips, please post them here.

Updates

  • 1.1: Added spam posts administration

  • 1.0: First release

Note: You need an API key from http://wordpress.com/api-keys/.

P.S: Thanks to PS from Punres for "base" code.

A 1.3 update?

585

(56 replies, posted in PunBB 1.3 extensions)

You can't...

EXTENSIONS -> PunBB 1.3.*
Plugins, mods, you name it -> PunBB 1.2.*

Add a CNAME record:

Name: domain.com.
Real name: www.domain.com.

This can be done from your registrar's site (GoDaddy, etc.).

It shows you as logged out because the cookie set by PunBB is domain-specific.

As for the WWW problem, you should decide whether to use the WWW or not and install PunBB from the domain you want to use it (WWW and non-WWW URLs are considered different domains by DNS [i think]).

Line 183 on 'index.php':

        if ($cur_forum['moderators'] != '' and strlen('aa') == 0)

589

(10 replies, posted in PunBB 1.3 extensions)

Plugins from 1.2 CANT be used on 1.3.

590

(8 replies, posted in PunBB 1.3 troubleshooting)

Like I said, I have yet to find out where/when the language packs are loaded. Try to look at header.php, it's probably there.

591

(8 replies, posted in PunBB 1.3 troubleshooting)

I'm not sure how $lang really works (haven't checked that part of PunBB, yet), but you could do something like:

if($forum_user['is_guest'])
{
    $snip = array_pop(explode('.', $_SERVER['HTTP_HOST']));
    if($snip=='sk') $use = 'slovak';
    elseif($snip=='cz') $use = 'czech';
    //Change the language pack according to $use
}

592

(8 replies, posted in PunBB 1.3 troubleshooting)

Why not just

$base_url = 'http://'.$_SERVER['HTTP_HOST'].'/online';

Though, this creates an issue with cookies and sessions. (Both my solution and yours)

I'd get a .com domain and let the users choose the language and set it on a cookie that could be read by both the forum and your pages.

Edit: For your $dont_know_what variable:

$lang = array_pop(explode('.', $_SERVER['HTTP_HOST'])); //should return "sk" or "cz"

Yeah, it looks fine to me, too. Internet Explorer 7, Windows Vista.

Posted by Anatoly on a different topic: http://forum.developers.facebook.com/

grudon66 wrote:

Opera is better in Html and Css, and it is faster than FireFox. Try Safari (is also to Windows now) in html and css it should be better than Opera and FireFox, though i haven't tried it yett.

http://blogs.zdnet.com/hardware/images/sunspider_safari_31.jpg

Is Opera faster?

Note: That test is kinda old.

Acid3 test:
Opera 9.62:
http://upload.wikimedia.org/wikipedia/c … 2Acid3.PNG

Firefox 3.1b2:
http://upload.wikimedia.org/wikipedia/c … dAcid3.png

Is Opera "better in HTML and CSS" (and JavaScript)?

596

(56 replies, posted in PunBB 1.3 extensions)

Well, I'd show you how to use it with some screenshots, but I'm thousands of miles away from my PC, Sorry. I'll post back the day after tomorrow with some screenshots, if you want.

597

(56 replies, posted in PunBB 1.3 extensions)

Casemon, use Firebug to see which CSS statements are applied to the input.

I personally think Firefox is the best browser to "develop" on.

598

(56 replies, posted in PunBB 1.3 extensions)

Oh, that... I thought you meant the input's width. Do you use Firefox? If so, go to Firefox's addons site and get Firebug. Let me know when you do.

parpalak wrote:

Use Opera

sad

600

(56 replies, posted in PunBB 1.3 extensions)

Why would you want to do that? It looks fine that way.