如何编写付费墙? (唠叨屏幕效果) [英] How do I code up a pay wall? (nag screen effect)

查看:88
本文介绍了如何编写付费墙? (唠叨屏幕效果)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是一个示例网站:http://punani.mobi



在页面加载后的预定时间我想要一个唠叨屏幕来触发和显示一些信息和这个捐赠按钮:



Here is an example site: http://punani.mobi

At a predetermined time after page load I want a "nag screen" to trigger and display some info and this donate button:

<a href="https://www.onebip.com/tinyurl/131ef860cca8653e7ed82a9f94aa12de" title="Mobile payment: send and receive money with your mobile phone">
<img src="http://www.onebip.com/tools/bts/btn06.gif" alt="Transfer money with your mobile phone credit" border="0"/>
</a>





我希望这个屏幕不可能或至少很难绕过。在访客支付后,他们可以继续查看当前页面。



我已经弄乱了几个灯箱并取消了取消按钮,但随后点击了黑色背景或只是禁用java会失败它,如果它不会崩溃。是否有我想要的套件?或者你能告诉我我哪里出错了。



非常感谢



更新:



好​​的我找到了两项服务,但现在我遇到了两个问题。 tinypass.com给我的新脚本如下所示,但你可以看到它只是跳到页面加载我如何延迟它?



示例网站:http: //punani.mobi



tinypass脚本:





I want this screen impossible or at least very difficult to get around. After the visitor pays they are allowed to resume viewing current page.

I have messed around with a few lightboxes and stripped out the cancel button, but then clicking on the black background or just disabling java defeats it and thats if it just doesn't crash. Is there a kit for what I want? or can you show me where I'm going wrong.

Many Thanks

UPDATE:

OK I've found two services but now I've got two problems. The new script given to me by tinypass.com is below but as you can see it just jumps in on pageload how do i delay it?

example site: http://punani.mobi

tinypass script:

<script type="text/javascript">
    window._tpm = window._tpm || [];
    window._tpm['paywallID'] = '53280072';
    window._tpm['trackPageview'] = true;
</script>
<script type="text/javascript" src="//code.tinypass.com/tpl/d1/tpm.js"></script>





其次,我如何编码自己的付费专区,以便我可以插入Onebips按钮?因为这个新的解决方案迫使我使用tinypass,正如我刚刚发现的那样,它甚至无法在所有浏览器中工作。



Secondly how do I code my own paywall so that I can insert Onebips button instead? as this new solution forces me to use tinypass and as I've just found out, it doesnt even work in all browsers anyway.

推荐答案

https://www.paywall.com/ [ ^ ]



http://www.tinypass .com / [ ^ ]



只需剪切并粘贴代码即可。
https://www.paywall.com/[^]

http://www.tinypass.com/[^]

Just cut and paste in their code.


这篇关于如何编写付费墙? (唠叨屏幕效果)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆