News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[SMF Converter] Invisionfree/ActiveBoards/iPBfree

Started by nneonneo, August 13, 2007, 11:00:47 PM

Previous topic - Next topic

DeadSnipe

Thanks nneonneo for helping with the conversion. I'm sure you found some bugs while dealing with my stupid proboard conversion lol. Everything is fine and converted except for 1 thing.... when i sent out the PM's for the passwords using the pm_passwords.py file, i had to set the waittime to 17 seconds even though i'm admin. What's weird is that the very first time i tried doing the pm_passwords.py, it started to send using 0 waittime. So i don't know what happened between there and now. But it is sending PM's as i type this post on my other PC. Roughly bout a 20 minute wait but it's only 1 time so i'm cool with it, although if this is a bug, people who have like 200+ members will not be happy lol.

Thanks again!

nneonneo

#61
Heh, I've seen boards with 2000+ members. If the PMs took that long to send on those forums, I can imagine people would be unhappy.

I'll see about that. Maybe it's necessary to have 1 or 2 seconds between PMs.

EDIT: Argh, Proboards went and changed this on me. So, now, 15 seconds is the minimum time between PMs for *everyone*, including admins.

That is quite annoying. There's nothing I can really do about that, so waittime is now going to be 17 seconds for everyone.

(as for why I chose 17 seconds, well, it's a safety thing. If you're adventurous, you can make it 16 or 15. Don't blame me if it doesn't work.)
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

DeadSnipe

I tried 1 and 2. Even 5.

With 1 second waittime it sent 1 PM then it gave me the error.
With 2 second waittime it sent 2 PM's then it gave me the error.
With 5 second waittime it sent like 3-4 PM's then it gave me the error.
So i just went with the 17 default so i wouldnt be there all day lol.

nneonneo

Yeah, I tried it on my own test mini-forum, and it throws the "15-second" error even when logged in. I'll change the instructions to reflect this change (minor, but irritating nonetheless).
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

DeadSnipe

Oh, one question. When you do the conversion, it changes everyone's password, right?........... so then, you activate the pm_passwords.py file and it's suppose to send PM's to everybody to let them know their password has changed. How can people know to check their PM when they can't even log in since their password has changed? I'm sure most of the non-clan members will be like, "oh well, i'll try later or something".... then forget and never come back.

Would be better (if possible) to send the auto-message to their registered email that is on their profile, so it makes sure they got their message. Don't know if this can be done or not though.

nneonneo

It sends the message to the Proboards account. That password is not changed.

So, what they'll do is login to Proboards like the always do (usual username and password), read the PM, and then know the password for the new forum.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

DeadSnipe

Hmm... weird. The members that contacted me asked if something changed on the forum because their log-in doesnt work. They thought i deleted them or something LoL. I'll have to check this out and see if it's something on their side or what...

Thanks,
- Dead

nneonneo

#67
The Proboards forum?? That should not happen.

EDIT: I can log in to the Proboards forum with my "old" password (the one I used to sign up) and I can log in to the new SMF forum using the password in the PM. So, I am guessing that it is not a problem for everyone, maybe just a few users.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

jasonp

Are the older versions still attached?  I dont seem to see anything except the newest one, but I'm probably looking in the wrong place.  I'm trying to convert a proboards board, and for some reason it only pulls in the first 30 usernames (The ones that appear on the first page when I browse the members).  After it pulls those in, it continues on and gets all the posts.  I dont remember it doing that in the last version, but maybe I just didn't notice.  If the old version of members_topics_posts.py is posted somewhere, I'd like to try it and see if I still have the same issue.  Thanks!

nneonneo

I do remove older versions, but thanks for letting me know. I probably went and broke the page detection, so I'll get on that right away. Thanks!
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

jasonp

Hmm. I think I got it.  I'm not sure if it was always like this, but it seems to default to 30 per page now.  I made this change and now it seems to work (I have ~140 members)

changed:

req=urllib2.Request(URL+'?action=members',headers={'COOKIE':COOKIEDATA})
to:   

req=urllib2.Request(URL+'?action=members&view=all&perpage=150&page=1',headers={'COOKIE':COOKIEDATA})

nneonneo

That's really odd, since it's working for me :-\

I think it was always 30 per page. Do you have a board URL so I could have a look?
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

TriumphTalk

Well I am presently looking at converting from IF so I hope this will come in handy   
Four wheels move the body. Two wheels move the soul

greya

hi all, trying to get this done before proboards totally messes it up with version5 :o

I've defined my hxxp:settings.pl [nonactive] and followed every last detail of the Instructions.txt file included in the Proboards subdirectory, but when running the script on my fedora/python2.5, I get this:

# python members_topics_posts.py
Traceback (most recent call last):
  File "members_topics_posts.py", line 22, in <module>
    exec file("../common.py", "rt").read() in globals(), locals()
  File "<string>", line 2
   
    ^
SyntaxError: invalid syntax



I'm good with many languages, but a complete dolt when it comes to python, don't even know where to start here.  Any ideas?

nneonneo

I thought I fixed that. Guess not!
Presumably, you know about line endings, and how they differ between Windows and Linux (if you don't, don't worry). Just open up every Python file in the distribution, and save it in "UNIX/Linux" format. That should clear that error.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

greya

ahhh ok - will do a find/replace to convert to linux standards

the line-ending thing always amused me, i mean COME ON can't we at least have a standard on THAT! lol


[EDIT]
hmm, so far not working, same error.  *ponder*

nneonneo

Yeah, I would love a proper standard on it.

Anyway, I did fix it, but I had forgotten to include the modified common.py file in the archive! So, now I've put a proper version of common.py in the archive; hopefully this saves you some time. Sorry about that!

As for version 5: well, I don't know how different it will be, but I suspect I've already converted boards with version 5 features. Hopefully it'll be mostly minor, so I can simply fix up the regex core and have a working v5 converter :)
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

greya

yep! that did it!  odd my conversion didn't work, but the new download works perfectly on linux! thanks much! *does a little dance*

greya

OK, script is done now, looks to have ended in error


Renumbering Posts
Traceback (most recent call last):
  File "members_topics_posts.py", line 560, in <module>
    postdata[i][10]=parseformats(postdata[i][10])
  File "members_topics_posts.py", line 216, in parseformats
    fmtdata+=parseformats(text[:-(len(rest)+len(fe))])+endtag # gotcha! the end of the tag. Now, process the innards for nested tags.
  File "members_topics_posts.py", line 164, in parseformats
    starttag='[size='+str(min(int(rest[len(' size="'):].split('"')[0]),9))+']'
ValueError: invalid literal for int() with base 10: '1,5'

nneonneo

Err, that's weird, it looks like altered BBCode to me. Can I get your Proboards forum URL, or settings.py, in a PM? I will check it out. Maybe Proboards has changed something.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Advertisement: