Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Understanding Blog Linking
Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
Apr 16, 2017 - 10:27 am

Oh, there are many in and outs to this 🙂 

I've been reading the codex - do I understand correctly that the Simple-Press forum (topic view) doesn't actually appear on the wp post page (the article)? I continue to use my normal commenting plugin?  

It's just that comments are added to the forum and forum posts are added to the comments in the database? 

Is there any way to link already existing posts and their comments? I have some older content I would love to link.

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 16, 2017 - 10:58 am

Chris_Andrews said
Oh, there are many in and outs to this 🙂 

I've been reading the codex - do I understand correctly that the Simple-Press forum (topic view) doesn't actually appear on the wp post page (the article)? I continue to use my normal commenting plugin?  

Currently this is correct. You can turn off the commenting options in WP and force the forum to replace it but that will, of course, effect old posts as well so is probably not desirable. We do have a plugin in test that will use the forum to replace the comments (currently being used on our site here) but again - this will only work with already and current blog linked topics.

It's just that comments are added to the forum and forum posts are added to the comments in the database? 

Yes if that is the option you have set in the blog linking options (in Components section).

Is there any way to link already existing posts and their comments? I have some older content I would love to link.  

Not yet I am afraid. It is on the road map for a future enhancement but that could, I am sorry to say, be a good while off.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
Apr 19, 2017 - 2:51 pm

An importer would be really great. 

In the meantime, I wonder if I could do it manually? I'll have to dig through the database and try to figure that one out 🙂 

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 19, 2017 - 9:42 pm

you can manually go through each wp post and edit it, and at the bottom link it to a forum...

I doubt (though could be wrong) if you are mapping comments to forum replies, that any comments will get carried over... but the linked topic will get created...

Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
May 15, 2017 - 12:59 pm

I'm circling around back to this...

What I would like to do is import my existing published posts into the blog linking, so they show up in the forum, with existing comments. 

First step would be linking so that the old posts show up in the forum, correct? 

As a test I inserted a row into the wp_sflinks table using some new entries as an example, but they did not show up on the forum. So I'm thinking another table most be involved as well. 

Do you have any guidelines on doing this? 

After I get the linking in place, I'll need to import the existing wordpress comments into simplepress, so thoughts and guidelines on doing that would be great as well 🙂 

My ultimate goal is to have simplepress as both a commenting and forum solution. The forum topic would appear on the article page and readers could read comments and comment there, or they could be in the forum and read/comment there. I know there will be duplicate content of sorts, but I have both a news site and a forum and want them tied together, and I'm not all that concerned over having duplicate content search engine wise. 

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
May 15, 2017 - 3:29 pm

Ok, looks like I'll need to import my existing posts into wp_sfposts for them to show up in the forum, the sflinks must be just for the actual hyperlink to the forum topic.

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 15, 2017 - 9:55 pm

not sure I follow...  you have a bunch of wp blog posts...  you want to created linked topics, right?

you should be able to edit the wp blog post and just link it at the bottom with the create linked topic section... 

just not sure it will find all the comments - suspect not...  but that would be good start, I think...

importing blog posts into sfposts will be very fragile... you have to have the forum, the topic and then the posts... and some ancillary stuff needs updating...  would not recommend this path...

Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
May 19, 2017 - 2:54 pm

Yep, thank you, updating the post with the link options does work, just time consuming for 5000 posts, so I'll pick and choose some for now 🙂 

I'm going to need to preserve the post published time though. I have old posts that still get comments and I'd like them to be in the forum.... but if I just update the wp post with the link options, the forum timestamps it at the time I linked it. So if I have a year old post and link it, it looks like it's just been published in the forum and is fresh content. It really needs to be backdated to a year ago so it's clear when the original post was published and is in the correct order, time wise, in the forum.

hmm, any thoughts on that?  I looked and don't see a setting that would adjust that value,

Chris

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 19, 2017 - 8:09 pm

glad to help...  afraid no direct setting to change the time...

if you wanted to write a small plugin (or bit of code in your spFunctions.php file) to hook into the blog linking creation process, you might be able to use one of our filters (such as sph_new_topic_pre_data_saved) and update the new topic date to what you want it to be...

Avatar
Chris_Andrews
Member
sp_UserOfflineSmall Offline
May 20, 2017 - 12:16 am

Slightly beyond my capabilities at the moment.... but not way beyond, maybe I can figure it out 🙂  I'll be working on this but may be back with questions 🙂 

***
News For Shoppers is seeking consumer reporters,
consumer advocates, and entertainment writers:
visit: NewsForShoppers.com/write/

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625