February 15, 2010 at 4:54 am #797
Not sure if this should be placed here or in the theme forum, but here goes.
I have installed subscribe2 plugin which in wordpress user panel displays in the left hand navigation so that logged in users may edit their newsletter subscription preferences. The site is set so that members go to their eMember profile page to edit details/preferences and this option does not display in the eMember Profile page. Is there a way to do this in eMember or a way to edit the Infinity Remix theme template to display this option in the profile page and if so where/how?
ThanksFebruary 15, 2010 at 7:11 am #18022
Not sure I understand you correctly… do you mean that the subscription preferences option for “subscribe2 plugin” can be modified from the eMember profile page?
If thats what you are after then couldn’t you place a shortcode (from the subscribe2 plugin) in the profile page which lets the member update the subscription option?February 15, 2010 at 2:46 pm #18023
Yes I would like members to be able to edit their subscription preferences from the eMember profile page but am unable to find a shortcode to do this.February 15, 2010 at 9:58 pm #18024
I am not familiar with the “Subscribe 2 plugin” but I was aussuming that they would have a shortocode that you can place on a page that lets the visitor manage their subscription? Then you could place this shortcode on the “Edit Profile” page but if that plugin do not have any shotcode then I am not sure how you can do this.February 15, 2010 at 11:59 pm #18025
I have posted a query to the subscribe2 Forum and awaiting a response as although there is a shortcode that displays the link to the users WP Dashboard, there does not appear to be a shortcode that can be placed in a page to display the users admin options anywhere else.
The problem is that any plugin that places it’s control panel in the users WP dashboard is not displayed in the eMember profile page – our client does not want to confuse their members with three user control panels (eAffilate is also installed) and it makes sense to use the eMember profile page as this also hides the ‘WP dashboard’ section but this becomes an issue when access to other user options are not displayed.
Subscribe2 is a newsletter plugin which allows visitors and registered members to opt in/out of receiving links (or full posts) to their inbox. I use it on several sites along with other plugins that place administrative options into the user profile page. The problem with eMember is that it neither places admin information into the WP Dashboard or includes the users WP Dashboad options into the profile page.
Am just raising this point as the more places there are for the user to have to visit to administer their details/options, the more confusing it is for them and from experience all that does is create unecessary user support requests.
Perhaps it would be possible in a future release to include the eMember user options and eAffiliate user options into the users WP Dashboard? This would eliminate the need for a seperate profile page for members.February 17, 2010 at 8:56 pm #18026
Further to my post at Subscribe2 forum, I received the following response but no idea where/how to implement it in eMember
The menu page is added to WordPress by hooking a function into the admin menu hooks so I guess you could try calling that function (user_menu()) on the eMember page. I’m not sure if it will work at all, or if it does work, if it will work as expected.
To call the function though use s2class::user_menu();
My php skills are limited at best so would appreciate help with this.
ThanksFebruary 17, 2010 at 11:44 pm #18027
You can’t execute PHP code directly from WordPress post or page unless you are using a PHP executable plugin. This is why most plugins create shortcode that you can put on your wordpress page or post. Creating a shortcode is not very difficult… all it does is looks for that text and call the specified function and replaces the text with the output from that function.
Given that the other plugin won’t add a shortcode you could try installing a PHP executable plugin then place the following line in HTML view of your page:
<?php s2class::user_menu(); ?>
That might do the trick. Please note that you have to do this on your own.. it is beyond my capability to provide support for a plugin that i didn’t develop.
- You must be logged in to reply to this topic.