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 4, 2014 - 3:15 pm

That appears to be a valid solution. I had already seen the page you linked to, but assumed it had to happen within Wishlist protection. I'll test what happens with the forum outside Wishlist protection. Thanks.

Neil.

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

glad to help.  please let us know how you get along or if any questions along the way...

Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 3:31 pm

When the forum is outside Wishlist control, guest visitors see...

"The requested group does not exist or you do not have permission to view it"

Is it possible to redirect guest users only to a different page on the website, such as a registration page, and have the forum work normally for those with access?

Avatar
Neil Shearing
Member
Free Members
sp_UserOfflineSmall Offline
May 4, 2014 - 3:40 pm

I just made a test post, initially protected, then unprotected, and neither formed the automatic link to the forum, despite the forum being unprotected. So it appears than an active Wishlist Member plugin is still an issue for me.

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

I have just been running some tests with WishList turned on trying to link with both a protected post and an  unprotected post. In both cases the lining worked as expected.

I also searched WishList code for the hooks that might effect post publishing in a plugin and could not, in fact, find any reference to them - simply reinforcing my puzzlement.

My first question would be - are you using any WishList plugins that might actually be responsible? And secondly - have you talked to WishList about this problem?

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

I am running the basic, up-to-date Wishlist Member. No additional plugins.

I haven't spoken to them about it because I don't exactly know what's causing the issue and I imagine a vague question would not get me very far...

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

as to your redirect... assuming you have at least one group created, in your spGroupView.php template file you could replace:

                sp_NoGroupMessage('tagClass=spMessage', __sp('The requested group does not exist or you do not have permission to view it'), __sp('No groups have been created yet'));

with

                sp_redirect('http://yoursite.com/yourpage');

of course, replace the url with the one you want to redirect to...  not perfect, but you could redirect to a sign up page...

what we actually prefer to do is use the sneak peek feature...  let guests view the forum list (group view) and/or the topic list (forum view) but not let them see an content... if they try to go to the topic view (list of posts), they get redirected...  try it here when logged out...  it does require they can at least see the main page with the sneak peek...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 5, 2014 - 5:09 am

I have seen your PM although I am unsure what I could actually do.

There is one other thing to check however. Go to the forum admin > Toolbox > Error Log and see if there are any errors reported. Please don't paste the whole lot here as there are bound to be some notices! But take a look through them and see if you can see any errors or warning raised against the linking code - that will all be from the folder /blog-linking/.

If nothing specific you could also take a look at your php error log on your server in case an error was raised outside of Simple:Press code which may not be included n the SP log.

Finally - if you find no entries - I would still ask the WishList people for their take on this. Basically the question is that we are using the WordPress action hooks - the code I pasted above and suggested you change. And when WishList is active on your site these hooks are failing to fire. Can they think of a possible reason.

However - the more I think about this the more suspect I am becoming. As I have said we use WishList here and we have many users who also do so. While it is possible none of those users are also utilising blog linking it is a very popular plugin so there is a high chance some are. Yet this is a unique report. I am simply wondering of there is something else at play causing a conflict.

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

The errors I think may be relevant are...

SP Error log:

May 2, 2014 6:55 pm | spaErrError | 4 | database

--------------------------------------------------------------------------------

file: /problem-with-post-edit-buttonome/internez/public_html/wp-content/sp-resources/forum-plugins/blog-linking/sp-linking-plugin.php

line: 254

function: sp_linking_do_install

error: Duplicate key name 'post_idx'

ALTER TABLE wp_sflinks ADD KEY post_idx (post_id), ADD KEY forum_idx (forum_id), ADD KEY topic_idx (topic_id);

 

Server Error log: (different date)

[27-Mar-2014 11:51:51 UTC] WordPress database error Table 'internez_blog.wp_sflog' doesn't exist for query SELECT build, version FROM wp_sflog ORDER BY id DESC LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/simple-press/sp-control.php'), include_once('/plugins/simple-press/sp-startup/sp-load-core.php'), sp_get_system_status

===

Two other reported issues from SP which I'm not sure are relevant are:

May 2, 2014 8:54 pm | spaErrNotice | 2 | php

--------------------------------------------------------------------------------

file: /simple-press/forum/content/forms/sp-form-post.php

line: 16

function: sp_render_add_post_form

Notice | Undefined index: editor

 

May 2, 2014 8:54 pm | spaErrNotice | 2 | php

--------------------------------------------------------------------------------

file: /simple-press/forum/content/forms/sp-form-components.php

line: 22

function: include_once

Notice | Undefined index: editor

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 5, 2014 - 6:37 am

No - sorry - nothing of any significance there at all.

The Server error log on is sort of interesting - but irrelevant to linking. Might the 27th March have been the day you first installed SP?

Afraid I really do think the next step is to ask WishList what they think.

andy-signature.png
YELLOW
SWORDFISH
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625