Run the converter on your localhost (copy the database and files from your hosting) and when you finish just upload the new database and files to the hosting provider. This will sure minimize data loss smile

And ofcourse, backup always smile

I think not, I had to change from /punbb/ to /forum/ after I'd completed the migration and everything works like a charm...

NHF...

Ennis wrote:

Im sure there is a easier way then this. One of the developers should know this question fairly quickly i would think. Forgive me if im mistaken. I'd prefer not to install any extensions, i have heard that some tend to screw up your profile, leak more memory etc.

Ofcourse there is an easies way, it is allways easier to ask rather then doing something yourself smile

We don't want to bother developers with things like this, they should be doing more important things tongue

As for the others -> http://punbb.org/forums/viewtopic.php?pid=71962#p71962

30

(5 replies, posted in General discussion)

http://img409.imageshack.us/img409/3290/extension1ry.png

What do you use regulary?

31

(3 replies, posted in Feature requests)

I wish PunBB 1.3 would send Header 404 to the clients if the page isn't found. I've migratet from PhpBB, and links like this one:

http://www.info-mob.com/forum/profile.p … e&u=27

are still in the search engines. PunBB says there is an error, but it sends "200 OK" header to the browser/bot. This way search engines keep track of many of my pages witch acctually aren't there anymore. Sending 404 error heading would solve this little problem...

I believe there are meni other pages like this one!

http://punbb.org/forums/viewtopic.php?id=11876#p71384

As I sad before, google can fight cloacking by picking a random page (or couple of pages) as MSIE or some other browser. I don't have anything more smart to say about this topic smile I guess google knows better smile

Install webdevloper extension in Firefox, and use CSS->View Style Information (ctrl + shift + y), hovering over element show all the css rules that are applied to the particular element. Clicking on it extract all CSS rules that are acctually used in the forums CSS.

Handy little extension smile

35

(16 replies, posted in PunBB 1.2 show off)

Lame...

And yet you have the nerve to come here and promote your site, WTF?!?!

36

(19 replies, posted in PunBB 1.2 show off)

hcgtv wrote:
Kato wrote:

BUT, PunBB community is not without it's own problems. There are a lot of things that could be done here to increase and promote the community and make it more accessible to everyone.

This is really up to Rickard, does he want to conquer the world or remain under the radar.

Frankly, I'd preffer staying under the radar...

@pogenwurst, if you know googlebots ip address what's the point in presenting itself as MSIE anywhey smile

@falconflyz, don't worry, we are not talking about you and your site, just shareing thought on this subject...

@CodeXP, yes I know that, it's just the first thing that crossed my mind..

@pogenwurst, what if google consumes to much bandwith of your site and you want to block it? This is just one of the examples...

Rickard wrote:
gog wrote:

I'm not so shure I agree. That would effect your statistics and wouldn't provide google with the means to "check your honesty" by switching his bot's header to something else and comparing the output.

It would affect the statistics, yes, but if Googlebot appeared as IE6, how would you cloak? smile

Everything has it's pros & cons, like everything else in life smile

I'm not so shure I agree. That would effect your statistics and wouldn't provide google with the means to "check your honesty" by switching his bot's header to something else and comparing the output. If you are cloacking your URL's (chances are you are probably doing some other black hat SEO technics as well) you are deceiving google and users - google only indexes publicly available information. If you force someone to register it isn't publicly available anymore.

You are serving one page to the google and the other for the reuglar surfer -> that's cloacking. Mind the fact that you show the same thing to the registered user.

Mind me for saying this, but don't be an ass and let people view your content for free. Forceing someone to register so he can view the board is just mean. You don't get anything out of it (unless you are a spammer), only more users on your board with 0 posts...

42

(19 replies, posted in PunBB 1.2 bug reports)

OK, that is not normal smile

Anybody interested? smile

44

(19 replies, posted in PunBB 1.2 bug reports)

You can have a lot of users with the same IP, there is nothing wrong with this. They could be behind a proxy, or just using NAT on theri firewall. Bannin IPs is a bad practice. In my country 99.99% users don't have static IPs.

45

(49 replies, posted in General discussion)

vBulletin is for serious forum communities that need all the extra juice (reputations, advanced moderation, PM-s, user managment, modarator controll, user notes, etc.) And I'm not so shure how well would PunBB stand with a couple of milions of posts, tens of thousunds of users, etc...

@falconflyz, FYI you can get blacklisted on Google for such things..

I don't bother registering on websitet that force me to do soo. If I'm not lucky on http://www.bugmenot.com/ I usually pass...

I need this functionality for one of my projects as well, so if somebody can help mi create a function that handles title -> url conversion it would be great. I've downloaded Textpattern today, and this is what I've found so far (didn't have time to investigate it thoroughly):

in /include/txp_category.php:

    function cat_event_category_create($evname)
    {
        global $txpcfg;
        
        //Prevent non url chars on category names
        include_once txpath.'/lib/classTextile.php';
        $textile = new Textile();
        
        $name = ps('name');        
        $title = doSlash($name);                
        $name = dumbDown($textile->TextileThis(trim(doSlash($name)),1));
        $name = preg_replace("/[^[:alnum:]\-_]/", "", str_replace(" ","-",$name));

        $check = safe_field("name", "txp_category", "name='$name' and type='$evname'");

        if (!$check) {
            if($name) {                
                $q = 
                safe_insert("txp_category", "name='$name', title='$title', type='$evname', parent='root'");
                
                rebuild_tree('root', 1, $evname);
                
                if ($q) cat_category_list(messenger($evname.'_category',$name,'created'));
            } else {
                cat_category_list();
            }
        } else {
            cat_category_list(messenger($evname.'_category',$name,'already_exists'));        
        }
    }

Textile class is located in /lib/classTextile.php and the class constructor and TextileThis method do the following:

    function Textile()
    {
        $this->hlgn = "(?:\<(?!>)|(?<!<)\>|\<\>|\=|[()]+)";
        $this->vlgn = "[\-^~]";
        $this->clas = "(?:\([^)]+\))";
        $this->lnge = "(?:\[[^]]+\])";
        $this->styl = "(?:\{[^}]+\})";
        $this->cspn = "(?:\\\\\d+)";
        $this->rspn = "(?:\/\d+)";
        $this->a = "(?:{$this->hlgn}?{$this->vlgn}?|{$this->vlgn}?{$this->hlgn}?)";
        $this->s = "(?:{$this->cspn}?{$this->rspn}?|{$this->rspn}?{$this->cspn}?)";
        $this->c = "(?:{$this->clas}?{$this->styl}?{$this->lnge}?|{$this->styl}?{$this->lnge}?{$this->clas}?|{$this->lnge}?{$this->styl}?{$this->clas}?)";
        $this->pnct = '[\!"#\$%&\'()\*\+,\-\./:;<=>\?@\[\\\]\^_`{\|}\~]';
        $this->urlch = '[\w"$\-_.+!*\'(),";\/?:@=&%#{}|\\^~\[\]`]';
    }

// -------------------------------------------------------------
    function TextileThis($text, $lite='', $encode='', $noimage='', $strict='', $rel='')
    {
        if ($rel)
           $this->rel = ' rel="'.$rel.'" ';

        $text = $this->incomingEntities($text);
        
        if ($encode) {
            $text = str_replace("x%x%", "&", $text);
            return $text;
        } else {
        
            if(!$strict) {
                $text = $this->fixEntities($text);
                $text = $this->cleanWhiteSpace($text);
            }
    
            $text = $this->getRefs($text);
    
            $text = $this->noTextile($text);
            $text = $this->links($text);
            if (!$noimage) {
                $text = $this->image($text);
            }
            $text = $this->code($text);
            $text = $this->span($text);
            $text = $this->footnoteRef($text);
            $text = $this->glyphs($text);
            $text = $this->retrieve($text);
    
            if (!$lite) {
                $text = $this->lists($text);
                $text = $this->table($text);
                $text = $this->block($text);
            }

                // clean up <notextile>
            $text = preg_replace('/<\/?notextile>/', "", $text);
    
                // turn the temp char back to an ampersand entity
            $text = str_replace("x%x%", "&", $text);
    
                // just to be tidy
            $text = str_replace("<br />", "<br />\n", $text);
    
            return $text;
          }
    }

I need to find what some other functions do (ps, doSlash, dumbDown, safeFiels,..) before I'll be able to comprehend what is exactly going on. The biggest problem, as I see it, is replacing characters with caron, acute, stroke, etc. with the plain letter (without caron, acute, stroke, etc.). And after replacing all the invalid characters, replacing spaces with dashes, and droping other invalid characters (',",\,/, etc.) you can pass the string through PHP's urlencode() function to be safe.

I think there is one thing missing in this administration panel. I would like my members to be able to delete their own posts only if that is the last post in the thread.

Yes, Stahn is right, there should be te last topic subject on the index...