Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter chasew

    (@chasew)

    zef, make sure you have this somewhere above that. (unless there is something wrong with my custom field code)

    <?php
    // check for video
    $video_url = get_post_meta($post->ID, 'Video-URL', $single = true);
    ?>

    Where it says Video-URL, change that to what ever your custom field actually is on the edit page. And it IS case sensitive.

    isa, thank you for the continued support. Still having trouble though.
    I stripped the semicolon out of the theme code, and made sure that the custom field entry in the post didn’t have one either, and still I’m still having issues.

    I found a new video to try. I did a test post using the normal shortcode on the edit page here: https://clan-ngru.com/justatest/uncategorized/normal-test/

    This is the url that I used between the shortcode: https://www.youtube.com/watch?v=dDfpsVDjIWo

    In that post, the video plays fine, working preview image, no errors in IE.

    Now here is my other test post, where I’m using the custom field method. The video url in the custom field is the same as above, with no semicolon

    https://clan-ngru.com/justatest/uncategorized/custom-field-test/

    Yet for some reason, when I remove the semicolon from the theme, I get the following error in the browser:

    Parse error: syntax error, unexpected ‘/’, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/n/g/r/ngruhq/html/justatest/wp-content/themes/default/single.php on line 31

    If I add the semicolon back, the video plays fine, but with no preview image and the same actionscript error in IE.

    If you would be willing, I can send you the admin login information to play with and you can edit the single.php file in the WordPress editor to play with the themes code.

    Thread Starter chasew

    (@chasew)

    Hey Isa, thanks for taking a look.

    Yes, the video plays properly when you hit play, but the preview image from Youtube is not displaying, and when using IE an error occurs

    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

    Thread Starter chasew

    (@chasew)

    Thread Starter chasew

    (@chasew)

    Actually that wasn’t working right. The player was loading but it couldn’t find the video. I fiddled with it some more, and this seems to work better: <?php echo proplayer("[pro-player]$video;[/pro-player]"); ?>

    But I’m still getting an error, and it can’t find the preview image. (maybe they’re connected)

    The error is this:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

    Thanks again

    Thread Starter chasew

    (@chasew)

    I’m so glad you found this, thanks to you both for the responses!

    I updated the plugin, and the code you provided works great. The only problem is I’m trying to show the most recent video, rather than a specific one.

    My plan was to do this through custom fields, so that I can show the ‘video’ custom field of the most recent post in the video category. And then that will give me the most recent video.

    So rather than use the youtube link in your example, I used my custom field. At first it didn’t work, but then I put quotes around it and now it looks like it’s working fine.
    <?php echo proplayer("[pro-player]'$video'[/pro-player]"); ?>

    I am receiving some type of error in IE though. It happens with your original code as well.

    Here’s a link to the test site: https://clan-ngru.com/justatest/uncategorized/hello-world/

    Thanks again for the help

    Thread Starter chasew

    (@chasew)

    Perfect!

    Sorry about not posting a link, but I’m just working on a local site for now.

    That seems to have done the trick though, thanks for the help!

    Wow, nice! I just saw your other comment about the Track method too.

    Thats, great, thanks for all the help and answering my suggestion.

    I will certainly be checking this new version out!

    Take care

    Thread Starter chasew

    (@chasew)

    Ah ha! That plugin now has a spot among my top ten favorites.

    Sucks that there isnt a way to do it without a plugin… But I’m happy to know one exists. It’ll make my life much easier.

    Thanks!

    I take that back, I finally got everything working properly (I think).

    There is one minor issue with the interface on the post page. The menu is collapsed by default, and you have to click the down arrow on the right to expand it. But there isnt a down arrow… But if you just click there, the menu expands, and then you can select the access options.

    Other than that, both the subscription and security aspects of the plugin seem to be working with 2.7

    Thread Starter chasew

    (@chasew)

    Thanks for the bump!

    This plugin looks like it will do it: https://www.ads-software.com/extend/plugins/social-access-control/

    Its part of a larger group of plugins called Social Privacy: https://www.ads-software.com/extend/plugins/social-privacy/

    So far, it looks like the privacy features are working correctly with 2.7 although the second feature I need, which is subscription notifications, isnt. If posts are made to a category that multiple users have access to, they all get the post notification email, even if only one of the users can view the actual post (due to per post permissions).

    At any rate, I think that top link is a good solution for anyone looking for what I was originally looking for..

    Still no luck.

    Brand new 2.7 install, default theme, manual install of plugin, still getting the same thing. One post on Aug 10th at 180, second on Aug 18th at 190 (post with graph).

    https://www.chasewgraphics.com/otherlab/?p=19

    [tally_graph key=”Weight” cht=”lc” tally_interval=”week”]

    If theres anything else I can do, let me know.

    I’ll just use the day interval for now. If you could figure out a way to do a running total method, I really wouldnt even need week. (I only tried to use week to get rid of the blanks that cumulative was causing).

    Anyway, hope any of that is useful.

    Thanks

    It seems to work, somewhat.

    I’m having issues with the subscribe features. I need something where I can subscribe users to a category, but they only get a subscription notice when a post is made to that category that they have access to.

    Thats exactly what this plugin claims to do, and its the only one I can find that does it, but it isnt working properly.

    The access to the posts is working correctly, but all users subscribed to the category get the notice, even if they dont have access to the post.

    Hopefully I’ll figure out how to get it working correctly…

    Thread Starter chasew

    (@chasew)

    That would be great if you could create a method that does that. That’d be awesome…

    Thats fine if there has to be fixed intervals and everything. I dont necessarily want it to ignore days that I dont post. Actually, I’d prefer if it didnt, if possible. Just average them out.

    Like if I only make 2 posts, first on day 1 at 50, and day 3 at 100, the graph would still show day 2, averaged out to 75.

    Or skip it, which ever is easier. That’d be great.

    I’ll try a few more things with the week interval. I have noticed that it seems to react different ways depending on the order of paramaters within the code. I’ll also try a reinstall of everything. Although I think your plugin was the first I installed on that test site, I’m pretty sure I used the automatic thing in the dashboard which has given me some trouble with other plugins, so I’ll do it manual next time. I’ll post my findings to the other thread.

    Again, thanks for all the help!

    Thread Starter chasew

    (@chasew)

    Thanks for the response.

    I created some more posts set to August of 2008. The first is Aug 4th, then the 12th, and the 20th. All have custom fields with data, and I put the graph on the 20th. First I tried no interval count (incase it was just the new year) then tried 3, 6, and 11.. Still the same result. No data displaying, and its doubling the x axis numbers. Its also forcing me to designate a graph type.

    https://www.chasewgraphics.com/thelab/?p=161

    [tally_graph key=”Weight” cht=”lc” tally_interval=”week” interval_count=”11″ chs=”540×200″]

    On another note, I found a pretty nice site that allows you to set up a graph, choose your colors etc. and gives you the code. You still have to add the tally parameters, but its a quick way to add some color. https://charts.hohli.com/

    And last, it looks like the delta method (at least in my case) is just continuously adding, even if the newer data is less than the previous. If I have one entry at 150, and the second is 100, the second graph will rise up to 250. So it looks like I’ll have to stick with the default.

    Anyway, despite the fact that I’m having some trouble, I can tell this is a great plugin with even greater potential. There really isnt anything else out there close to the concept for WP. Hopefully I’ll be able to get it working.

    Thanks for your efforts and help

    Thread Starter chasew

    (@chasew)

    /bump

Viewing 15 replies - 1 through 15 (of 24 total)