Support Forum

Private Messages

23 Answers

New Answer

MW Michael Walden
Michael Walden
Member

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.

YS Yellow Swordfish
Yellow Swordfish
Member

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.

MW Michael Walden
Michael Walden
Member

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.

MP Mr Papa
Mr Papa
Member

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….

MW Michael Walden
Michael Walden
Member

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

MP Mr Papa
Mr Papa
Member

Okay, cool…  Feel free to ask questions as you progress  We will be here… 

MW Michael Walden
Michael Walden
Member

Yikes. I hate to be such a bother, but I do need some help. Not being very familiar with all of this, the contents of the spHeadDesktop.php file are a bit daunting. I only want to keep the bread crumbs without any of the rest of the header… I really can’t tell where to start and end commenting out lines to achieve this.

YS Yellow Swordfish
Yellow Swordfish
Member

If you do still need help – or confirmation of any changes – please let us know but also include the name of the SP theme (parent) you are using… and the version number.