z0rglub wrote:
Chacmool wrote:

I'm working on an Invision Power Board converter at the moment, so you could wait for it to be done instead if you want :) Or even better, you could beta-test the converter for me, beqause I don't have any large database to test with... (people tend not to be so happy about giving me their database backup-files to play around with :P)

Any idea about the date of the first beta test release of your IPB to PunBB converter ?

Yes: Three days ago :)

Edit: Created a new topic instead here.

Yann wrote:

No, just answering any topic. I'm using v 1.1.3.

Okay, great, then it's not my fault :P

Netfeed wrote:

too bad, it would be really nice to have such a system that works with postgresql too

Well, it might work. I didn't say it would'nt work :)

Can't you just test and see if it works?

Are you sure the information in your config is entered correctly? The PunBB-zip-file contains an example file, compare your file with that one and see if something's wrong.

Hello.

With post message, you mean the PrivateMessageSystem-mod?

Which version do you use? I know this have been a problem before, so I can probably make a fix for you.

Netfeed wrote:

one q: does the pms work on postgresql also? if not, will there be a version for it?

Actually, I don't know. I've not tested it on PostgreSQL :(

582

(4 replies, posted in Archive)

Vad är det som inte fungerar? Jag kunde iaf svara som guest.

Enough about Matt :P

Seem's like we're stuck with the second solution... I've uploaded a public beta to PunRes. Would be happy if people could test it for me. Only use this to help me make the converter! If there's bugs there, I won't help anyone by making a fix for an already converted forum.

BACKUP your database before using it!

I've tried to solve it now, and the code below works (almost :P) fine for me:

<?php
    
    define('PUN_TURN_OFF_MAINT', 1);
    define('PUN_QUIET_VISIT', 1);
    
    $pun_root = './punbb-pms/';
    @include $pun_root.'include/common.php';
    
    // If PUN isn't defined, config.php is missing or corrupt
    if (!defined('PUN'))
        exit('config.php doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');

    if ($cookie['is_guest']){

        echo "Guest user detected, please login instead";

    }

    else{

        echo 'Welcome '.pun_htmlspecialchars($cur_user['username']);

        require($pun_root.'pms/header_new_messages.php');
        echo $tpl_temp;
    
    }
    
?>

The problem is that $tpl_temp points to the url "href='message_list.php'", so the link don't really work. I can't help you with the problem where you can't include the file, unless you give us the url to the forum. I'm quote sure you have som path problem somewhere.

Rickard wrote:

I wasn't even planning on selling the large version, but most of you seem to prefer it, so I guess I'm gonna have to :D

Yay! More power to the people! :P

It feel's like the second option is better yes... hopefully most people have a valid mail entered.

Don't like his answer either.

Matt wrote:

Anyone who is counting the cost of the additional md5() needs to get some fresh air and quick!

I hash the salt. It makes me happy knowing there's one more MD5 going on in there to obfuscate the hash.
Do I need to do it? No.
Is there any point in doing it? Maybe a little.
Does it hurt? Nope.

Though, even if he changed it, we would still have the same problem.

I'm interested!

Q-PAD® Small?: 194 x 138mm
Q-PAD® Standard: 215 x 180mm
Q-PAD® Large: 250 x 190mm <-- I think I want the larger one...

I've got another problem, InvPB2 uses salt for their passwords, like this:

$hash = md5( md5( $salt ) . md5($pass) )

There's no "MD5-invers", so it feels like I'm stuck here. Bruteforce is not a solution, and requiering every user to re-register is not good either. One solution is to write a mod... Any other solution? What to do?

z0rglub:
I'm working on an Invision Power Board converter at the moment, so you could wait for it to be done instead if you want :) Or even better, you could beta-test the converter for me, beqause I don't have any large database to test with... (people tend not to be so happy about giving me their database backup-files to play around with :P)

About the problem: I have som join-querys in the converter, and the problem might be that I've not handled the Anonymous/Guest id-numbers correctly. Are you sure the posts/topics are converted to the new database at all?

Rickard:
I've not made any speciall upper/lower-case conversion, so it's possible that the upper case bb-code isn't converted at all =/ The parser code looks like this (copy-pasted from somewhere else, so I'm not sure what #i means):

$pattern...
   '#\[color=(.*?):[a-z0-9]{10}\]#i',

$replace...
   '[color=$1]',

590

(3 replies, posted in PunBB 1.2 show off)

Hehe, I agree! Really nice design :)

Rickard wrote:

Try this:

...

Yeah, I've done that already :) What I meant was what to do with it, just dump the BB-code completely or make it bold/italic or something instead, like this:

Change this:
<span style='font-family:Courier'>Courier</span>

To this instead:
[i]Courier[/i]
DougDBug wrote:
Rickard wrote:

ConnyT: Don't forget to add it to Punres.

Is there something I need to do to fix mine?

Whats Punres?

Thanks

It's a page where we try to collect all PunBB-mods, so it's easy to download them :) Url: punres.cactuz.nu

I've looked at a converter now (hmm, something to do with me having an exam next week? :P)

There's a few problems though... what should I do with the font and size code? (It's not BB-code in the database, so there's som regexp to do anyway):

Font: <span style='font-family:Courier'>Courier</span>
Size: <span style='font-size:14pt;line-height:100%'>7</span> 
madjedo wrote:
Chacmool wrote:

First, the errormessage mentions the file sheep.php. What's that? That line should be in header.php...

I mean, if the user have had any new PM's, it should be in art4gamers.net startpage not in the art4gamers.net/forum

Understand?

*sheep.php is my test file

Ahh, I see! I thought you hade problems in the forums :) It's a good idea though, I'll have a look at it tonight or tomorrow.

Sorry, I've missed this post completely :(

The converter can be placed anywhere, it has no connections to PunBB (don't use PunBB's database class). It seems like you've entered some info wrong when MySQL reports that cpayk_punforums.punbb_users doesn't exist :/

Although, it seems right if you have a database named cpayk_punforums, with the PunBB-prefix punbb_.

596

(43 replies, posted in PunBB 1.2 discussion)

marsbar wrote:

A converter exists now? That was fast! Thank you, Chacmool.
Since you need to study for an exam, I shall be more than happy to test the converter for you. Mind you, I haven't any experience switching forum systems before, so I am a total newbie at this. You can reach me at:
itsmarsbar(at)yahoo(dot)com.
Many thanks in advance.
- marsbar

Great!
miniBB is a small forum, and I used alot of code from my other converter, so it was quite easy :) There's a small bug left though, but I'll fix it soon (have some problems converting the last post-info on the main-page).

I've sent you an email with the url and some info. Please follow the important-issue (backup!) :)

First, the errormessage mentions the file sheep.php. What's that? That line should be in header.php...

Second, are you sure header_new_messages.php exists in the pms-directory?

Third, if it exists, does it have the right permissions so the webserver can open it?

598

(43 replies, posted in PunBB 1.2 discussion)

Well, I think it's done now :)

marsbar:
Can I get a dump of your database? If not, can you test the converter for me?

599

(43 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

Great! Then you can have a look at IPB 2.0 as well :P

Hehe, maybe... it'll take ALOT of time to do it.

I'm almost done with the miniBB->PunBB converter now though :)

600

(43 replies, posted in PunBB 1.2 discussion)

I might take a look at it... I don't have an ongoing project at the moment :D (Though, I have an exam next week, so don't expect too much :))

Hopefully I can reuse some code from the PhpBB-converter...