Boas-vindas ao Power Pixel

Junte-se a comunidade! Crie o seu próprio conteúdo, e faça amizades.EntrarCriar uma conta

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 13:15

Encaminhamento/Visibilidade dos subfóruns Empty Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 13:15

Qual é minha questão:
Olá.
É o seguinte, em meu fórum a visibilidade está assim: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

E eu queria pôr assim: [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:
PunBB

Target Target  • Qua 12 Fev 2014 - 13:40

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 13:40

Olá,
Do jeito que o senhor deseja não dá pra fazer por enquanto, vou tentar fazer, mas não vou garantir nada, mas enfim, existe outro jeito que a FdF já postou um tutorial, segue abaixo o tutorial:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 14:00

Target Target  • Qua 12 Fev 2014 - 14:17

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 14:17

Olá,
Tente:
Código:

.pun table tbody.statused tr td.tcl .gensmall{
background:url('http://www.ball3d.pt/public/style_images/ac/custom/img/subforum_read.png') no-repeat 0 50%;
padding:0 15px 0 15px;
margin:0;
float: left;
width: 24.3%;
}

.tcl {
    color: #fff;
}

É apenas um código de teste. Ok? Wink

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 14:27

Target Target  • Qua 12 Fev 2014 - 14:29

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 14:29

Olá,
Coloque em teu CSS! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 14:34

Target Target  • Qua 12 Fev 2014 - 14:47

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 14:47

Olá amigo,
O que acontece é que existe certas modificações em seu template!

Adicione no CSS:
Código:

.main .main-head .page-title h2 {
    font-size: 1.2em !important
}


.hierarchy{
    font-size: 1.0em !important
}

.pun table.table td .gensmall {
background:url('http://www.ball3d.pt/public/style_images/ac/custom/img/subforum_read.png') no-repeat 0 50%;
padding:0 15px 0 15px;
margin:0;
font-size: 12px;
float: left;
width: 15.3%;
}

.pun table.table .tc_forum {
    color: #fff
}

E para que não dê erros, passe-me o template index_box!

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 15:01

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 15:01

Código:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <tbody class="statused">
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
               <tr>
                                                <td class="tc_icon">
                     <span class="status">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                     </span>
                                                </td>
                  <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                     <br />
                     {catrow.forumrow.FORUM_DESC}
                     <!-- BEGIN switch_moderators_links -->
                     <br />
                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                                          <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>

                        <!-- Column for Last Post -->
                  <td class="tcr">
                    <!-- Backup
                    <span>
                        <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                        {catrow.forumrow.USER_LAST_POST}
                    </span>
                    -->
                    <!-- BEGIN switch_topic_title -->
                    <a href="" class="ipsUserPhoto">
                                <img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image" class="ipsUserPhoto_mini">
                            </a>
                    <!-- END switch_topic_title -->
                    <ul class="last_post ipsType_small">
                        <li>
                          <!-- BEGIN switch_topic_title -->
                          <a title="{catrow.forumrow.LATEST_TOPIC_TITLE}" href="{catrow.forumrow.U_LATEST_TOPIC}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
                          <!-- END switch_topic_title -->
                        </li>
                        <li class="desc lighter blend_links">{catrow.forumrow.USER_LAST_POST}</li>
                    </ul>               
                    </td>
                  </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
   <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
<script type="text/javascript">
    //<![CDATA[
    var target = $('td.tcr').find('li.desc.lighter.blend_links');
    target.each(function(index){
        var UserURL = $(this).find('a.gensmall').attr('href');
        var Desc = $(this).parent().find('li a');
     
        if (Desc.text() == '') {
            Desc.text('Não há posts para visualizar');
        }
        if($.trim(UserURL) !== '') {
            var found = $(this).parent().parent().find('.ipsUserPhoto_mini');
            var caching_time = 24*60*60*1000;
            var caching_error = 60*1000;
         
            if(localStorage.getItem('avatar_date' + index) <+new Date-caching_time || localStorage.getItem('avatar_date' + index) <+new Date-caching_error) {
                $.get(UserURL, function(data){
                    var avtPrf = $('#profile_tabs p img', data).attr('src');
                    /*
                    if(avtPrf.length > 0) {
                        found.attr('src', avtPrf);
                    }*/
                    found.attr('src', avtPrf);
                    localStorage.setItem('avatar_img' + index, avtPrf);
                    localStorage.setItem('avatar_date' + index, +new Date);
                });
            } else {
                found.attr('src', localStorage.getItem('avatar_img'+ index));
            }
        };
    });
    //]]>
</script>

Target Target  • Qua 12 Fev 2014 - 15:18

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 15:18

Olá!

Tente agora:
Código:

<div class="pun-crumbs">
  <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
  <!-- BEGIN tablehead -->
      <div class="main-head">
        <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
        <table cellspacing="0" class="table">
            <tbody class="statused">
  <!-- END tablehead -->

  <!-- BEGIN forumrow -->
              <tr>
                                                <td class="tc_icon">
                    <span class="status">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    </span>
                                                </td>
                  <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                    <br />
                    <span class="desc_light" id="desc_light_" >{catrow.forumrow.FORUM_DESC}</span>
                    <!-- BEGIN switch_moderators_links -->
                    <br />
                    {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                    <!-- END switch_moderators_links -->
                    {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                    <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                                          <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>

                        <!-- Column for Last Post -->
                  <td class="tcr">
                    <!-- Backup
                    <span>
                        <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                        {catrow.forumrow.USER_LAST_POST}
                    </span>
                    -->
                    <!-- BEGIN switch_topic_title -->
                    <a href="" class="ipsUserPhoto">
                                <img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image" class="ipsUserPhoto_mini">
                            </a>
                    <!-- END switch_topic_title -->
                    <ul class="last_post ipsType_small">
                        <li>
                          <!-- BEGIN switch_topic_title -->
                          <a title="{catrow.forumrow.LATEST_TOPIC_TITLE}" href="{catrow.forumrow.U_LATEST_TOPIC}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
                          <!-- END switch_topic_title -->
                        </li>
                        <li class="desc lighter blend_links">{catrow.forumrow.USER_LAST_POST}</li>
                    </ul>               
                    </td>
                  </td>
              </tr>
  <!-- END forumrow -->

  <!-- BEGIN tablefoot -->
            </tbody>
        </table>
      </div>
  <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
  <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
  </ul>
  <!-- BEGIN switch_delete_cookies -->
  <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
  </p>
  <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
<script type="text/javascript">
    //<![CDATA[
    var target = $('td.tcr').find('li.desc.lighter.blend_links');
    target.each(function(index){
        var UserURL = $(this).find('a.gensmall').attr('href');
        var Desc = $(this).parent().find('li a');
     
        if (Desc.text() == '') {
            Desc.text('Não há posts para visualizar');
        }
        if($.trim(UserURL) !== '') {
            var found = $(this).parent().parent().find('.ipsUserPhoto_mini');
            var caching_time = 24*60*60*1000;
            var caching_error = 60*1000;
         
            if(localStorage.getItem('avatar_date' + index) <+new Date-caching_time || localStorage.getItem('avatar_date' + index) <+new Date-caching_error) {
                $.get(UserURL, function(data){
                    var avtPrf = $('#profile_tabs p img', data).attr('src');
                    /*
                    if(avtPrf.length > 0) {
                        found.attr('src', avtPrf);
                    }*/
                    found.attr('src', avtPrf);
                    localStorage.setItem('avatar_img' + index, avtPrf);
                    localStorage.setItem('avatar_date' + index, +new Date);
                });
            } else {
                found.attr('src', localStorage.getItem('avatar_img'+ index));
            }
        };
    });
    //]]>
</script>

E insira isto no seu CSS:

Código:

#desc_light {
color: #222 !important;
}

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 15:27

Target Target  • Qua 12 Fev 2014 - 15:51

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 15:51

Olá amigo,


Tente:

Código:

#desc_light_ {
color: #808080 !important;
}

.main .main-head .page-title h2 {
    font-size: 1.2em !important
}

.hierarchy{
    font-size: 1.0em !important
}

.pun table.table td .gensmall {
background:url('http://www.ball3d.pt/public/style_images/ac/custom/img/subforum_read.png') no-repeat 0 50%;
padding:0 15px 0 15px;
margin:0;
font-size: 12px;
float: left;
width: 17.6%;
}

.pun table.table .tc_forum {
    color: #fff
}

Retire a imagem do lastpost, assim funcionará melhor ! ^^ '

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 15:57

Target Target  • Qua 12 Fev 2014 - 16:12

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 16:12

Fiz uma alteração no index_box, teste agora:

Código:

<!-- Ínicio do CSS -->

<style type='text/css'>
.subforum_navigation {
    float: left;
    width: 23.9%;
    padding: 0 15px 0 3px;
    margin: 0;
    color: #fff;
}
.subforum_navigation a {
    color: #000 !important;
}
      </style>
<!-- Fim do CSS -->
<div class="pun-crumbs">
  <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
  <!-- BEGIN tablehead -->
      <div class="main-head">
        <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
        <table cellspacing="0" class="table">
            <tbody class="statused">
  <!-- END tablehead -->

  <!-- BEGIN forumrow -->
              <tr>
                                                <td class="tc_icon">
                    <span class="status">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    </span>
                                                </td>
                  <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                    <br />
                    {catrow.forumrow.FORUM_DESC}
                    <!-- BEGIN switch_moderators_links -->
                    <br />
                    {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                    <!-- END switch_moderators_links -->
                    <span class="subforum_navigation">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
                    <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                                          <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>

                        <!-- Column for Last Post -->
                  <td class="tcr">
                    <!-- Backup
                    <span>
                        <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                        {catrow.forumrow.USER_LAST_POST}
                    </span>
                    -->
                    <!-- BEGIN switch_topic_title -->
                    <a href="" class="ipsUserPhoto">
                                <img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image" class="ipsUserPhoto_mini">
                            </a>
                    <!-- END switch_topic_title -->
                    <ul class="last_post ipsType_small">
                        <li>
                          <!-- BEGIN switch_topic_title -->
                          <a title="{catrow.forumrow.LATEST_TOPIC_TITLE}" href="{catrow.forumrow.U_LATEST_TOPIC}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
                          <!-- END switch_topic_title -->
                        </li>
                        <li class="desc lighter blend_links">{catrow.forumrow.USER_LAST_POST}</li>
                    </ul>               
                    </td>
                  </td>
              </tr>
  <!-- END forumrow -->

  <!-- BEGIN tablefoot -->
            </tbody>
        </table>
      </div>
  <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
  <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
  </ul>
  <!-- BEGIN switch_delete_cookies -->
  <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
  </p>
  <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
<script type="text/javascript">
    //<![CDATA[
    var target = $('td.tcr').find('li.desc.lighter.blend_links');
    target.each(function(index){
        var UserURL = $(this).find('a.gensmall').attr('href');
        var Desc = $(this).parent().find('li a');
     
        if (Desc.text() == '') {
            Desc.text('Não há posts para visualizar');
        }
        if($.trim(UserURL) !== '') {
            var found = $(this).parent().parent().find('.ipsUserPhoto_mini');
            var caching_time = 24*60*60*1000;
            var caching_error = 60*1000;
         
            if(localStorage.getItem('avatar_date' + index) <+new Date-caching_time || localStorage.getItem('avatar_date' + index) <+new Date-caching_error) {
                $.get(UserURL, function(data){
                    var avtPrf = $('#profile_tabs p img', data).attr('src');
                    /*
                    if(avtPrf.length > 0) {
                        found.attr('src', avtPrf);
                    }*/
                    found.attr('src', avtPrf);
                    localStorage.setItem('avatar_img' + index, avtPrf);
                    localStorage.setItem('avatar_date' + index, +new Date);
                });
            } else {
                found.attr('src', localStorage.getItem('avatar_img'+ index));
            }
        };
    });
    //]]>
</script>

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 16:30

Target Target  • Qua 12 Fev 2014 - 17:05

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 17:05

Amigo, não precisa adicionar nenhum CSS, apenas o index_box.

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 17:25

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 17:25

Pus isso também e não ficou a imagem nova, apara além de ficarem desordenados

Target Target  • Qua 12 Fev 2014 - 17:33

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 17:33

Olá amigo,
Exclua TODOS os códigos passado neste tópico, deixe apenas o código do index_box!

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 17:38

Target Target  • Qua 12 Fev 2014 - 17:56

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 17:56

Olá amigo,
Agora basta alterar, novamente, o index_box:

Código:

<!-- Ínicio do CSS -->

<style type='text/css'>
.subforum_navigation {
    float: left;
    width: 37.6%;
    padding: 0 15px 0 5px;
    margin: 0;
    color: #fff;
}
.subforum_navigation a {
    color: #000 !important;
}
      </style>
<!-- Fim do CSS -->
<div class="pun-crumbs">
  <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
  <!-- BEGIN tablehead -->
      <div class="main-head">
        <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
        <table cellspacing="0" class="table">
            <tbody class="statused">
  <!-- END tablehead -->

  <!-- BEGIN forumrow -->
              <tr>
                                                <td class="tc_icon">
                    <span class="status">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    </span>
                                                </td>
                  <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                    <br />
                    {catrow.forumrow.FORUM_DESC}
                    <!-- BEGIN switch_moderators_links -->
                    <br />
                    {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                    <!-- END switch_moderators_links -->
                    <span class="subforum_navigation">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
                    <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                                          <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>

                        <!-- Column for Last Post -->
                  <td class="tcr">
                    <!-- Backup
                    <span>
                        <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                        {catrow.forumrow.USER_LAST_POST}
                    </span>
                    -->
                    <!-- BEGIN switch_topic_title -->
                    <a href="" class="ipsUserPhoto">
                                <img src="http://i78.servimg.com/u/f78/18/17/62/92/defaul10.png" alt="User image" class="ipsUserPhoto_mini">
                            </a>
                    <!-- END switch_topic_title -->
                    <ul class="last_post ipsType_small">
                        <li>
                          <!-- BEGIN switch_topic_title -->
                          <a title="{catrow.forumrow.LATEST_TOPIC_TITLE}" href="{catrow.forumrow.U_LATEST_TOPIC}">{catrow.forumrow.LATEST_TOPIC_NAME}</a>
                          <!-- END switch_topic_title -->
                        </li>
                        <li class="desc lighter blend_links">{catrow.forumrow.USER_LAST_POST}</li>
                    </ul>               
                    </td>
                  </td>
              </tr>
  <!-- END forumrow -->

  <!-- BEGIN tablefoot -->
            </tbody>
        </table>
      </div>
  <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
  <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
  </ul>
  <!-- BEGIN switch_delete_cookies -->
  <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
  </p>
  <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
<script type="text/javascript">
    //<![CDATA[
    var target = $('td.tcr').find('li.desc.lighter.blend_links');
    target.each(function(index){
        var UserURL = $(this).find('a.gensmall').attr('href');
        var Desc = $(this).parent().find('li a');
     
        if (Desc.text() == '') {
            Desc.text('Não há posts para visualizar');
        }
        if($.trim(UserURL) !== '') {
            var found = $(this).parent().parent().find('.ipsUserPhoto_mini');
            var caching_time = 24*60*60*1000;
            var caching_error = 60*1000;
         
            if(localStorage.getItem('avatar_date' + index) <+new Date-caching_time || localStorage.getItem('avatar_date' + index) <+new Date-caching_error) {
                $.get(UserURL, function(data){
                    var avtPrf = $('#profile_tabs p img', data).attr('src');
                    /*
                    if(avtPrf.length > 0) {
                        found.attr('src', avtPrf);
                    }*/
                    found.attr('src', avtPrf);
                    localStorage.setItem('avatar_img' + index, avtPrf);
                    localStorage.setItem('avatar_date' + index, +new Date);
                });
            } else {
                found.attr('src', localStorage.getItem('avatar_img'+ index));
            }
        };
    });
    //]]>
</script>

OBS: Coloque mais de 2 subfóruns para ser mais fácil de identificar os erros! Wink

E o CSS:
Código:

.main .main-head .page-title h2 {
font-size: 14px !important
}

.main .main-content .forumtitle {
font-size: 12px !important
}


Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 18:00

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 18:00

Olá amigo, veja: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]


Uns em cima e outros de lado, gostaria de lado e era só mudar a imagem (folhinha) pela outra e está feito.

Target Target  • Qua 12 Fev 2014 - 18:05

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns Qua 12 Fev 2014 - 18:05

Olá,
Isto você deverá mudar no Painel de Controle.
Admin CP -> Visualização -> Imagens e Cores -> Gestão das Imagens -> Modo Avançado -> Mini-Ícones

Procure por está "Folhinha" e mude-a pela imagem:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Até +! Wink

Diogo Ferreira Diogo Ferreira  • Qua 12 Fev 2014 - 18:10

Target Target  • Qua 12 Fev 2014 - 18:12

Encaminhamento/Visibilidade dos subfóruns Empty Resolvido! Qua 12 Fev 2014 - 18:12

[sucesso=Tópico Resolvido; e Bloqueado]Resolvido![/sucesso]Movido para: Arquivo - Pedido de código

Conteúdo patrocinado  • 

Encaminhamento/Visibilidade dos subfóruns Empty Re: Encaminhamento/Visibilidade dos subfóruns

Permissões neste sub-fórum
Não podes responder a tópicos