Sho-Down
Forum Replies Created
-
AIOS version is 1.6.11.1, my mistake.
Forum: Plugins
In reply to: [Plugin: PodPress] Restrict only downloadThanks for the updated code, works fine.
Forum: Plugins
In reply to: [Plugin: PodPress] Restrict only downloadWhat that code does (as you can see on my website rockitpro.com) is hide the download icon until the visitor logs in or registers, then it reveals the download icon once they log in.
Forum: Plugins
In reply to: [Plugin: PodPress] Restrict only downloadntm actually helped me with this 7 months ago & I found the old post (https://www.ads-software.com/support/topic/plugin-podpress-audio-player-messed-up-in-ie-8-a-login-before-download-question?replies=5) because I’m in the process of upgrading to the latest WP and podpress. He wrote this for my website personally so you will have to edit it so it works with your site but this gives you an idea. Might not be what you’re looking for but it won’t hurt to post it. I just tried it on a clone site with the latest wp and podpress and it still work. The code is:
<?php /* Plugin Name: podPress filter Plugin URI: Description: diplays custom code instead of the podPress line with the download button if a visitor is not logged in Author: ntm Version: 1.0 Author URI: */ add_filter('podpress_downloadlinks', 'customize_podpress_downloadlinks'); function customize_podpress_downloadlinks($podPressDownloadlinks) { if ( is_user_logged_in() ) { return $podPressDownloadlinks; } else { return '<span id="podPressPlayerSpace_'.$GLOBALS['podPressPlayer'].'_PlayLink" style="display:none">'.$hideplayerplaynow_divider.__('Play Now', 'podpress').'</span>'.'<i><a href="https://www.rockitpro.com/wp-login.php">Log in</a> <font color="black">to download the MP3. It\'s free and instant to <a href="https://www.rockitpro.com/wp-login.php?action=register">register</a>!</font></i><br />'; } } ?>
Put that code in a .php file and store it in the plugins folder of your blog (e.g. /wp-content/plugins/podpress_filter/podpress_filter.php) and it will appear in the list of the plugins in the backend of your blog where you activate and deactivate it.
Anyone? I cannot figure this one out and it’s killing me!
Forum: Fixing WordPress
In reply to: CSS applied to page. Unwanted padding appears.And just so you know…
In Chrome you can open your website and right click anywhere and go to Inspect Element, then click the little magnifying glass in the bottom and you can click on anything on your website and see the code.
Forum: Fixing WordPress
In reply to: CSS applied to page. Unwanted padding appears.Are you talking about the padding above “1.Register For This Site – OR – Login” or the padding on the top and sides of your site?
The gap above register for this site is caused by
<p><br></p>
which is probably in your index.php file.Hate to bump but it’s already on page 3 lol
Forum: Plugins
In reply to: [Wordpress Thread Comment] stop displaying date and time in threaded commentsAfter editing the php file (which didn’t work) I felt stupid because it’s on the plugin’s option page under Edit Comment HTML. Just deleted at [time]
And one other last thing lol…
In the 1Pixelout audio player when you hit the play button it says Track #1 on the left side, how do I delete that so it only shows the duration on the right side?
Thanks for the reply Tim! Your code changes for the alignment worked, I just had to add margin-top:-.4cm; to .podpressleft to move it up because it was still too low. Is there a better way to do it or will this be fine?
/*NEW BEAT POSTS*/ .beatposts {width:100%; float:left; padding:5px 0 0; /* for non-IE browsers */} .podpressleft {float:left; margin-top:-.4cm; margin-left: 4px;} .buylicenseright {float:right; width: 31%;}
https://www.RockItMembers.us in case you wanted to double check that everything’s lined up.
The login before download plugin works perfectly, that’s exactly what I needed, I appreciate it.
One last thing…is there any way to add a player to the podpress plugin? For example the Flowplayer? https://flowplayer.org/plugins/streaming/audio.html
Can you post the code you used for this? I’m looking to do the exact same thing (facebook like button for each post on my home page), thanks.