Support Forum
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
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.
YELLOW
SWORDFISH
|
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
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.
YELLOW
SWORDFISH
|
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
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.
YELLOW
SWORDFISH
|
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
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....
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)