GyGu • Dom 19 maio 2013 - 18:25
Qual é minha questão: Olá,
Gostava de ter o código que faz com que um post (não tópico) fique popular como mostra na imagem a baixo
[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem] Creio que o post torna-se popular quando for 5 vezes reputado.
Onde vi? [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] Endereço do meu fórum: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] Versão do fórum: PUNBB
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Convidad • Dom 19 maio 2013 - 19:01
Olá! Tem como fazer sim amigo, me interessei e vou adaptar o código para PunBB. Não tão rápido como gostaria, espero que aguarde mas se alguém com mais tempo também poder desenvolver todos nós ficaremos gratos! Abraços, JS
Pedro95123 • Dom 19 maio 2013 - 19:07
Estava Indo Pedir agorinha ele e.e No Aguardo...
Pedro95123
Membro
Membro desde : 30/01/2013
Mensagens : 229
Reputação : 142
BangBang • Dom 19 maio 2013 - 19:21
Adicione á seu css:
Código: p.rep_highlight { float: right; display: inline-block; margin: 5px 10px 10px 10px; background: #D5DEE5; color: #1d3652; padding: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; font-size: 0.8em; font-weight: bold; text-align: center; } p.rep_highlight img { margin-bottom: 4px; }
E crie um javascript com investimento nos tópicos e com o seguinte código:
Código: }jQuery(".postmain").load("div.postmain:300").split('<div class="vote-bar" title="Reputação da mensagem: 100% (5 votos)"><div class="vote-bar-plus" style="height:50px;"></div></div>').join('<p class="rep_highlight"><img src="http://www.gleeforum.com/public/style_images/elegant/star_big.png" alt="*"><br>POPULAR</p>');
Resulta?
Se sim, me de um Curtir!
BangBang
Membro
Membro desde : 27/03/2013
Mensagens : 246
Reputação : 128
Pedro95123 • Dom 19 maio 2013 - 19:27
Olá, Não Resulta... ATT '--'
Pedro95123
Membro
Membro desde : 30/01/2013
Mensagens : 229
Reputação : 142
BangBang • Dom 19 maio 2013 - 19:50
Pedro95123 escreveu: Olá, Não Resulta... ATT '--'
Procure um tópico que alguém tenha 5 votos da reputação da mensagem...
E em vez da barrinha, irá aparecer POPULAR.
BangBang
Membro
Membro desde : 27/03/2013
Mensagens : 246
Reputação : 128
GyGu • Dom 19 maio 2013 - 20:03
Penso que não funciona, pois visualizei um tópico com mais de 5 vezes reputado e não aconteceu nada, não tenho certeza que tem 5 reputações mas penso que sim.
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Pedro95123 • Dom 19 maio 2013 - 20:11
Fiz o Mesmo Teste e não funcionou, Também Bugou meu title box... att '--'
Pedro95123
Membro
Membro desde : 30/01/2013
Mensagens : 229
Reputação : 142
Convidad • Dom 19 maio 2013 - 20:24
@GyGu
No template
Viewtopic_body procure por:
BEGIN switch_vote_active Razão:
So faz sentido o efeito se o sistema de votos de seu fórum estiver ativo! Abaixo de
BEGIN switch_vote_active adicione o seguinte código:
Código: <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"> <img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png"> <br>POPULAR </p>
Em seguida porcure por
BEGIN switch_bar e adicione o código:
Código: <script type="text/javascript"> //<![CDATA[ var value="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; if(value.search("(5 votos)") !== -1) { $('p.rep_highlight').show(); } //]]> </script>
Repita o mesmo acima para
BEGIN switch_no_bar Caso a barra de votação padrão forumeiros estiver ativa, procure por:
Código: <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
e substitua por:
Código: <div style="display: none;" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
Resultado:
[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem] Nota: Pode-se alterar a quantidade de votos na linha:
if(value.search("(5 votos)") !== -1) { JS
Última edição por JScript em Dom 19 maio 2013 - 21:09, editado 1 vez(es) (Motivo da edição : Correções!)
GyGu • Dom 19 maio 2013 - 20:39
Fiz isso como voce mandou e não aparece nada, nem o sinal de "+" para votar.
A baixo o meu template dos topic_body
Código: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="titlebox"> <dd> <dava><div class="avatarredet"><a class="teste2" href="#"> <img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links"> <dts>Iniciado por </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span></div></div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <li>{S_WATCH_TOPIC}</li> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </dd></div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br><div id="pd_rating_holder_6131538"></div> </h2> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info"> {postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div> <div class="user-info"> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div class="post-entry"> <div class="entry-content"> <!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"> <img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png"> <br>POPULAR </p> <div class="vote gensmall" style="display: none;"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png"></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <script type="text/javascript"> //<![CDATA[ var value="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; if(value.search("(5 votos)") !== -1) { $('p.rep_highlight').show(); } //]]> </script> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src=""></a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div> <a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowTransparency="true"></iframe> <br><br> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} <p> </p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoot"> <strong><font color=#00bfff>Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center><div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div></center> <div class="main-content topic"> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username"> <br/>Publicidade</h4> <div class="user-basic-info"> <br/><img src="http://i.imgur.com/wbIOt.png" /> </div> </div> <div class="user-info"> Idade: 99</br> Sexo: Masculino</br> Registro: 05/10/2011</br> Rank: Publicitário </div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong> <b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum </b> </strong></div> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Convidad • Dom 19 maio 2013 - 21:11
Aqui está o seu template com as mudanças que fiz:
Código: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="titlebox"> <dd> <dava><div class="avatarredet"><a class="teste2" href="#"> <img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links"> <dts>Iniciado por </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span></div></div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <li>{S_WATCH_TOPIC}</li> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </dd></div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br><div id="pd_rating_holder_6131538"></div> </h2> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info"> {postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div> <div class="user-info"> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div class="post-entry"> <div class="entry-content"> <!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"> <img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png"> <br>POPULAR </p> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png"></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <script type="text/javascript"> //<![CDATA[ var value="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; if(value.search("(5 votos)") !== -1) { $('p.rep_highlight').show(); } //]]> </script> <div style="display: none;" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div style="display: none;" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src=""></a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div> <a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowTransparency="true"></iframe> <br><br> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} <p> </p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoot"> <strong><font color=#00bfff>Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center><div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div></center> <div class="main-content topic"> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username"> <br/>Publicidade</h4> <div class="user-basic-info"> <br/><img src="http://i.imgur.com/wbIOt.png" /> </div> </div> <div class="user-info"> Idade: 99</br> Sexo: Masculino</br> Registro: 05/10/2011</br> Rank: Publicitário </div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong> <b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum </b> </strong></div> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
Nota: Pode-se alterar a quantidade de votos na linha: if(value.search("(
5 votos)") !== -1) {
Experimente mudar para
1 e veja como funciona em posts que tenha ao menos 1 voto, pois nem mesmo você sabe qual o post tem 5 votos!!!
JS
BangBang • Dom 19 maio 2013 - 21:20
Substitua por:
Código: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="titlebox"> <dd> <dava><div class="avatarredet"><a class="teste2" href="#"> <img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links"> <dts>Iniciado por </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span></div></div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <li>{S_WATCH_TOPIC}</li> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </dd></div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br><div id="pd_rating_holder_6131538"></div> </h2> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info"> {postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div> <div class="user-info"> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div class="post-entry"> <div class="entry-content"> <!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"> <img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png"> <br>POPULAR </p> <div class="vote gensmall" style="display: none;"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png"></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <script type="text/javascript"> //<![CDATA[ var value="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; if(value.search("(5 votos)") !== -1) { $('p.rep_highlight').show(); } //]]> </script> <script type="text/javascript"> jQuery(".postmain").split('<div class="vote-bar" title="Reputação da mensagem: 100% (5 votos)"><div class="vote-bar-plus" style="height:50px;"></div></div>').join('<p class="rep_highlight"><img src="http://www.gleeforum.com/public/style_images/elegant/star_big.png" alt="*"><br>POPULAR</p>'); if(value.search("<div class="vote-bar" title="Reputação da mensagem: 100% (5 votos)"><div class="vote-bar-plus" style="height:50px;"></div></div>") !== -1) { $(p.rep_highlight').show().ride(); } </script> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src=""></a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div> <a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowTransparency="true"></iframe> <br><br> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} <p> </p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoot"> <strong><font color=#00bfff>Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center><div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div></center> <div class="main-content topic"> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username"> <br/>Publicidade</h4> <div class="user-basic-info"> <br/><img src="http://i.imgur.com/wbIOt.png" /> </div> </div> <div class="user-info"> Idade: 99</br> Sexo: Masculino</br> Registro: 05/10/2011</br> Rank: Publicitário </div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong> <b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum </b> </strong></div> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
Resulta?
BangBang
Membro
Membro desde : 27/03/2013
Mensagens : 246
Reputação : 128
Convidad • Dom 19 maio 2013 - 21:33
@BangBang
Amigo você quer todas as minhas tals de "moedas"? Ou melhor: Quer ser pra sempre um
PREMIUM BS ?
O que você acrescentou está com problema, reveja:
Código: <script type="text/javascript"> jQuery(".postmain").split('<div class="vote-bar" title="Reputação da mensagem: 100% (5 votos)"><div class="vote-bar-plus" style="height:50px;"></div></div>').join('<p class="rep_highlight"><img src="http://www.gleeforum.com/public/style_images/elegant/star_big.png" alt="*"><br>POPULAR</p>'); if(value.search("<div class="vote-bar" title="Reputação da mensagem: 100% (5 votos)"><div class="vote-bar-plus" style="height:50px;"></div></div>") !== -1) { $(p.rep_highlight').show().ride(); } </script>
Vou lhe ajudar um pouco, a linha do problema é:
Código: $(p.rep_highlight').show().ride();
Postar códigos sem testar é fácil! Até eu que a dois meses atrás não sabia nem o que era
PunBB ...
@GyGu
Amigo, ná prática embora o meu código funcione, ainda tem bugs de replicar a imagem em outros tópicos, mas vou tentar resolver e quando estiver totalmente funcional eu postarei um tutorial!
JS
BangBang • Dom 19 maio 2013 - 21:38
Esqueci, é hide não ride '-' ride é montar... E sim, qualquer ajuda é bem vinda amigo!
BangBang
Membro
Membro desde : 27/03/2013
Mensagens : 246
Reputação : 128
Convidad • Dom 19 maio 2013 - 21:42
BangBang escreveu: Esqueci, é hide não ride '-' ride é montar... E sim, qualquer ajuda é bem vinda amigo!
Sério? E você ainda acha que não resta mais problemas? De que o seu código agora vai funcionar?
Reveja:
Código: $(p.rep_highlight').show().ride();
Js
Convidad • Dom 19 maio 2013 - 22:05
@GyGu
Fiz mais uma mudança em seu template:
Código: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="titlebox"> <dd> <dava><div class="avatarredet"><a class="teste2" href="#"> <img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div></dava> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links"> <dts>Iniciado por </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span></div></div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <li>{S_WATCH_TOPIC}</li> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --> </dd></div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br><div id="pd_rating_holder_6131538"></div> </h2> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info"> {postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div> <div class="user-info"> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div id="entry_{postrow.displayed.U_POST_ID}" class="post-entry"> <div class="entry-content"> <!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"> <img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png"> <br>POPULAR </p> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png"></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <script type="text/javascript"> //<![CDATA[ var value="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; if(value.search("(5 votos)") !== -1) { $('#entry_{postrow.displayed.U_POST_ID}').find('p.rep_highlight').show(); } //]]> </script> <div style="display: none;" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div style="display: none;" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src=""></a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div> <a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowTransparency="true"></iframe> <br><br> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} <p> </p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoot"> <strong><font color=#00bfff>Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center><div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div></center> <div class="main-content topic"> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> </div> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username"> <br/>Publicidade</h4> <div class="user-basic-info"> <br/><img src="http://i.imgur.com/wbIOt.png" /> </div> </div> <div class="user-info"> Idade: 99</br> Sexo: Masculino</br> Registro: 05/10/2011</br> Rank: Publicitário </div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong> <b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum </b> </strong></div> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
Nota: Pode-se alterar a quantidade de votos na linha: if(value.search("(
5 votos)") !== -1) {
Experimente mudar para
1 e veja como funciona em posts que tenha ao menos 1 voto, pois nem mesmo você sabe qual o post tem 5 votos!!!
E um link para você ver que está funcionando:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] Perceba que tem dois posts "populares" pois ambos receberam votos +
JS
GyGu • Seg 20 maio 2013 - 8:57
Olá JS.
Mesmo assim ainda há qualquer coisa que não funciona, por exemplo eu fiz Reputar um post este ->
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link] No entanto não apareceu a barra verde em que refere que alguem reputou o post fica sem nada como pode ver na imagem a baixo
[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem] Reputei logo o primeiro post de todos Mas se se der os 5 votos ai já aparece a estrela.
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Convidad • Seg 20 maio 2013 - 9:01
Ok, nesse caso procure por:
Código: <div style="display: none;" class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
E substitua por:
Código: <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
JS
GyGu • Seg 20 maio 2013 - 9:08
Fiz isso e continua sem aparecer, aliás agora aparecem as barras mas parecem fazia veja na imagem
[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem] E quando voto a barra desaparece por completo.
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Convidad • Seg 20 maio 2013 - 9:11
Eu estou trabalhando no momento e quase não posso verificar os códigos, somente a noite quando chegar em casa! JS
GyGu • Seg 20 maio 2013 - 9:12
Eu aguardo então. Obrigado
GyGu
Membro Experiente
Membro desde : 16/03/2013
Mensagens : 513
Reputação : 77
500 mensagens
Por ter publicado 500 mensagens no best Skins!
[F]lames • Seg 20 maio 2013 - 11:50
Olá, Substitua teu viewtopic_body para este:
Código: <script type="text/javascript"> //<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script><!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul><!-- BEGIN switch_plus_menu --> <li><script type="text/javascript"> //<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script></li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --></ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"> </script></span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px;"><iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowtransparency="true"><span id="fb_likebtn" style="margin-left: 6px;"></span></iframe></span> <!-- END switch_fb_likebtn --></p> </div> <div class="titlebox"> <dl> <dd> <div class="avatarredet"><a class="teste2" href="#"><img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links">Iniciado por ,</div> </div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <ul> <li>{S_WATCH_TOPIC}</li> </ul> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --></dd> </dl> </div> <div class="main paged"> <div class="paged-head clearfix"><!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"><!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --></p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}]</p> </div> <div class="main-content topic"><!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"><a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"> <h2><strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br /></h2> <div id="pd_rating_holder_6131538"></div> </div> <div class="postbody"> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info">{postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</div> </div> <div class="user-info"><!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div class="post-entry"> <div class="entry-content"><!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"><img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png" /><br /> POPULAR</p> <script type="text/javascript"> //<![CDATA[ jQuery(function() {jQuery('.post #p{postrow.displayed.U_POST_ID} + .postbody').each(function() {var title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; var num="5"; if(title.search(num) !== -1) {jQuery(this).find('.rep_highlight').show();}});}); //]]> </script> <div class="vote gensmall" style="display: none;"><!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png" /></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"><!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --></div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="" /></a></div> <!-- END switch_vote --></div> <!-- END switch_vote_active --> <div><a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script type="text/javascript"> //<![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); //]]> </script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowtransparency="true"></iframe><br /> <br /> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd><!-- BEGIN switch_post_attachments --> <dl class="file"> <dt><img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --></dt> <!-- BEGIN switch_no_comment --> <dd><em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em></dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd><em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em></dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --></dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p>{postrow.displayed.EDITED_MESSAGE}</p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content">{postrow.displayed.SIGNATURE_NEW}</div> <!-- END switch_signature --> <div class="postfoot"><strong><font color="#00BFFF">Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></div> <div class="post-options">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}</div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --></div> <hr id="first-post-br" /> <div class="main-content topic"><!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center> <div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div> </center> <div class="main-content topic"> <div class="post"><a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"></div> <div class="postbody"> <div class="user"> <div class="user-ident"> <h4 class="username"><br /> Publicidade</h4> <div class="user-basic-info"><br /> <img src="http://i.imgur.com/wbIOt.png" /></div> </div> <div class="user-info">Idade: 99<br /> Sexo: Masculino<br /> Registro: 05/10/2011<br /> Rank: Publicitário</div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong><b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum</b></strong></div> <div class="clear"></div> </div> <p>{postrow.displayed.EDITED_MESSAGE}</p> </div> </div> </div> <div class="postfoot"> <div class="user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></div> <div class="post-options">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}</div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}]</p> <p class="options"><input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --></p> </div> <a name="bottomtitle" id="bottomtitle"></a> <div class="paged-foot clearfix"><!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"><!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --></p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong></p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"><!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --></div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr><!-- BEGIN switch_forum_rule_image --> <td class="logo"><img src="{RULE_IMG_URL}" /></td> <!-- END switch_forum_rule_image --> <td class="rules entry-content">{RULE_MSG}</td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply" id="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS}<br /> {S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script><!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"> </script> <div id="fb-root"></div> <script type="text/javascript"> //<![CDATA[ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); //]]> </script>
Resulta?
Até mais.
[F]lames
Membro Experiente
Membro desde : 26/01/2013
Mensagens : 581
Reputação : 341
500 mensagens
Por ter publicado 500 mensagens no best Skins!
Pedro95123 • Seg 20 maio 2013 - 12:07
Olá, Poderiam Adaptar no Meu Viewtopic tbm?
Código: <script type="text/javascript">//<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script> <!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul> <!-- BEGIN switch_plus_menu --> <li> <script type="text/javascript">//<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --> </ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px; "> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px; "> <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe> </span> <!-- END switch_fb_likebtn --> </p> </div> <div class="titlebox"> <dd> <dava> <div class="avatarredet"><a class="teste2" href="#"> <img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a> </div> </dava> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links"> <dts>Iniciado por </dts><span itemprop="creator"></span>, <span itemprop="data_post"></span> </div> </div> <script type="text/javascript">$(function(){$.get('/profile?mode=editprofile',function(d){$('#iframe_votacao').attr('src','http://v11.power-pixel.net/tpsys/?t={TOPIC_ID}&u='+$(d).find('input[name="user_id"]').val());});});</script><div style="float: right;width: 300px;margin-top: 10px;"><iframe id="iframe_votacao" src="http://v11.power-pixel.net/tpsys/carregando.php" style="background: transparent;border: 0;width:300px;height:50px;" border="0"></iframe></div> </dd> </div> <div class="main paged"> <div class="paged-head clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> </div> <div class="main-content topic"> <!-- BEGIN postrow --> <!-- BEGIN displayed --> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"{postrow.displayed.THANK_BGCOLOR}> <h2> <strong>#{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> <span class="data-post">{postrow.displayed.POST_DATE_NEW}</span> </h2> </div> <div class="post"{postrow.displayed.THANK_BGCOLOR}> <a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"{postrow.displayed.THANK_BGCOLOR}> <div class="postbody"{postrow.displayed.THANK_BGCOLOR}> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info"> {postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE} </div> </div> <div class="user-info"> {postrow.displayed.ONLINE_IMG} <!-- BEGIN profile_field --> <div class="post_field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}</div> <!-- END profile_field --> {postrow.displayed.POSTER_RPG} </div> </div> <div class="post-entry"> <div class="entry-content"> <!-- BEGIN switch_vote_active --> <div class="vote gensmall"> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"> <!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --> </div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div> <!-- END switch_vote --> </div> <!-- END switch_vote_active --> <div> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd> <!-- BEGIN switch_post_attachments --> <dl class="file"> <dt> <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --> </dt> <!-- BEGIN switch_no_comment --> <dd> <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em> </dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd> <em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em> </dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --> </dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p> {postrow.displayed.EDITED_MESSAGE} </p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content"> {postrow.displayed.SIGNATURE_NEW} </div> <!-- END switch_signature --> <div class="postfoot"> <div class="user-contact"> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> </div> <div class="post-options"> {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} </div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --> </div> <hr id="first-post-br" /> <div class="main-content topic"> <!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> </div> <div class="main-foot clearfix"> <p class="h2"> <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}] </p> <p class="options"> <input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --> </p> </div> <a name="bottomtitle"></a> <div class="paged-foot clearfix"> <!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --> </p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"> <a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> </p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"> <!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --> </div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr> <!-- BEGIN switch_forum_rule_image --> <td class="logo"> <img src="{RULE_IMG_URL}" /> </td> <!-- END switch_forum_rule_image --> <td class="rules entry-content"> {RULE_MSG} </td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script> <!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script> <style> .titlebox{ -moz-border-radius:3px; -moz-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; -webkit-border-radius:3px; -webkit-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; background:#EFEFEF; border:1px solid #D6D6D6; border-radius:3px; box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; overflow:hidden; padding:10px; text-shadow:#fff 0 1px 0 } .titlebox dd{display:block} .titlebox dava{float:left} .titlebox dava a img{ -moz-box-shadow:0 2px 2px rgba(0,0,0,0.1); -webkit-box-shadow:0 2px 2px rgba(0,0,0,0.1); background:#fff; border:1px solid #D5D5D5; box-shadow:0 2px 2px rgba(0,0,0,0.1); float:left; height:50px!important; padding:1px; width:50px!important } .titlebox dava a img:hover{ -moz-box-shadow:0 2px 2px rgba(0,0,0,0.2); -webkit-box-shadow:0 2px 2px rgba(0,0,0,0.2); border-color:#A1A1A1; box-shadow:0 2px 2px rgba(0,0,0,0.2) } .ipsType_pagetitle a{font-size:23px;z-index:999} .desc.lighter.blend_links{color:#a4a4a4;float:left;font-size:11px} .desc.lighter,.desc.lighter.blend_links a{color:#A4A4A4} .desc,.desc.blend_links a,p.posted_info{color:#777;font-size:12px} .conect{display:inline-block;padding-left:5px} .seguir{float:right;position:relative} .seguir a{ -moz-border-radius:2px; -moz-box-shadow:0 1px 2px rgba(0,0,0,0.1), inset rgba(255,255,255,0.7) 0 1px 0; -webkit-border-radius:2px; -webkit-box-shadow:0 1px 2px rgba(0,0,0,0.1), inset rgba(255,255,255,0.7) 0 1px 0; background:#ececec url(http://i45.tinypic.com/2hrd3tg.png) repeat-x 0 0; border:1px solid #d0d0d0; border-radius:2px; box-shadow:0 1px 2px rgba(0,0,0,0.1), inset rgba(255,255,255,0.7) 0 1px 0; color:#616161!important; cursor:pointer; display:inline-block; font-size:11px; height:24px; line-height:24px; padding:0 10px; text-shadow:#fff 0 1px 0; white-space:nowrap } .seguir a:hover{background-color:#f8f8f8;color:#4c4c4c} /*box*/ .titlebox{ -moz-border-radius:3px; -moz-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; -webkit-border-radius:3px; -webkit-box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; background:#EFEFEF; border:1px solid #D6D6D6; border-radius:3px; box-shadow:inset rgba(0,0,0,0.1) 0 1px 4px; overflow:hidden; padding:10px; text-shadow:#fff 0 1px 0 } .titlebox dd{display:block} .titlebox dava{float:left} .titlebox dava a img{ -moz-box-shadow:0 2px 2px rgba(0,0,0,0.1); -webkit-box-shadow:0 2px 2px rgba(0,0,0,0.1); background:#fff; border:1px solid #D5D5D5; box-shadow:0 2px 2px rgba(0,0,0,0.1); float:left; height:50px!important; padding:1px; width:50px!important } .titlebox dava a img:hover{ -moz-box-shadow:0 2px 2px rgba(0,0,0,0.2); -webkit-box-shadow:0 2px 2px rgba(0,0,0,0.2); border-color:#A1A1A1; box-shadow:0 2px 2px rgba(0,0,0,0.2) } .ipsType_pagetitle a{font-size:23px;z-index:999} .desc.lighter.blend_links{color:#a4a4a4;float:left;font-size:11px} .desc.lighter,.desc.lighter.blend_links a{color:#A4A4A4} .desc,.desc.blend_links a,p.posted_info{color:#777;font-size:12px} .conect{display:inline-block;padding-left:5px}</style>
Pedro95123
Membro
Membro desde : 30/01/2013
Mensagens : 229
Reputação : 142
[F]lames • Seg 20 maio 2013 - 12:36
Olá, Substitua o código que passei por este:
Código: <script type="text/javascript"> //<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script><!-- BEGIN switch_user_logged_in --> <div id="pun-visit" class="clearfix"> <ul><!-- BEGIN switch_plus_menu --> <li><script type="text/javascript"> //<![CDATA[ var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}'; var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}'; var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}'; var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}'; var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}'; var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}'; insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script></li> <!-- END switch_plus_menu --> <li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li> <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li> <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> <!-- BEGIN watchtopic --> <li>{S_WATCH_TOPIC}</li> <!-- END watchtopic --></ul> <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p> </div> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <div id="pun-visit"> <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p> </div> <!-- END switch_user_logged_out --> <div class="pun-crumbs noprint"> <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong> <!-- BEGIN switch_twitter_btn --> <span id="twitter_btn" style="margin-left: 6px;"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"> </script></span> <!-- END switch_twitter_btn --> <!-- BEGIN switch_fb_likebtn --> <span id="fb_likebtn" style="margin-left: 6px;"><iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowtransparency="true"><span id="fb_likebtn" style="margin-left: 6px;"></span></iframe></span> <!-- END switch_fb_likebtn --></p> </div> <div class="titlebox"> <dl> <dd> <div class="avatarredet"><a class="teste2" href="#"><img class="teste" alt="" src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png" /></a></div> <div itemscope="" itemtype="http://schema.org/Article" class="ipsBox_withphoto"> <h1 itemprop="name" class="ipsType_pagetitle">{TOPIC_TITLE}</h1> <div class="desc lighter blend_links">Iniciado por ,</div> </div> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <div class="seguir"> <ul> <li>{S_WATCH_TOPIC}</li> </ul> </div> <!-- END watchtopic --> <!-- END switch_user_logged_in --></dd> </dl> </div> <div class="main paged"> <div class="paged-head clearfix"><!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"><!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --></p> </div> {POLL_DISPLAY} <div class="main-head clearfix"> <p class="h2"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> {L_MESSAGE} [{PAGE_NUMBER}]</p> </div> <div class="main-content topic"><!-- BEGIN postrow --> <!-- BEGIN displayed --> <div class="post"><a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"> <h2><strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW}<br /></h2> <div id="pd_rating_holder_6131538"></div> </div> <div class="postbody"> <div class="user"> <div class="user-ident"> <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> <div class="user-basic-info">{postrow.displayed.POSTER_AVATAR}<br /> {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}</div> </div> <div class="user-info"><!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} <center>{postrow.displayed.ONLINE_IMG}</center> </div> </div> <div class="post-entry"> <div class="entry-content"><!-- BEGIN switch_vote_active --> <p class="rep_highlight" style="display: none; background: none repeat scroll 0 0 #D5DEE5; border-radius: 5px 5px 5px 5px; color: #1D3652; float: right; font-size: 0.8em; font-weight: bold; margin: 5px 10px 10px; padding: 5px; text-align: center;"><img style="margin-bottom: 4px;" alt="*" src="http://i78.servimg.com/u/f78/18/17/62/92/star_b10.png" /><br /> POPULAR</p> <script type="text/javascript"> //<![CDATA[ jQuery(function() {jQuery('.post #p{postrow.displayed.U_POST_ID} + .postbody').each(function() {var title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"; var num="5"; if(title.search(num) !== -1) {jQuery(this).find('.rep_highlight').show();}});}); //]]> </script> <div class="vote gensmall"><!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i24.servimg.com/u/f24/16/14/11/80/plust10.png" /></a></div> <!-- END switch_vote --> <!-- BEGIN switch_bar --> <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}"><!-- BEGIN switch_vote_plus --> <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div> <!-- END switch_vote_plus --> <!-- BEGIN switch_vote_minus --> <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div> <!-- END switch_vote_minus --></div> <!-- END switch_bar --> <!-- BEGIN switch_no_bar --> <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div> <!-- END switch_no_bar --> <!-- BEGIN switch_vote --> <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="" /></a></div> <!-- END switch_vote --></div> <!-- END switch_vote_active --> <div><a href="https://twitter.com/share" class="twitter-share-button" data-via="Rewtec" data-lang="pt">Tweetar</a> <script type="text/javascript"> //<![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); //]]> </script> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rewtec.com{TOPIC_URL}&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21&appId=415894678439956" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:21px;" allowtransparency="true"></iframe><br /> <br /> <div>{postrow.displayed.MESSAGE}</div> <!-- BEGIN switch_attachments --> <dl class="attachbox"> <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt> <dd><!-- BEGIN switch_post_attachments --> <dl class="file"> <dt><img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" /> <!-- BEGIN switch_dl_att --> <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL} <!-- END switch_dl_att --> <!-- BEGIN switch_no_dl_att --> {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL} <!-- END switch_no_dl_att --></dt> <!-- BEGIN switch_no_comment --> <dd><em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em></dd> <!-- END switch_no_comment --> <!-- BEGIN switch_no_dl_att --> <dd><em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em></dd> <!-- END switch_no_dl_att --> <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd> </dl> <!-- END switch_post_attachments --></dd> </dl> <!-- END switch_attachments --> <div class="clear"></div> </div> <p>{postrow.displayed.EDITED_MESSAGE}</p> </div> </div> </div> <!-- BEGIN switch_signature --> <div class="sig-content">{postrow.displayed.SIGNATURE_NEW}</div> <!-- END switch_signature --> <div class="postfoot"><strong><font color="#00BFFF">Agradeça ao user {postrow.displayed.POSTER_NAME} se este o ajudou</font></strong> <div class="user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></div> <div class="post-options">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}</div> <div style="clear:both;"></div> </div> </div> </div> <!-- BEGIN first_post_br --></div> <hr id="first-post-br" /> <div class="main-content topic"><!-- END first_post_br --> <!-- END displayed --> <!-- BEGIN hidden --> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> <!-- END hidden --> <!-- END postrow --> <center> <div class="fb-comments" data-href="{FORUM_URL}{TOPIC_URL}{POST_IMG}" data-width="980" data-num-posts="10"></div> </center> <div class="main-content topic"> <div class="post"><a name="{postrow.displayed.U_POST_ID}"></a> <div class="postmain"> <div id="p{postrow.displayed.U_POST_ID}" class="posthead"></div> <div class="postbody"> <div class="user"> <div class="user-ident"> <h4 class="username"><br /> Publicidade</h4> <div class="user-basic-info"><br /> <img src="http://i.imgur.com/wbIOt.png" /></div> </div> <div class="user-info">Idade: 99<br /> Sexo: Masculino<br /> Registro: 05/10/2011<br /> Rank: Publicitário</div> </div> <div class="post-entry"> <div class="entry-content"> <div> <div><strong><b>Queres ver o teu anuncio aqui? Envia uma MP ao administrador deste fórum</b></strong></div> <div class="clear"></div> </div> <p>{postrow.displayed.EDITED_MESSAGE}</p> </div> </div> </div> <div class="postfoot"> <div class="user-contact">{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></div> <div class="post-options">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}</div> <div style="clear:both;"></div> </div> </div> </div> </div> <hr id="first-post-br" /> <div class="main-content topic"> <p class="p-hidden">{postrow.hidden.MESSAGE}</p> </div> </div> <div class="main-foot clearfix"> <p class="h2"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> {L_MESSAGE} [{PAGE_NUMBER}]</p> <p class="options"><input type="hidden" name="t" value="{TOPIC_ID}" /> <!-- <input type="hidden" name="sid" value="{S_SID}" /> --> <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" /> <!-- BEGIN viewtopic_bottom --> {S_TOPIC_ADMIN} <!-- END viewtopic_bottom --></p> </div> <a name="bottomtitle" id="bottomtitle"></a> <div class="paged-foot clearfix"><!-- BEGIN topicpagination --> <p class="paging">{PAGINATION}</p> <!-- END topicpagination --> <p class="posting"><!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a> <!-- END switch_user_authreply --></p> </div> </div> <div class="pun-crumbs"> <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} » <strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong></p> </div> <!-- BEGIN promot_trafic --> <div class="main" id="ptrafic_close" style="display:none"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a></p> </div> </div> <div class="main" id="ptrafic_open" style="display:''"> <div class="main-head clearfix"> <p class="h2">{PROMOT_TRAFIC_TITLE}</p> <p class="options"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a></p> </div> <div class="main-content clearfix"><!-- BEGIN link --> » <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br /> <!-- END link --></div> </div> <!-- END promot_trafic --> <!-- BEGIN switch_forum_rules --> <div class="main" id="forum_rules"> <div class="main-head clearfix"> <p class="h2">{L_FORUM_RULES}</p> </div> <table class="main-content frm"> <tr><!-- BEGIN switch_forum_rule_image --> <td class="logo"><img src="{RULE_IMG_URL}" /></td> <!-- END switch_forum_rule_image --> <td class="rules entry-content">{RULE_MSG}</td> </tr> </table> </div> <!-- END switch_forum_rules --> <!-- BEGIN switch_user_logged_in --> <a name="quickreply" id="quickreply"></a> {QUICK_REPLY_FORM} <!-- END switch_user_logged_in --> <div id="pun-info" class="main"> <div class="main-content"> <div id="stats"> <p>{L_TABS_PERMISSIONS}<br /> {S_AUTH_LIST}</p> </div> </div> </div> <!-- BEGIN switch_image_resize --> <script type="text/javascript"> //<![CDATA[ $(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} })); //]]> </script><!-- END switch_image_resize --> <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"> </script> <div id="fb-root"></div> <script type="text/javascript"> //<![CDATA[ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=415894678439956"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); //]]> </script>
Resulta?
Até mais.
[F]lames
Membro Experiente
Membro desde : 26/01/2013
Mensagens : 581
Reputação : 341
500 mensagens
Por ter publicado 500 mensagens no best Skins!
BangBang • Seg 20 maio 2013 - 13:05
JScript escreveu: BangBang escreveu: Esqueci, é hide não ride '-' ride é montar... E sim, qualquer ajuda é bem vinda amigo!
Sério? E você ainda acha que não resta mais problemas? De que o seu código agora vai funcionar?
Reveja:
Código: $(p.rep_highlight').show().ride();
Js
Acabei esquecendo de colocar o primeiro ', por isso, estava se fechando '' sem ter aberto!
BangBang
Membro
Membro desde : 27/03/2013
Mensagens : 246
Reputação : 128
Conteúdo patrocinado •
Permissões neste sub-fórum
Não podes responder a tópicos