Create a Wordpress Function to affect a specific .txt file.

已完成 已发布的 Oct 19, 2015 货到付款
已完成 货到付款

This is really pretty hard to explain, but I will try my best.

I have a small automatic wordpress plugin. The plugin is created to protect my direct download links (to save bandwitch).

For example:

I have a direct download link - [url removed, login to view] People can use this link and use my bandwitch. To prevent hotlinking (stealing), I created a wordpress plugin which automatically generates new links that are "binded" to IP and expires after a certain time. Plugin automatically generates new links every time page is reloaded/opened.

Direct link: [url removed, login to view]

Protected link: [url removed, login to view]

This plugin works perfect, but it is applied only to - the_content part of my wordpress based website.

It uses this filter:

add_filter( 'the_content', 'new_link_generator' );

Problem:

I have some videos on my website which are using the same plugin for protection. For single-type videos it works just fine. The problem appears when I use playlist-type videos.

My player reads JSON format .txt files for playlists:

{"playlist":[

{"comment":"VIDEO_NAME","file":"VIDEO_LINK"}

]}

The problem is what my plugin works only on >> the_content << part of my website, as I already said. It simply doesn't work in .txt files.

What do I need?

1) Custom Field where I place my playlist links.

2) Every post must have it's own playlist. It is not just one playlist. I need tons of them.

3) The links in Playlist must be secured with my plugin.

There are tons of websites running with similar method. I will provide some live examples (just websites who uses protected playlists).

Let me know if you need some more information.

Thank you.

HTML JavaScript Nginx PHP WordPress

项目ID: #8721882

关于项目

3个方案 远程项目 活跃的Oct 19, 2015

授予:

SourceBurner

I understand what you need and I'll be happy to upgrade the functionality to work with the txt file properly as requested. Please provide me with your web site url in order to take a look and I'll be happy to assist yo 更多

$50 USD 在1天内
(139条评论)
5.8

有3名威客正在参与此工作的竞标,均价$131/小时

akash9958

Hello, I am a Developer with good knowledge in WordPress, PHP, Software Architecture JavaScript, jQuery, HTML5, CSS3 and Responsive.   I have gone through the project description and would like to talk to you once to 更多

$244 USD 在7天内
(147条评论)
6.8
itwebworld

A proposal has not yet been provided

$144 USD 在3天内
(47条评论)
4.2