Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: sharks on June 21, 2010, 12:26:34 PM

Title: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on June 21, 2010, 12:26:34 PM
Have you ever wanted to have a forum instead of your blog? Or a forum to go along with your blog? But the biggest problem is that you don't want to have to manually transfer all your posts from your blog into your new forum by posting one by one into the forum. But now, there exists the ultimate solution!

Whatever blog you are currently using, just convert it to WordPress (you can easily do that using WordPress Import settings) and then use the following WordPress plugin to easily convert ALL your blog posts and comments into an SMF forum. The whole process is automated and very fast, depending on how many blog posts you are converting. I have personally tested this and it works GREAT! The developer of this excellent plugin, SchattenMann, is very active and helpful. You should drop by the plugin's homepage and say thanks to him for his continuous hard work. Converting any blog to an SMF forum has been impossible up until now, so enjoy! :D

Note: In the current v0.4, this plugin will only convert WordPress to SMF 2.0, but the developer has announced he will work on adapting his plugin to export WordPress posts to SMF 1.1 later on. So, keep checking the plugin's homepage for more updated information on this excellent plugin's development. See link at the end of this post.




WPSMF - Wordpress to SMF (currently v0.4 - updated version!)

Author: SchattenMann

Automatically posts wordpress post to a SMF board.

WPSMF adds Wordpress posts as topics in SimpleMachines Forum 2.x, and allows to put a link to the topic below the Wordpress post.

Contains a Synchronize utility for latter use if WP already contains posts.

In order to use you need to provide your SMF (local) Path and map WP users to SMF user ID.

Also only posts in Categories with a corresponding SMF board ID are Synch.
WP COMMENT EXPORT IS IN BETA. PLEASE USE IT CAREFULLY
Script tested up to 15000 comments exported without problems!
Main features:

* SMF post is added when the Wordpress post is published
* SMF post is updated any time the WP post is updated
* SMF Comment is added when the Wordpress post is published
* SMF Comment is updated any time the WP post is updated
* It is possible to show the link to the topic bellow Wordpress Post
* It is possible to map a WP Category to a SMF Topic
* It is possible to map a WP User to a SMF User
* Supports all HTML
* Include a "check all" option when using the "synchronize" menu
* Option to remove WP posts from SMF
* Remove trackback and pings from comment export
* Option to enable/disable auto post function
* Fancy filtering option on export utility

Admin page options:

* WP Category to SMF Board ID to post to
* WP User to SMF User ID to set the post author
* SMF Forum path
* Link from Wordpress to Forum text
* Choose SMF Charset
* Enable/Disable auto post

To Do List:

* work with SMF 1.1.11
* Export WP Users to SMF
* Export WP Categories to SMF
* Create uninstall script
* Import from SMF to WP

Is it broken?
Tell me where so i can fix it!

Don't you like it?
Tell me why so i can improve it!

Do you like it?
What's missing so you love it?

Do you love it?
Buy me a beer!


Download the latest version (currently 0.4)
http://wordpress.org/extend/plugins/wpsmf/

For all support questions, you should first read the other support threads and then post a new topic here:
http://wordpress.org/tags/wpsmf
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on June 21, 2010, 12:29:17 PM
I think this topic should be moved to the Tips & Tricks board?

I have been asking around this forum for a long time for a WordPress blog converter, but all attempts have been unsuccessful. However, after much perseverance, i am so glad that a very skilled WordPress developer finally got the great idea to do it. :D I have written this guide above and hopefully it will help many others like me, who want to allow their blog members to enjoy the more advanced features of an SMF forum.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Liam. on June 22, 2010, 03:33:57 PM
Congrats on releasing it! I think something like this should be official; people have been waiting for a manual WP2SMF converter for a while now ;) Well done, but how does it handle HTML to BBCode?
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: ~DS~ on June 22, 2010, 04:45:24 PM
Beautiful it works. Guess I will be switching to WordPress once again for Posterous.
There is a Posterous Importer: http://wordpress.org/extend/plugins/posterous-importer/
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on June 22, 2010, 05:56:59 PM
This is seriously major news, for all of us. There is no more boundaries between having a blog and then wanting a forum, which is a normal progression, as any successful blog would obviously go well with its forum. ;)
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: ~DS~ on June 22, 2010, 06:13:22 PM
Quote from: sharks on June 22, 2010, 05:56:59 PM
This is seriously major news, for all of us. There is no more boundaries between having a blog and then wanting a forum, which is a normal progression, as any successful blog would obviously go well with its forum. ;)
There is a bug with it as well which auto publish blogs with importer.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on June 23, 2010, 09:49:17 AM
I assume that any bugs will be fixed quickly as the developer constantly releases bug fixes and new improvements.
As for Posterous Importer, or any other third party plugins, these are not priorities at this time, as the primary objective of this plugin is to make it work with WP and SMF (currently, neglecting interferences from any other plugins). That is exactly what it is meant to do and it is already doing that very well.

And let's not be too greedy and forget that he's doing all that work for free. ;)
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Nao 尚 on July 07, 2010, 02:42:16 AM
Why doesn't 'SchattenMann' post this himself...?
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on July 07, 2010, 09:15:58 AM
Quote from: Nao on July 07, 2010, 02:42:16 AM
Why doesn't 'SchattenMann' post this himself...?

Because i'm a great fan of his latest work, and i want to help him. ;)
I have already informed him of this post here. He's too busy coding in his free time, to bother with advertising his work to the world.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Nao 尚 on July 07, 2010, 10:39:53 AM
What, he didn't post that anywhere, he's just sending his files to you?
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on July 07, 2010, 11:16:04 AM
Quote from: Nao on July 07, 2010, 10:39:53 AM
What, he didn't post that anywhere, he's just sending his files to you?

LOL
http://wordpress.org/extend/plugins/wpsmf/

Many SMF members would not know about it, as it's a very new plugin and searching on SMF forums would not bring any useful results, so they would have to search on WordPress, which wouldn't come to most people's mind to look there, in the first place. :D

And i'm about to buy him a beer, right about now. ;)
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: ~DS~ on July 08, 2010, 02:59:08 AM
Quote from: Dismal Shadow on June 22, 2010, 06:13:22 PM
Quote from: sharks on June 22, 2010, 05:56:59 PM
This is seriously major news, for all of us. There is no more boundaries between having a blog and then wanting a forum, which is a normal progression, as any successful blog would obviously go well with its forum. ;)
There is a bug with it as well which auto publish blogs with importer.
Fixed in 0.4 :)
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: CanonRumors on July 20, 2010, 07:41:45 PM
I love this and the idea of it.

However, there is a much needed functionality for really busy wordpress sites.

I'd love to have my forum on a different dedicated server than my site. However, the plugin isn't set up to do so.

Is there a way to do it?


Thanks
cr
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on July 20, 2010, 11:11:52 PM
Quote from: CanonRumors on July 20, 2010, 07:41:45 PM
I love this and the idea of it.

However, there is a much needed functionality for really busy wordpress sites.

I'd love to have my forum on a different dedicated server than my site. However, the plugin isn't set up to do so.

Is there a way to do it?


Thanks
cr

Yes, i remember reading about this same question from one of the support threads. Now, just have to find that thread...

Here it is: http://wordpress.org/support/topic/415919
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on July 24, 2010, 02:21:44 PM
Hi!

Realy great Mod :)

But sorry I have problem with Comments Export, and I exported ~ > 700 post from blog (WP v3.0) into SMF 2.0 (RC3) with no problem,
and when I try export ~ < 300 comments I see trhis error:

QuoteWarning: array_unique() [function.array-unique]: The argument should be an array in /xxx/xxx/blog/wp-content/plugins/wpsmf/comments.php  on line 279

Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /xxx/xxx/blog/wp-content/plugins/wpsmf/comments.php on line 313

Warning: Invalid argument supplied for foreach() in /xxx/xxx/blog/wp-content/plugins/wpsmf/comments.php on line 317

No POST Availiable

But, I have comments (297) ?? And I needed The Commens to..


And this is the code:

~ 279 + -->

<?php
//CRATE AN ARRAY WITH UNIQUE POSTS WITH COMMENTS ONLY
$post_id array_unique($post_id);

//ONLY THEN FILTER

 $args_to_show = array(
 'post__in' => $post_id,
 'numberposts' => '-1',
 'post_type' => 'post',
 'meta_key' => 'smf_topic_id',
 'orderby' => 'ID',
 'order' => 'ASC'
 );
?>




~ 313 + -->

<?php
//FIND THE DIFF
$diff array_diff($all_comments_id$comments_exported);

$v false;
$q '';
foreach($diff as $comment) :
 if($v){
$q $q.',';
}
$q $q.$comment;
$v true;
endforeach;
?>




~ 317 + -->

<?php
//FIND THE DIFF
$diff array_diff($all_comments_id$comments_exported);

$v false;
$q '';
foreach($diff as $comment) :
 if($v){
$q $q.',';
}
$q $q.$comment;
$v true;
endforeach;

//RETURN A SQL FORMATED STRING WITH IDS
?>



Can somebody help me quickly, please?

Thenks

Regards :)
roco

.

PS. Fresh SMF + mods and fresh WP 3.0 + plugins adnd theme
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on July 24, 2010, 02:28:38 PM
Hi  roco

You should post your problem at the official support forum where the developer of this plugin will personally reply and hopefully resolve your problem.

http://wordpress.org/tags/wpsmf
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on July 24, 2010, 03:25:26 PM
Okie Dokie :)

But I see 2 point

1. - I dont see the widget on WP (the links to exported post, now I know haw to - is in readme "singel.php") so the function from SSI.php on teh sidebar..

2.  Why with export isn't exported the link to the art. (post) from WP? so I needed to..

Okay, I go to Your link.. for the answer..

But i think here is help wonted to.. ;)

THX

Regards :)
roco

// Edit:

OK. I posted my problem here: http://wordpress.org/support/topic/428400 but no reaply..
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on July 30, 2010, 02:31:43 PM
Hi :)

I found the error cause. In no case is the fault of this great plugin.
I'm sorry but I was really very busy

Earlier I made the conversion from Nulecleus to Wordpress. The base has been cleaned and are from the old blog entries and comments only. 700 posts and 300 comments.
I started to browse the files in the plugin and I looked through the database. It turned out that the table wp_commens in a cell of the table -> "comment_type" I found at all the entries (for all the comments), entry: "comment"

(http://poligon.ricoroco.com/fora/foto/uploads/167cbe7e51.jpg)

I cut out all the entries, "comments" and plug it worked perfect. With the speed of light .. wow :)

Therefore verry sorry for the confusion, I should myself .. :)

Widget to work, but in spite of utf-8 encoding and the Forum and the Blog is on the sidebar you could see a problem with encoding. This can be solved in such a way that should cut imposed on charset.

The file "widget.php", please see this piece of code:


               <?php
                  
foreach($ssi_recentTopics as $topic):
                     echo (
'<li><a href="'.$topic[href].'">'.utf8_encode($topic[subject]).'</a></li>');
                  endforeach;
               
?>


And replace the code for this code:


               <?php
                  
foreach($ssi_recentTopics as $topic):
                     echo (
'<li><a href="'.$topic[href].'" target="_blank">'.$topic[subject].'</a></li>');
                  endforeach;
               
?>


While the problems are with the correct display...


Two things are very much needed.
- The date when the blog entry
- A link back to the blog entry

Otherwise we have exactly the same thing on the blog and the Forum, and we know how it looks google...

In the exported entries is not the date of creation, or there are no backlinks to the post.
And it is this very bad. We thus lose the position, and even get a ban.

I found a solution, thanks to @amistad18 for help!, - from  unofficial suport wordpress-forum (polish).
http://www.wordpress.org.pl/WPSMF-Eksport-postow-z-WP-do-SMF-t10743.html (http://www.wordpress.org.pl/WPSMF-Eksport-postow-z-WP-do-SMF-t10743.html)

The plugin adds entries to the forum in the tags
I thought that I might add, before [/ html ] annotation such as this:

[Published on the blog: 2010.03.20 9:54:08 pm | Link to Entry: The next 500 years]

Then we have a postscript at the bottom of the post, where he is and the date and a link to the article.

example:

(http://poligon.ricoroco.com/fora/foto/uploads/e332a7e97b.jpg)

And as we have unfortunately seen a date format of "-" instead of eg "."

It is not very important, but we know that Wordpress used a universal format for XML. Just is not possible to change this situation. and good luck ..
But since you get that date, it is already formatted, or otherwise we have a string, and if so, what's the problem replace these characters?
I managed to reach the required thanks to my date format.
Like this:

(http://poligon.ricoroco.com/fora/foto/uploads/daf4947b47.jpg)

But beware, guys, cold shower .. I saw a blog post btw. change date formats:

(http://poligon.ricoroco.com/fora/foto/uploads/6141e76906.jpg)

hehe wow that a lot of reasons ..

Okay @Sharks, tell the author that really is a strong need to add the date when the article and a link to this article.
Please

You can not "save the world" all the time, I hope that the author, and sometimes pauses for a cigarette or coffee, perhaps? May have found a little time to modify the code?
This plugin is really great, but it lacks a few lines of code that was wonderful .. Can you tell the author? You know my English is worse than bad ..

= = = = = =

Okie dokie
but..

I'll show you, guys, how you can do yourself.

You need to find the file "posts.php", such a fragment:

<?php // <-- without this line

      
$body apply_filters('the_content'$body);
        
$body str_replace(']]>'']]&gt;'$body);
      
      
$body '[html]'.$body.'[/html]';
      
      
//GET THE POSTER INFO

// and without this line --> 
?>




And replace it with this code:

<?php //without this line

      
$date $queried_post -> post_date;
      
$date str_replace('-''.'$date);

      
$link $queried_post -> guid;

      
$post_bonus '<p align="right" style="font-size:7pt; font-weight:500; font-family:Arial; padding:0; margin:6px 0;">[ Published on the Blog: <b>'.$date.'</b> | Link to Entry: <a title="'.$subject.'" href="'.$link.'" target="_blank"><b>'.$subject.'</b></a> ]</p>';

      
$body apply_filters('the_content'$body);
      
$body str_replace(']]>'']]>'$body);

      
$body '[html]'.$body;
      
$body .= $post_bonus.'[/html]';
      
      
//GET THE POSTER INFO

// and without this line --> 
?>


And after, whan the format of date is not ok, you can simply coment this line:

      $date = str_replace('-', '.', $date);

like this:

   //   $date = str_replace('-', '.', $date);

And after this the date from WP is "normal" so.. like ~this --> MM-DD-YYYY


Okay, the Blog is HERE (http://unicorn.intercafe.org/blog/) and the Forum with exported 700 post and 300 comments from WP is HERE (http://unicorn.intercafe.org/forum/index.php)
= = = = =

Another problem, concerning the date, is that if, for example exported Worpress 700 posts from the Forum SMF all have the same date, then export eg 300 comments, and we have a complete mix, it's hard to find anything, you can search for example, not chronologically. .

That would have to be done in the future, I hope.

THX Sharks :)

Regards :)
roco
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: AussieGamer on July 31, 2010, 01:55:41 AM
I'm getting this error;

Fatal error: Cannot redeclare is_admin() (previously declared in /my directory/wp-includes/load.php:566) in /my directory/Sources/Security.php on line 839

Little help? :D
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on July 31, 2010, 08:20:22 AM
Hi AussieGammer :)

This error sounds like - bad config..


QuoteSMF Path: i put the path but it didn't worked!

that field needs the absolute path to your SMF forum (on the same machine offcourse!)

so if you have for example:

http://www.yourdomain.com/mysmfforum AND http://www.yourdomain.com/mywpblog

it will probably be

/home/user/public_html/mysmfforum

so the field would need "/mysmfforum" (without quotes)

the easier way is to search for SSI.php on smf folder.

the path needs to point to that specific file.

And please look the screenshot -> http://s.wordpress.org/extend/plugins/wpsmf/screenshot-1.png?r=269782

For exapmle I have on localhost, (in my comp), this config:

(http://poligon.ricoroco.com/fora/foto/uploads/30aeb99508.jpg)

Where:
- user on WP, (WP-user only) is e.g. "elconrico" and on SMF user, (ID-only), the user must have Admin right, so by me is: 1 (...;u=1)
- The category: WP-category -> by me "General" and the Board ID on SMF, (by me), is 15 (..board=15 is the same ID=15)

This is me config on localhost - so exlample..

There is no problem:

- Last WP and SMF 2.0 RC3

-the adres.. exlample:
You have domain e.g "augammer.com"
Your Blog is in folder augammer.com/blog and Your Board is in folder augammer.com/forum

and

In WPSMF - config You need feel the imput -->/forum

And the ID from SMF user must be admin, or must have admin rights


Your error shows incorrect user ID with admin rights, can be?
Why, "can be", or perhaps? - Because I have too little information

Read it carefully (sorry for my bad english) and check that you have the proper config and paths are correct,
the SMF-User ID must be from the admin, (or ID from SMF-user who has administrative rights).

I hope that what I wrote - to help you. ;)

In the future, please give the version of the SMF and more details .. you know fairies and seers are in deficit ;)


Regards :)
roco
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jferreira on August 01, 2010, 11:17:43 AM
@roco i have to say...good job!

btw im SchattenMann ^^ i just don't know ho the hell registered my nick first...
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on August 01, 2010, 12:20:40 PM
Hi SchattenMann :)

Sorry about Your Nick.., You know this is verry nice Nick ;)

You have a great understanding of the mechanisms SMF and WordPress I think so..
And who better undersud Your Great Plugin?, I think.. only You..

Can you think of my tips to deploy the plugin? It's needed thinks.
I have a strong need to extend the functionality of the plugin.
This is not my fad I think it's serious proposals for this plugin.
Actually, the proposal for you, while it is my request to you to extend the possibility of the Great Plugin. Please :)

I want to say - thank you, nice to finally meet in the topic, author of the plugin WPSMF

Best Regards :)
roco
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on August 03, 2010, 05:23:11 AM
Hey SchattenMann.. erm, i mean  jferreira :) It's great to finally see you manage some time out of developing to check this thread out here. As you can see, many people on this forum are very interested in your WPSMF plugin. This topic has been read over 2769 times!!
Unfortunately my skills and understanding of your nice plugin is limited. roco has done a great job with providing assistance to those who are using the WPSMF plugin, but i also think that it would be best to receive feedback directly from the plugin's creator, you!

By the way, i would like to report a minor thing (not a bug, but it makes things complicated) about the converted posts from WP to SMF. All the converted SMF posts use HTML instead of BBC tags. Can you fix this? HTML is complicated for most of us. BBC tags are much easier to read and edit quickly without inserting any code errors in the process.

Thanks again for your work, and welcome to the official SMF forum! ;)
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jferreira on August 03, 2010, 10:46:58 AM
Hey sharks

at first i tried to convert html to bbcode but its virtual impossible to do it bug free!

theres dozens of tags and to make things worst users may be using diferent WP plugins with a lot options...

so im not able to do a proper convertion!
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on August 03, 2010, 10:58:04 AM
For whatever this idea is worth... In SMF 2.0, there is the WYSIWYG editor, which allows copy and paste of any post (in this case, try it with a Wordpress post) and the result is that post appears identically but with BBC tags! Is it possible to use that method to convert all posts to use BBC tags in an SMF post? Just wondering...
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Nao 尚 on August 04, 2010, 08:38:38 AM
Probably could, yeah. I think the code is in Subs-Editor.php. There's an entire and very complex html_to_bbc() function, but of course it only works on tags that SMF understands.

An alternative could be to simply use html tags around the post. Of course, it only works if either (1) the blog author is the author, (2) or the admin enabled use of the html tag for everyone.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jferreira on August 04, 2010, 09:04:56 AM
ill add it to my todo list
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: roco on August 04, 2010, 12:06:08 PM
And I think that would not go so easily...
To accomplish this, it would parse html content from Wordpres BBCode to form intelligible to SMF.
The whole process would take place in a "fly". But we all know how the CPU load causes by WordPress.
Parsing the code makes it particularly hard.

Of course, you can write a script or framwerk or php class or anoder,
but to do good and thoughtful way - perhaps 10 men + 1 month of hard work with the code = can by maby ..?

Let us not forget that bloggers put in posts, different things .. For example, Flash, JavaScript, jQuery often, various galleries, or code. etc
Of course, in this case, when the script encounters just such a case, it should move the contents of the post in html tags.

This example Wordpres post with html tags code eg like this, (so this is flash in post on WP):

       <div class="win_out">
          <div class="win_in">
            <div class="win_post">
             
<script type="text/javascript">
var flashvars = {};
flashvars.playOnStart = "false";
flashvars.startVolume = "70";
flashvars.autoHideOther = "false";
flashvars.autoHideVideoControls = "false";
flashvars.onStartShowControls = "true";
flashvars.fullVideoScale = "true";
flashvars.showPlayButton = "true";
flashvars.share = "false";
flashvars.MediaLink2 = "http://www.youtube.com/watch?v=RiriqhUT_Wc";
flashvars.image = "http://localhost/wp/wp-content/plugins/youtube-with-style/lib/img.php?v=RiriqhUT_Wc";
var params = {};
params.bgcolor = "#000000";
params.allowfullscreen = "true";
params.wmode = "opaque";
var attributes = {};
attributes.id = "myplayer";
swfobject.embedSWF("http://localhost/wp/wp-content/plugins/youtube-with-style/lib/player.swf", "myAlternativeContent", "460", "310", "9.0.0", false, flashvars, params, attributes);
</script> <div id="myAlternativeContent">blah</div>
<p>and ass..</p>

            </div>



And how you want to parse such code? You do not even help a great Mod AEVA, I don't think so..

I suggest this item to set the end of the list ..
Otherwise we can maby wait a long time to update.

In my humble opinion, certainly it is essential that the post was under (on the SMF), date of Art and a link back to Article I is a need for SEO, and so as not to offend Ms. Goooo*

It is very important, I think, is that the date of the post Wordpres was the same as a post SMF and it is more interesting problem, and yet more necessary thing.

Of course, it is worth to the Config was able to enable / disable these features.
Maybe would have been nice if you can change the date format yourself? Prior to export?

btw. I inadvertently exported the comment, but the post prior to export.
Well, was created a new Topic with the name of a post from WP hmm
I wonder now what will happen when I will export this post?
hehe I still have not tested..

You should simplify it, for example, you can use all the finished tips in this topic.
And You should maby update your Plugin to make, from what is already ok.

You do not want there to write, for example, something that has replied @roco,
Please, use all the tips and tricks - to improve your plugin and let the people update.


BTW. if anyone has an idea what needs to be done in code,
- To date posts from WP and Topics from the SMF were the same?

Good luck with the development of Your Plugin ;)

Regards :)
roco
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jferreira on August 18, 2010, 10:40:15 AM
hey there
as you can see i have done nothing in the last weeks...
my car just broke and im totally screw at the time so i have to dedicate my time to get some extra money...

sry bout that and hope i can publish something sooner
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Rudy64 on September 15, 2010, 06:01:19 PM
I have a small laundry list of issues I've found with the plugin, but I have one simple idea for the HTML/BBCode issue:  just give us an option to send posts over to SMF in plain text.  It is easier to "fix up" a forum post with a few highlights rather than have to remove a lot of HTML codes.  In fact, most of our posts are 99% text anyway.

I can list the other issues over at wp.org...they could be settings I'm overlooking, or minor things I could change myself in the code.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: forumnepali on September 27, 2010, 11:18:58 AM
I am sure you have heard this a million times, but I am getting this error in WordPress when I go into the options:

smf not found! Please set smf local path before creating or updating posts

This is a fairly easy thing, mine is /home/crusader/public_html/forum - but I still keep getting an error.

Any ideas?

My forum Version is r3

Thanks!
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: protagonist on September 29, 2010, 10:03:47 AM
This plugin is missing one thing that would make it perfect.

Displaying SMF thread replies in the Wordpress post would make it a true comment system replacement.

Or at the very least, displaying the number of replies in the link to the forum. IE: "Comments (6) have been left on our forum"

I'd buy a beer for whoever can make that happen. :D
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on September 29, 2010, 07:00:18 PM
Quote from: protagonist on September 29, 2010, 10:03:47 AM
This plugin is missing one thing that would make it perfect.

Displaying SMF thread replies in the Wordpress post would make it a true comment system replacement.

Or at the very least, displaying the number of replies in the link to the forum. IE: "Comments (6) have been left on our forum"

I'd buy a beer for whoever can make that happen. :D

jferreira is the official developer of that plugin, so i suggest you take it up to him if you want anything done fast. :)
His profile link: http://www.simplemachines.org/community/index.php?action=profile;u=250544
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: forumnepali on September 30, 2010, 06:25:08 AM
Quote from: forumnepali on September 27, 2010, 11:18:58 AM
I am sure you have heard this a million times, but I am getting this error in WordPress when I go into the options:

smf not found! Please set smf local path before creating or updating posts

This is a fairly easy thing, mine is /home/crusader/public_html/forum - but I still keep getting an error.

Any ideas?

My forum Version is r3

Thanks!

Bump please reply me
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: protagonist on October 04, 2010, 12:16:09 PM
Quote from: forumnepali on September 27, 2010, 11:18:58 AM
I am sure you have heard this a million times, but I am getting this error in WordPress when I go into the options:

smf not found! Please set smf local path before creating or updating posts

This is a fairly easy thing, mine is /home/crusader/public_html/forum - but I still keep getting an error.

Any ideas?

My forum Version is r3

Thanks!

There's a line underneath that says "relative to:"

It's looking for the path to your forum relative to that directory. Not an absolute path. You may have to create a symlink.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jaisi on October 04, 2010, 01:02:28 PM
Thank you for replying how to create  that path please guide me Step to step i have tryed many times but i'am failed so please help me how to create  that path.

Thank in advance
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: Forbs on October 04, 2010, 01:07:04 PM
Works for me..cool ..Very easy to make!
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jaisi on October 05, 2010, 04:55:51 AM
could someone make for me please. i'am waiting here
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jaisi on October 05, 2010, 09:59:41 AM
i have seccefully connect with SMF Now i'am getiing this Erorr

An Error Has Occurred!
Wrong value type sent to the database. Integer expected. (id_board)

please help me
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on October 05, 2010, 05:20:02 PM
jaisi, no need to repeat your question so many times! :) unfortunately, many of us are not online all the time to check on help requests.

i try will to help you with, as i have done this many months ago for my own SMF 2.0 RC3 (that's the only version that it works with. So first make sure that you have upgraded to the latest RC3).
The board id refers to the id number of the board where you want all the blog posts to be copied into. to find the board, just hover your mouse over your board name and you should be see the id in as part of the URL for that board in the status bar of your browser. enter that number in the WPSMF settings area.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: jferreira on December 14, 2010, 07:44:58 AM
hi all

i'll try to start developing WPSMF once again...

theres some very good ideas over here i would like to implement

unfortunately i haven't got the time for ii...
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: sharks on December 15, 2010, 11:19:50 PM
Hi jferreira

It's great to finally see you back again, mate. :D
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: ngoclanbaby86 on March 29, 2011, 05:56:53 PM
I think need integrate converter html to bbc, hope it fine, waitting...
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: TeaTephi on June 28, 2011, 10:18:18 AM
I entered /forum in the WPSMF settings and my admin name, but didn't enter a category yet (thinking it could be done later i guess).

Got this error: Wrong value type sent to the database. Integer expected. (page)

Now I cannot access WPSMF options panel.

Is this error from the WP database or the SMF database or the code for the plugin?  Please help ... I just need a nudge in the right direction.
Title: Re: Convert any blog to SMF forum - using the wpsmf plugin
Post by: selfreliantguy on August 21, 2011, 03:53:44 PM
Quote from: sharks on June 22, 2010, 05:56:59 PM
This is seriously major news, for all of us. There is no more boundaries between having a blog and then wanting a forum, which is a normal progression, as any successful blog would obviously go well with its forum. ;)

Does this mean that we can integrate our wordpress sites with our SMF Forums? Is it advisable to separate your forum from your wordpress site? I was hoping it would be ok for SMF Forums to be integrated to wordpress sites without  posing  problems when it comes to maintenance and operation?