Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
collegainit
tagDiv Member

Ok, we have gotten it to a point where it sets the post type to video and sets the td_post_video[td_video] to the custom field’s data. The video appears correctly in the post, but it is not creating the “featured image” automatically as it would when you put the url in on the wordpress backside. Do we need to add something to call the function to create the image from the video url and set it as image for the post?

collegainit
tagDiv Member

Is there a module that gets called when a post is created that I could insert something like the following to set the video url from the custom field:

$newVideoUrl = get_post_meta($this->post->ID, video_url, true);
if (empty($td_post_video[‘td_video’]) && !empty($newVideoUrl)) {
$td_post_video[‘td_video’] = $newVideoUrl;
}

collegainit
tagDiv Member

Hello,

We have gotten really close to what we need to do, but it still isn’t quite working.

It appears that we can create a custom field called ‘td_post_video’ and put the video url we want in there, but after updating the post the “Featured Video” box only contains the first character of what we put in the custom field, usually ‘h’ instead of ‘http://youtu.be/video’

We also tried ‘td_post_video[td_video]’ and ‘td_video’ but those did not work either. Are we using the correct post meta key?

collegainit
tagDiv Member

Thank you for your help! I am stupid, I change it from the numerical id for Facebook to our name, and now our fan numbers are showing!

Thanks again for all of your help.

collegainit
tagDiv Member

I have updated the code in td_social_api.php, but unfortunately this did not resolve this issue we are having. Our ‘Fans’ number is still zero.

collegainit
tagDiv Member

I apologize, some of my issue have been resolved. We had CloudFlare minimized Javascript enabled, which we have since disabled. This fixed our #1&2 issues, but issue #3 has not been resolved with this. Any suggestions would be great.

Viewing 6 posts - 1 through 6 (of 6 total)