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
Wishlist Member and Blog Post Linking
Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2014 - 3:29 pm

Hi,

Thanks for creating Simple:Press. I recently upgraded for the support and some of the plugins, one of which was "Blog Post Linking".

Initially, I couldn't get "Blog Post Linking" to work with my setup which consists of Wordpress, Wishlist Member and Simple:Press despite testing different permissions and user groups.

I then installed Simple:Press on another domain running on the same server, to test the server configuration. On the second domain, "Blog Post Linking" worked, so I figured it was most likely a problem with Wishlist Member on the original domain.

I then paid $47 to upgrade Wishlist Member to the newest version, thinking maybe that was the problem, but it didn't help.

Finally, I disabled Wishlist Member and immediately "Blog Post Linking" started working and a link to the forum appeared when I edited my test post. I re-enabled Wishlist Member and even though the link to the forum on the test post didn't disappear, a brand new test post didn't have one created.

I don't really want to disable and re-enable Wishlist Member each time I make a blog post.

Is this a problem between Wishlist Member and Simple:Press permissions, or is it something that needs a coding fix?

My server info is:
WishList Member v2.80 | Build 2119 | WordPress 3.9 | PHP 5.3.22 on litespeed

Thanks,

Neil Shearing.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2014 - 3:56 pm

We use both WishList Member and our Blog Linking plugin on this site with no apparent problem so the qyick answer is no - there is no conflict.

Now I am not a WishList expert by a long way but might this have anything to do with the way you are using WishList? I admit that we have only used it here, i believe, for posts that are NOT private or subject to membership but are open for all to read. Could that be the difference?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 2, 2014 - 4:17 pm

Thanks for your reply.

So, just to clarify, you have the Wishlist Member plugin installed and active along with Simple:Press, but don't actually use it to protect content?

Neil.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 2, 2014 - 4:42 pm

If I recall correctly we protect just two pages. All of our standard 'blog' posts are public. This isn't really what we use WishList for on this site...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 6:54 am

I sent you a PM, with a video.

Neil.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 4, 2014 - 7:47 am

I already understood what was happening and was really just awaiting a definitive answer to my question in post 2 above. However, now I see from your video that indeed the post in question is being protected by WishList so I have to assume WL is stopping us from creating the forum topic and post. Which is the only logical explanation I think.

I can't find a filter call in WishList that might account for it but I really do not know, of course, just what they do and how they intercept the post during the save process.

We can try one thing if you fancy trying put a small edit to the plugin code?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 8:57 am

Yes, I'm happy to make an edit.

I should mention, having the WishlistMember plugin active, even when I try to make a post without the content being protected, still stops the link to forum being created.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 4, 2014 - 12:31 pm

OK - I must start right out by saying I do not know if this will make any difference. It really depends, as I said earlier, on how WishList s intercepting the post. But we can try it and see.

So the file is in the forum-plugins location and by default that would be:

/wp-content/sp-resources/forum-plugins/blog-linking/sp-linking-plugin.php

Locate this block - fairly near the top:

add_action('save_post',                     'sp_linking_save_blog_link');
add_action('draft_to_publish',                'sp_linking_publish_blog_link', 10, 1);
add_action('future_to_publish',                 'sp_linking_publish_blog_link', 10, 1);
add_action('pending_to_publish',            'sp_linking_publish_blog_link', 10, 1);
add_action('new_to_publish',                 'sp_linking_publish_blog_link', 10, 1);

and change it to:

add_action('save_post',                     'sp_linking_save_blog_link', 1);
add_action('draft_to_publish',                'sp_linking_publish_blog_link', 1, 1);
add_action('future_to_publish',                 'sp_linking_publish_blog_link', 1, 1);
add_action('pending_to_publish',            'sp_linking_publish_blog_link', 1, 1);
add_action('new_to_publish',                 'sp_linking_publish_blog_link', 1, 1);

as I say - worth a try!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 1:27 pm

Thanks for that. I edited the code. Unfortunately, the situation remains the same. A brand new post, unprotected or not, didn't auto-create a link to the forum until I disabled Wishlist Member.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 2:28 pm

will let Andy weigh in on his suggested changes... 

but curious why you are using wishlist to protect the forum?  with forum permissions, no need...  let the forum control who has access...  see:  http://codex.simple-press.com/.....ip-plugin/

wishlist and sp work great this way...  including blog linking as Andy said we use them here...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625