no se cargan los archivos en comentarios de pagina pst
Posted: Tue Aug 15, 2023 12:01 am
Enter codes
<center><div class="container" id="form" style="margin: 6px; width: 95%; height: auto; background-color: #ffffef;"> <br> <table class="post" id="form" width="98%" height="auto" style="padding: 3px; margin: 2 auto; background-color: #f0f0e0;"><tr><td class="td" style="text-align: left;"> <img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://cdn.wapka.org/008t5z/423e186a1d ... atar-2.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar"> </td> <td class="td" style="text-align: left;"> <a href="/user/?id=%userid%"> <b class="{{SLUG(%role%)}}">%username%</b> </a> <br><small style="font-size: xx-small;">%key1% %value1%</small></td><td class="td" style="text-align: left;"> <font color="red">{{VALUE(%role%)@REPLACE([["Subscriber","Author"],"Member"])@REPLACE(["Administrator","Admin"])}} </font> <font size="1px"><br> <small style="color: blue;"> {{VALUE(%date%)@DATE(AGO)}} </small></font> </td> <td class="td" style="text-align: left;"> <div style="margin-top: 2px;"><small style="color: black;"> {{VAR(USER_ID)@IFEQ(%userid%)@THEN()@ELSE( <a href="/mensajes?uid=%userid%"><i class="fa fa-envelope-o"></i> Mj-privado</a>)}}<br> <a href="/user/?id=%userid%"><i class="fa fa-user"></i> Perfil</a> </small> </div> </td></tr></table> <div class="msg" style="margin: 0 auto; font-size: 1em;"><br> <span translate="si" name="bbcode"> {{LENGTH(%value3%)@IFGE(501)@THEN()@ELSE(<!---)}} {{VALUE(%value3%)@CUT([0, 500])}} {{LENGTH(%value3%)@IFGE(501)@THEN()@ELSE(--->%value3%)}} {{LENGTH(%value2%)@IFGE(501)@THEN()@ELSE(<!---)}} {{VALUE(%value2%)@CUT([0, 500])}} {{LENGTH(%value2%)@IFGE(501)@THEN()@ELSE(--->%value2%)}} </span><br> <div class="container" style="margin: 10px;"> {{VAR(USER_ROLE)@IFEQ(Super Admin)@THEN(<a href="/delete/data/%id%">Borrar</a>)@ELSE()}} <!-- CommentBtn.com BEGIN --><a href="/pst/?id=%id%&uid=%userid%"><span class="disqus-comment-count" data-disqus-url="/count/%id%/%userid%/"> <i class="fa fa-comment" style="color: #000000;"></i> <font size="2px"> Comentarios </font> </span></a> <!-- CommentBtn.com END --> </div> </div> </div></center> <script> (function() {var x = document.querySelectorAll(".msg"); var i; for (i = 0; i < x.length; i++) {var str = x.innerHTML; fix = str.replace(/\[youtube=(?:https?:\/\/(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/))?(.+?)(?::(?:w='95%')?(.*?))?(?::(?:h='auto')?(.*?))?\]/gi, '<iframe loading="lazy" src="https://www.youtube.com/embed/$1" width="$2" height="$3" frameborder="0" marginheight="0" marginwidth="0" allowfullscreen="true" width="95%" height="auto" scrolling="auto" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>'); x.innerHTML = fix; }} )(); </script> <script> (function() {var x = document.querySelectorAll(".msg"); var i; for (i = 0; i < x.length; i++) {var str = x.innerHTML; fix = str.replace(/\[mp3=(.+?)]/ig, "<audio controls> <source src='$1' type='audio/mpeg' rel='dofollow'> </audio>"); x.innerHTML = fix; }} )(); </script>
Enter Config
<pid>{{GET(id)}}</pid>
<limit>10</limit>
<order>new</order>
Header
<center><span class="post container" style="margin: 3px;"><b> {{VALUE(%total%)@OR(NO hay)}} opinión</b></span></center>
<center><div class="container" id="form" style="margin: 6px; width: 95%; height: auto; background-color: #ffffef;"> <br> <table class="post" id="form" width="98%" height="auto" style="padding: 3px; margin: 2 auto; background-color: #f0f0e0;"><tr><td class="td" style="text-align: left;"> <img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://cdn.wapka.org/008t5z/423e186a1d ... atar-2.png)@ELSE(%avatar%)}}" alt="%username%" class="Avatar"> </td> <td class="td" style="text-align: left;"> <a href="/user/?id=%userid%"> <b class="{{SLUG(%role%)}}">%username%</b> </a> <br><small style="font-size: xx-small;">%key1% %value1%</small></td><td class="td" style="text-align: left;"> <font color="red">{{VALUE(%role%)@REPLACE([["Subscriber","Author"],"Member"])@REPLACE(["Administrator","Admin"])}} </font> <font size="1px"><br> <small style="color: blue;"> {{VALUE(%date%)@DATE(AGO)}} </small></font> </td> <td class="td" style="text-align: left;"> <div style="margin-top: 2px;"><small style="color: black;"> {{VAR(USER_ID)@IFEQ(%userid%)@THEN()@ELSE( <a href="/mensajes?uid=%userid%"><i class="fa fa-envelope-o"></i> Mj-privado</a>)}}<br> <a href="/user/?id=%userid%"><i class="fa fa-user"></i> Perfil</a> </small> </div> </td></tr></table> <div class="msg" style="margin: 0 auto; font-size: 1em;"><br> <span translate="si" name="bbcode"> {{LENGTH(%value3%)@IFGE(501)@THEN()@ELSE(<!---)}} {{VALUE(%value3%)@CUT([0, 500])}} {{LENGTH(%value3%)@IFGE(501)@THEN()@ELSE(--->%value3%)}} {{LENGTH(%value2%)@IFGE(501)@THEN()@ELSE(<!---)}} {{VALUE(%value2%)@CUT([0, 500])}} {{LENGTH(%value2%)@IFGE(501)@THEN()@ELSE(--->%value2%)}} </span><br> <div class="container" style="margin: 10px;"> {{VAR(USER_ROLE)@IFEQ(Super Admin)@THEN(<a href="/delete/data/%id%">Borrar</a>)@ELSE()}} <!-- CommentBtn.com BEGIN --><a href="/pst/?id=%id%&uid=%userid%"><span class="disqus-comment-count" data-disqus-url="/count/%id%/%userid%/"> <i class="fa fa-comment" style="color: #000000;"></i> <font size="2px"> Comentarios </font> </span></a> <!-- CommentBtn.com END --> </div> </div> </div></center> <script> (function() {var x = document.querySelectorAll(".msg"); var i; for (i = 0; i < x.length; i++) {var str = x.innerHTML; fix = str.replace(/\[youtube=(?:https?:\/\/(?:www\.)?(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/))?(.+?)(?::(?:w='95%')?(.*?))?(?::(?:h='auto')?(.*?))?\]/gi, '<iframe loading="lazy" src="https://www.youtube.com/embed/$1" width="$2" height="$3" frameborder="0" marginheight="0" marginwidth="0" allowfullscreen="true" width="95%" height="auto" scrolling="auto" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>'); x.innerHTML = fix; }} )(); </script> <script> (function() {var x = document.querySelectorAll(".msg"); var i; for (i = 0; i < x.length; i++) {var str = x.innerHTML; fix = str.replace(/\[mp3=(.+?)]/ig, "<audio controls> <source src='$1' type='audio/mpeg' rel='dofollow'> </audio>"); x.innerHTML = fix; }} )(); </script>
Enter Config
<pid>{{GET(id)}}</pid>
<limit>10</limit>
<order>new</order>
Header
<center><span class="post container" style="margin: 3px;"><b> {{VALUE(%total%)@OR(NO hay)}} opinión</b></span></center>