[Plugin: podPress] Using within another shortcode (like-gate)
I’d REALLY like to use this plugin with FB Like-Gate – it would be awesome to have users ‘like’ the page and then have the podcast revealed. Trouble is, the [display_podcast]shortcode doesn’t work within the like-gate shortcode tags.
Is there any way to make it work? In an iframe or something?
Will take a look.
again, please use the contact link from within the plugin.
The contact link within the plugin just goes to the website, not a contact form. Any update on this? I’ve now tried two FB like type plugins and neither one can hide Podpress – in one case, the Podpress shortcode isn’t parsed, just shows as text, and in the other case, the content is hidden until the user likes it, BUT, the podcast content is shown at the end/beginning (depending on settings) BEFORE liking, and then once liked, it shows where the shortcode is placed.
I have no solution for this problem. But I will try to explain the problem:
@peeld: Is the media file icon, the download link and the other podPress links (which are usually below the player) visible after the the click on the Like button?
If this should really be solution then I can’t see how it should work in this case. Because the JS function of podPress which should be called creates
<embed>elements and sometimes only a
<div>with a preview image. It does not simply add a video to a post. That is why there is no
@ntm The media file icon, the download link, all that is present after hitting like, but it is also present BEFORE, just lower down at the end of the content (even though my shortcode is further up. You can see it in action here:
Once ‘liked’, the media file icon, link, etc., appear where the ‘like this’ bit used to be.
It looks like you are using currently a different plugin which should lock parts of the post content. It does not look like Like-Gate. Is it this one http://wordpress.org/extend/plugins/facebook-like-content-locker/ ? Which one is it?
The media file icon, the download link, all that is present after hitting like, but it is also present BEFORE,
Furthermore it somehow does not work very well with the content filter hook which podPress also uses to replace its place-holder on page loading.
Since I don’t want to buy that plugin, it is hard for me to say what the problem in this case is.
I suppose for the purposes of development I could send you a copy…? Or buy a second copy and give it to you?
I don’t know. I may be able to help with the doubled podPress elements. In order to do that I would need to look into the code of the other plugin. But it is actually not sure whether this is a problem of the Like-Locker plugin. For instance you use probably a further plugin to display those 4 social network Like-like counter elements (right before the podPress play at the end of the post). This plugin could also be responsible for the doubled player. (You can find out which one it is by temporarily deactivating this plugin and reloading the post.)
First you should make sure which plugin is responsible for that and then you should ask the plugin author for help. There is most likely a problem with the way the the_content Filter Hook is used.
It would be better if you would ask the author of the other plugin for help.
I would explain further to him/her what podPress does.
Please, don’t send me the plugin.
Thanks for all of the information – I’ve forwarded it on, as well as the URL of this thread, to the plugin developer. The player does in fact appear, but it appears BEFORE the ‘like’ button is clicked, just at the end of the post (which is where it’s set to appear in Podpress general settings). Then after ‘liking’, it shows up where the shortcode actually is placed for Podpress in the content.
But in any case, when I get a solution, I’ll post it here for others. Being able to Like-lock your Podpress shortcode is a great way to give out free podcasts in exchange for people sharing the word about them 🙂
Then after ‘liking’, it shows up where the shortcode actually is placed for Podpress in the content.
Do I understand it correctly, that the player appears after ‘liking’? That would be great.
The player does in fact appear, but it appears BEFORE the ‘like’ button is clicked, just at the end of the post
As I have written above the reason for that might be totally different plugin. Are you sure that the like-locker plugin is causing that? What happens if you place the [display_podcast] place-holder somewhere in the post but not in the like-locker part. Does the player appear twice in the post too?
(which is where it’s set to appear in Podpress general settings)
If you are using the place-holder then podPress dismisses the settings on the general settings page for this post and place the podPress elements where the place holder is.
Here is what the plugin creator says:
“The issue is not with like locker, all like locker does it hide / show the content. If your podpress shortcode is not working within like locker its because podpress does not support nested shortcodes (or shortcodes inside of shortcodes.) Like locker does not modify or filter content at all, so nothing is really being changed only that the content itself is shown or not shown.”
If you go to the link I posted above, on my daisypeel.com website, you’ll see what I mean. Although the pod press shortcode is inside the like locker shortcode, it’s like pod press thinks there is NO shortcode and so puts the player at the end of the content, where the general settings specify. Ten, once liked, the pod press player shows up where the shortcode actually is.
This was an issue before I added the social media plugin, btw.
Thanks again 🙂
Like locker does not modify or filter content at all, so nothing is really being changed only that the content itself is shown or not shown.
If that is true then something else is causing the doubled appearance of the podPress elements.
In the past such a problem was often caused by an interference with a different plugin. That is why I would like to know whether you use other plugins besides podPress, Like-Locker and Social Sharing Toolkit to add something to a post or maybe to alter the style of elements in the post. What are the names of these other plugins?
I have also contacted the author of the like-locker plugin myself and ask him for support.
- The topic ‘[Plugin: podPress] Using within another shortcode (like-gate)’ is closed to new replies.