通过将其他插件,可以在网站上组织付费组更改,隐藏内容支付等等。
0.7.3 更新日志:
0.7.4 更新日志:
支付成功地址:
http://***.com/billing.html/pay/success
支付失败地址:
http://***.com/billing.html/pay/fail
安装:
1. 将页尾存档 DLE-Billing 上传到根目录。
2. 转到 ***.com/admin.php?mod=billing,然后按照安装向导进行操作。
3. 某些插件可能需要全局解析器连接。为此,请打开 engine/classes/templates.class.php 并找到:
$this->_clear();
在上面添加:
include( ENGINE_DIR . "/modules/billing/helpers/parser.php" );
4. 打开 main.tpl 并查找:
</head>
在上面添加:
<script type="text/jаvascript" src="{THEME}/billing/js/paygroups.js"></script>
5. 在模板中的任意位置显示登录用户的当前余额,请添加代码:
{include file="engine/modules/billing/widgets/balance.php"}
6. 在管理面板中设置模块
伪静态(.htaccess)
# billing
RewriteRule ^([^/]+).html/(.*)(/?)+$ index.php?do=static&page=$1&seourl=$1&route=$2 [QSA]
自定义字段(xfields.txt)
payhide|隐藏||text||1|0|0|1|||0|0||||||隐藏文本,需积分兑换||||||||||0|
打开模板文件 fullstory.tpl 查找
<p>{full-story}</p>
在下面添加
<!--隐藏10积分-->
[xfgiven_payhide]
<div class="quote_block noncontenteditable">
<div class="quote">
<div class="quote_body contenteditable">
这一行填写“隐藏文本插件”-“标签生成器”里面生成的代码,其中“隐藏文本”替换为自定义标签值:[xfvalue_payhide]
</div>
</div>
</div>
<p></p>
[/xfgiven_payhide]-->
<!--隐藏10积分-->