FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Convert from wwwboard
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Convert from wwwboard [message #17511] Thu, 01 April 2004 18:02 Go to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
I appear to have Version 2.0 ALPHA 2 of the wwwboard script. I downloaded the converter (zip version), unpacked it, uploaded it in binary mode (then downloaded it in Ascii mode so I could read it more easily). I set the required variable as follows:
$WWWB_MSG = "http://www.rpinet.com/wwwboard/forum8/messages";

Then I ran it.
It says:
Cannot open WWWBoard messages directory ({WWWB_MSG})

I don't know the difference between ALPHA 2 and ALPHA 2.1, but I am hoping this problem is something other than version incompatibility. Any ideas?
Re: Convert from wwwboard [message #17512 is a reply to message #17511] Thu, 01 April 2004 18:21 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
you need to specify the path to the directory on the file system not a url to it.

FUDforum Core Developer
Re: Convert from wwwboard [message #17513 is a reply to message #17512] Thu, 01 April 2004 19:44 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Thanks.

But I still must not know what a path is. I use the following:

$WWWB_MSG = "/usr/local/etc/httpd/htdocs/wwwboard/forum8/messages/";

and it gives me the same message as earlier.
Re: Convert from wwwboard [message #17514 is a reply to message #17513] Thu, 01 April 2004 19:45 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does that directory exist? If so does the user who you are running the script have permissions to that directory?
Re: Convert from wwwboard [message #17518 is a reply to message #17514] Thu, 01 April 2004 20:26 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
The directory exists (unless I typed the path line wrong). It has a small number of messages in it. CHMOD (via my cuteFTP) says it has 755 permissions. Further, the wwwboard itself seems to have access, because the board is working via a browser.
Re: Convert from wwwboard [message #17519 is a reply to message #17518] Thu, 01 April 2004 20:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try removing the trailing / from the path.
Re: Convert from wwwboard [message #17525 is a reply to message #17519] Thu, 01 April 2004 22:47 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
The trailing slash removed still responds with the same message. I notice that while the messages directory is 755, the forum8 and wwwboard directories are 711, if that can matter. I have several forums, so I also tried it with another one (forum5), and I get the same message.
Re: Convert from wwwboard [message #17526 is a reply to message #17525] Thu, 01 April 2004 23:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try to chmod those directories 755
Re: Convert from wwwboard [message #17527 is a reply to message #17526] Thu, 01 April 2004 23:46 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
That seems to have changed the picture. Now it seems to run, at least partially, and I get:
(/usr/local/forumdata/include/theme/default/db.inc:114
/usr/local/forumdata/include/theme/default/db.inc:263
/usr/local/forumdata/include/theme/default/users_reg.inc:133
/usr/local/etc/httpd/htdocs/wforum/wwwboard.php:157
) 1062: Duplicate entry 'Donna' for key 3
Query: INSERT INTO fud261_users ( login, alias, passwd, name, email, icq, aim, yahoo, msnm, jabber, affero, posts_ppg, time_zone, bday, last_visit, conf_key, user_image, join_date, location, theme, occupation, interests, referer_id, last_read, sig, home_page, bio, users_opt, reg_ip ) VALUES ( 'Donna', 'Donna', '0e83d4a632172ba36fc8535033cd4b2d', 'Donna', 'dlm86(at)juno(dot)com', NULL, NULL, NULL, NULL, NULL, NULL, 40, 'America/Los_Angeles', 0, 1080862935, '', NULL, 1080862935, NULL, 1, NULL, NULL, 0, 1080862935, NULL, NULL, NULL, 4357111, 2130706433 )
Server Version: 3.23.58
---------------------------
I have no idea what this all means, but obviously it opened the folder.
Re: Convert from wwwboard [message #17528 is a reply to message #17527] Thu, 01 April 2004 23:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It means that you have 2 users with the same name, but who's e-mails do not match. The attached file should handle the situation more gracefully.
  • Attachment: wwwboard.php
    (Size: 6.60KB, Downloaded 706 times)


FUDforum Core Developer
Re: Convert from wwwboard [message #17529 is a reply to message #17528] Fri, 02 April 2004 00:29 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Your help is absolutely priceless.

I got farther today than I dreamed I could.

However, I do seem to be stuck. The original wwwboard.php gave the output listed above when I ran it on forum5. It also created a batch of topics that it successfully converted (They appear to be older messages from about a year ago). When I changed it to point to forum8, the php routine gave me the same, or a very similar output message, but did not create an additional category or forum. When I downloaded and ran the one you offered here, it also did the same output message, and it also did not create a new category or forum. Perhaps there is a problem attempting to convert more than one forum? I did go in and change the name of the converted forum and its category, thinking it might be "in the way", but I still do not get anything to convert when I run it for forum8.
Re: Convert from wwwboard [message #17530 is a reply to message #17529] Fri, 02 April 2004 00:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
When message are you getting now (with the new script)?
Did you run the consistency checker?
Re: Convert from wwwboard [message #17533 is a reply to message #17530] Fri, 02 April 2004 06:28 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
At your suggestion, I ran the consistency checker. I also found I had to quit my browser and relaunch it each time. I have successfully converted two of my forums, and it works like a dream. The message says conversion was successful. Again, thank you for your help and patience. I'll be back with more questions, but not until I get my eight wwwboard forums converted and consolidated.
Re: Convert from wwwboard [message #17551 is a reply to message #17533] Sat, 03 April 2004 00:40 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Oops.
One more thing.
I ran all these wwwboard to fudforum conversions, and the conversions entered a couple of hundred posters from the wwwboard data as "members." Now when those posters go to register, they are told they are already members. But the conversion routine seems to have assigned them a password so that they can't just login with their name and no password.
Can you tell me what the default password is, or how it is created when a message is converted from a new person? I'm going to have hundreds of emails on Monday (I recklessly went public with the forum today!)
Re: Convert from wwwboard [message #17552 is a reply to message #17551] Sat, 03 April 2004 00:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The default password is totally random, to get access to their account they should click on the "forgot password" link on the login page. This will prompt them for their e-mail address and e-mail then instructions regarding how to access their account.
Re: Convert from wwwboard [message #17555 is a reply to message #17552] Sat, 03 April 2004 06:02 Go to previous messageGo to next message
WilliamBurns is currently offline  WilliamBurns   United States
Messages: 123
Registered: March 2004
Location: San Jose, CA
Karma: 0
Senior Member
Once again, thanks.
Is it possible to edit the message that goes out with the link that confirms the registration? I was looking to put a little more about my site at the top, rather than only a vague email address.
Re: Convert from wwwboard [message #17556 is a reply to message #17555] Sat, 03 April 2004 18:17 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can edit any text or HTML the forum output, that's the whole point of having a templating system Wink.

I believe the text you are referring is controlled by 2 entries inside the msg file for the language you are using:
register_welcome_msg & register_welcome_subject
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: User Name
Next Topic: User / Group Mng restricting views of forums
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 23:57:13 GMT 2024

Total time taken to generate the page: 0.02443 seconds