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
Private Messages
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 21, 2018 - 4:01 am

OK. However - isn't the easiest way simply to deactivate the SP PM plugin...? I would assume that whatever you are replacing it with would provide its own buttons to click...

What is it by the way?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Jan 23, 2018 - 7:38 pm

That would be the simplest solution, yes. What I am attempting, even with my more than obvious lack of coding skills, is to make the integration between the forums and the Ultimate Member system on our site as seamless as possible. Eventually I want to be able to pull all of the data that SimplePress uses for user information in profiles from the registration system in UM (meaning anything that isn't gathered by "out of the box" wordpress installation (birthdate, etc). A big task I'm guessing, but oh what a site we will have 😉

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2018 - 4:28 am

Depends what you want to do with that data. If a third party plugin that creates new profile data uses the standard WordPress method for storing that data then it can fairly easily be added and used in the SP Profile form. And if the third part plugin has customisation features it may well be possible to shunt this data the other way.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Jan 24, 2018 - 6:43 am

Well I know that I can create custom fields, user roles, etc... I can certainly provide credentials if you would like to take a look at it from the admin standpoint. 

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 24, 2018 - 6:55 am

well - that probably wouldn't help me much.

If the plugin has a custom profile field capability and they store the resulting data using the default WP method then it will be creating new items in the WP usermeta table. SP can also create new items using our custom profile fields plugin.

IF a new field is created in both plugins with exactly the same name and field type, then it will appear in the SP profile form and - if it supports it - the other plugin's profile data as well.

For example - SP defines a new profile field named 'location' and this appears within the SP profile form. If you can create custom fields in your membership plugin then it might be worth a try creating one of the same name and type (text) to see if the location data entered in the SP profile is made available to the membership plugin.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Jan 26, 2018 - 12:18 am

Perhaps this should be in a separate post, but it is related to the discussion. One of the things that Ultimate Member does:

Post a notice of a new forum post (if the site is using BbPress) to a site activity page. Any idea at all where I would need to start looking to make this work with SimplePress? I have never seen this in action but I am assuming it makes a brief "New post in "Forum Name" with a link to whatever the new post is and then puts it in the activity stream.

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 26, 2018 - 4:21 am

WordPress implements a system known as Action and Filter Hooks. This simple but highly effective process is what allows for plugins to interact with the WP core and what really set WP apart from the competition when it first launched. You can read up on action hooks here in the WP codex.

Simple:Press implements its own additional hooks and several can be used after a post and/or topic is created. So you would need to use one of them which would then call some custom code to call the membership plugin API (public core functions) and add whatever data is necessary for the purpose. It is all, actually, remarkably simple!

The membership plugin documentation - or support - should inform you of the necessary calls to make to achieve what you want.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Jan 27, 2018 - 10:06 pm

Thank you! I definitely want to learn how to do these things. Time.. it's always time 😉

 

Speaking of, in the mean time.. is it possible to easily turn off the top header box and just start the display with the "arrow" menu? This would go far to help me accomplish the "seamlessness" I spoke of above.

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 28, 2018 - 1:26 am

not sure what you mean by arrow menu???  do you mean the breadcrumbs?

the stuff display in the header section is typically controlled by the spHead.php template file...  I would say you could just remove the:

sp_load_template('spHead.php');

call for every page template, but suspect that is more than you want since it includes the breadcrumbs...

so instead, you could just edit the spHead.php template file and remove (or comment out) the stuff you dont want...

of course, when I say edit, I mean edit your custom theme or child theme....

Avatar
Michael Walden
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2018 - 2:47 pm

Thank you! This gets me well on my way to what I am trying to accomplish. 🙂

“I must stop him from being one of those who call themselves good because they have no claws.” ― Irvin D. Yalom, When Nietzsche Wept

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: 639
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17342
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10116
Posts: 79581