可可素材资源库插件去除素材页面去除发布者和价格显示修改教程
可可素材资源库插件去除素材页面去除发布者和价格显示修改教程:
修改效果如图:【共修改3个文件,PC页面!】
首页:
编辑:/keke_down/template/down_index.htm
查找:
删除上述内容:约【122~131行】,请对照核对上述内容,请勿删除错误,并备份该文件。
还是该文件查找:【第二处】
删除上述内容:约【178~187行】,请对照核对上述内容,请勿删除错。
详情页:
编辑:/keke_down/template/down_view.htm
查找:
删除上述内容:约【378~387行】,请对照核对上述内容,请勿删除错误,并备份该文件。
分类页:
编辑:/keke_down/template/down_list.htm
查找:
删除上述内容:约【172~181行】,请对照核对上述内容,请勿删除错。
该教程适用于:
【可可】素材资源库 (keke_down)
https://down.dz-x.net/app-item-1.html
修改效果如图:【共修改3个文件,PC页面!】
首页:
编辑:/keke_down/template/down_index.htm
查找:
- <div class="list-footer d-flex">
- <div class="text-muted text-sm">
- <a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" class="avatar w-28" title="{$data['username']}" target="_blank">
- <img src="<!--{avatar($data['uid'], 'small', true)}-->" alt="{$data['username']}">
- </a>
- </div>
- <div class="text-muted text-sm text-right pt-1 ml-2"><a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" target="_blank">{$data['username']}</a></div>
- <div class="flex"></div>
- <div class="text-muted text-sm text-right pt-1">{if $data['price']>0 || $data['credit']}{if $data['price']>0}¥{$data['price']}{/if}{if $data['price']>0 && $data['credit']} +{/if} {if $data['credit']}{$data['credit']}{$_G[setting][extcredits][$data['credit_type']]['title']}{/if}{else}{lang keke_down:t12}{/if}</div>
- </div>
还是该文件查找:【第二处】
- <div class="list-footer d-flex">
- <div class="text-muted text-sm">
- <a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" class="avatar ajax w-28" title="{$data['username']}" target="_blank">
- <img src="<!--{avatar($data['uid'], 'middle', true)}-->" alt="{$data['username']}">
- </a>
- </div>
- <div class="text-muted text-sm text-right pt-1 ml-2"><a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" target="_blank">{$data['username']}</a></div>
- <div class="flex"></div>
- <div class="text-muted text-sm text-right pt-1">{if $data['price']>0 || $data['credit']}{if $data['price']>0}¥{$data['price']}{/if}{if $data['price']>0 && $data['credit']} +{/if} {if $data['credit']}{$data['credit']}{$_G[setting][extcredits][$data['credit_type']]['title']}{/if}{else}{lang keke_down:t12}{/if}</div>
- </div>
详情页:
编辑:/keke_down/template/down_view.htm
查找:
- <div class="list-footer d-flex">
- <div class="text-muted text-sm">
- <a href="home.php?mod=space&uid={$data['uid']}" class="avatar ajax w-28" title="{$data['username']}" target="_blank">
- <img src="<!--{avatar($data['uid'], 'small', true)}-->" alt="{$data['username']}">
- </a>
- </div>
- <div class="text-muted text-sm text-right pt-1 ml-2">{$data['username']}</div>
- <div class="flex"></div>
- <div class="text-muted text-sm text-right pt-1">{if $data['price']>0 || $data['credit']}{if $data['price']>0}¥{$data['price']}{/if}{if $data['price']>0 && $data['credit']} +{/if} {if $data['credit']}{$data['credit']}{$_G[setting][extcredits][$data['credit_type']]['title']}{/if}{else}{lang keke_down:t12}{/if}</div>
- </div>
分类页:
编辑:/keke_down/template/down_list.htm
查找:
- <div class="list-footer d-flex">
- <div class="text-muted text-sm">
- <a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" class="avatar ajax w-28" title="{$data['username']}" target="_blank">
- <img src="<!--{avatar($data['uid'], 'small', true)}-->" alt="{$data['username']}">
- </a>
- </div>
- <div class="text-muted text-sm text-right pt-1 ml-2"><a href="{eval urlRoute('plugin.php?id=keke_down&ac=user&uid='.$data['uid']);}" target="_blank">{$data['username']}</a></div>
- <div class="flex"></div>
- <div class="text-muted text-sm text-right pt-1">{if $data['price']>0 || $data['credit']}{if $data['price']>0}¥{$data['price']}{/if}{if $data['price']>0 && $data['credit']} +{/if} {if $data['credit']}{$data['credit']}{$_G[setting][extcredits][$data['credit_type']]['title']}{/if}{else}{lang keke_down:t12}{/if}</div>
- </div>
该教程适用于:
【可可】素材资源库 (keke_down)
https://down.dz-x.net/app-item-1.html