|
| Index | Recent Threads | Unanswered Threads | List Polls | Public Albums | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Thread Type: Announcement Thread Total posts in this thread: 24
|
|
| Author |
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
Humm, after convertion, I've some problems with 'Rebuild Post Search Index' RC4 has problem of rebuilding a lot of posts. This has been fixed in the 1.0 GA dev. Please check out CVS and use the latest CVS version (currently it is in the stable status) Cheers ![]() ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
Stranger Joined: Apr 10, 2005 Post Count: 11 Status: Offline |
Thanks, I've to try it I've founded an error in convertion script In public static void migrateposts(Connection php, Connection mvn, PrintStream ostream) throws SQLException After : String MemberID = RS.getString("poster_id");Add : if(RS.getInt("poster_id") == -1) {If you have previously enable Guest posting And if you want to convert BBcode & smilies, you can replace function wrapit by: |
||
|
|
Newbie Joined: May 22, 2005 Post Count: 21 Status: Offline |
Hi redzara/minhh : Looks like redzara is making a lot of fixes for the converter. Has the converter been pulled into the mvnForum CVS already ? It would be great to capture all these changes redzara is making. _anand |
||
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
Hi redzara/minhh : Looks like redzara is making a lot of fixes for the converter. Has the converter been pulled into the mvnForum CVS already ? It would be great to capture all these changes redzara is making. _anand Hi all, Thanks for your work on this, and it is in the TODO with high priority to officially support soon ![]() ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
Newbie United States Joined: Jul 13, 2005 Post Count: 24 Status: Offline |
As I found out the hard way, there's an SQL injection vulnerability in this due to lack of escaping of \ to \\. In Utils.java: if (text.charAt(i) == '\'') {Also, to prevent NPE's: Insert: if (text == null) {immediately after public static String wrapit(String text). Hmm, while we're at it, how about if I write in support for [quote="foobar"] so we don't have to strip it out of the bbcode tags? :) ---------------------------------------- [Edit 1 times, last edit by lizthegrey at Jul 29, 2005 1:00:11 AM] |
||
|
|
Newbie United States Joined: Jul 13, 2005 Post Count: 24 Status: Offline |
Alright. Not tested, and it's 6:30 PM and time for me to go home, but here's a start. In Utils.java: // regular quoteIn Migrator.java: String PostBody = Utils.wrapit(posttextrs.getString("post_text"));In EnableMVNCodeFilter.java (in myvietnam libraries): // Deal with fancy shmancy [quote="foobar"] stuff. |
||
|
|
Newbie United States Joined: Jul 13, 2005 Post Count: 24 Status: Offline |
Alright, got a bit more done with a private message convertor, I'll have something to post on that front in about an hour after I've had a chance to sort out the kinks and figure out what some of these mvnforum db fields do and test the final result. |
||
|
|
Newbie United States Joined: Jul 13, 2005 Post Count: 24 Status: Offline |
Let's give this a try. Running it on my monster database of 30,000 private messages, but it's not throwing errors, a glance at the sql says it's okay. ---------------------------------------- [Edit 1 times, last edit by lizthegrey at Aug 5, 2005 11:14:35 PM] |
||
|
|
Stranger ![]() Joined: Nov 14, 2004 Post Count: 11 Status: Offline |
curious how the coverter handles vote, as mvmforum doesn't have this function yet, but phpbb has it. |
||
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
curious how the coverter handles vote, as mvmforum doesn't have this function yet, but phpbb has it. Of course, the vote is not converted Cheers, ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
|
|
|
Current timezone is GMT Jan 8, 2009 4:01:02 PM |


