• Daily Support was created for Forumotion support, troubleshooting your problems with your computer, with your network or with your life. We offer graphic design services like graphic creations, good tutorials and many others! I hope you like this theme, i worked a lot to make it.
    Look at our new code! This is a nice loading screen for all versions Very Happy Read more
    Look at our new code! This is a nice Windows 8 Styled navigation bar! Read more
    Look at our new code! This is a code for partner, similary to our partner script! You have to choose your forum version, from the next list...Read more.
Daily Support ™

Tutorials, protection, discussions, graphic design, forumotion help, codes, gaming, roleplay, counter-strike 1.6, metin2, mt2, cs 1.6, cs 1.6 codes, mt2 codes, powerfull forum


You are not connected. Please login or register

[solved]Asking for a nice topics_list_box code

View previous topic View next topic Go down  Message [Page 1 of 1]

1 [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 4:26 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
I am asking for a code of topics_list_box which will show the topic's image in the list. Here is an example deleted

Screenshot:




*Deleted link


2 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 6:20 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
ashik4u, you have been warned. Please don't post any address. You have website field, please use it! If you want to post another address of forum or site, please ask a staff member first!
Thanks!


Is this forumotion ?





3 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 7:54 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Yes, that is forumotion. I can give you another demo with code but in PM (if you agree with that).

And sorry for everything. I am new here.


4 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:03 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Send us another demo with Daily Live Help. Thanks!





5 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:08 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
I have sent you the demo with code and link in PM. Check your PM.

I have tried to install the code but showing some error on width, color etc.


6 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:51 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
You can post the code here, but forum or website adresses you can't!
It's working on my tests forum. Are you sure you deleted your topics_list_box and after that you paste the code ?

Code:

<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
  var all_checked = true;
  for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
  }
  document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
  for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
  }
}
</script>
<!-- END multi_selection -->

  <table width="100%" border="0" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr width="100%">
      <td style="width:35%;float:right">
        <table style="float: left; width:100%">
          <tr style="float: left; width:100%">
      <!--Quảng cáo  -->
          </tr>
        </table>
      </td>


      <!-- BEGIN multi_selection -->
  <!-- END multi_selection -->

  <!-- BEGIN pagination -->

<p class="paging" style="margin-left:30px">{PAGINATION}</p>
  <br />
      <br />
 
  <!-- END pagination -->
  <!-- END header_table -->
      <!-- BEGIN header_row -->
<!-- END header_row -->
   
      <script type="text/javascript">$(function(){$(".xname").hide();});</script>
<!-- BEGIN topic -->

        <td style="width:60%; float:left">
  <table cellpadding="3" cellspacing="3"  style="float: left; width: 95%;border: 1px solid #B0B0B0;margin-left:15px;" >
  <tr>
    <td>
      <div class="tuananh4">
        <div class="blog_message1" href="{topics_list_box.row.U_VIEW_TOPIC}" ><img src="http://i71.servimg.com/u/f71/17/59/85/75/loadin10.gif"/></div></div><div class="bai_new4"><r>
          <h2 class="topic-title">
            <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}" onmouseover="showtip('<font color=#40ff00><b>Thời gian gửi:</b></font> <font color=#FF6600><b>{topics_list_box.row.LAST_POST_TIME}</b></font><br /><font color=#40ff00><b>Trạng Thái:</b></font> <font color=#ff8c00>{topics_list_box.row.L_TOPIC_FOLDER_ALT}</font> <br /><font color=#40ff00><b>Lượt xem:</b></font> <font color=red>{topics_list_box.row.VIEWS}</font><br /><font color=#40ff00><b>Trả lời:</b></font> <font color=#FF66CC>{topics_list_box.row.REPLIES}</font><br>');" onmouseout="hidetip();" >  {topics_list_box.row.TOPIC_TITLE}<br /><br /></a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}  </strong><br/></span>
            </h2>
        <!-- BEGIN switch_description -->
        <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
        </span>
        <!-- END switch_description -->
        <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
                  <span class="gensmall"><!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
            <span class="postdetails"><font color="black">  By: </font>{topics_list_box.row.TOPIC_AUTHOR}</span>
                <a class="more-link" style="float:right" href="{topics_list_box.row.U_VIEW_TOPIC}">Xem Tiếp</a>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.REPLIES}</font></span>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.VIEWS}</font></span>
   
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.LAST_POST_AUTHOR} ( <font color="#8c8787">{topics_list_box.row.LAST_POST_TIME}</font>)</font></span>
           
            </r>
            </div>
           
      </td>
      </tr>
    </table>
      </td>
      <style>
 a.more-link,
a.more-link:link,
a.more-link:visited  {
width:80px;
height:24px;
line-height:22px;
font-size:8pt;
text-align:center;
font-weight:normal;
color:#666;
display:block;
background:#eee;
border:1px solid #ddd;
}
a.more-link:hover,
a.more-link:active  {
color:#fff;
text-decoration:none;
background:#2A4375;
border:1px solid #1E3155;
}
      </style>

            <!-- BEGIN multi_selection -->
   
      <p align="center" valign="middle"><span class="postdetails xname"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></p>
  <!-- END multi_selection -->
 
  <!-- END topic --><!-- BEGIN no_topics -->
 
      <p class="xname" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></p>
 
  <!-- END no_topics --><!-- BEGIN bottom -->
      <br />
      <p class="paging xname" style="margin-left:30px;margin-top:30px">{PAGINATION}</p>
     
              </tr>
 
  </table>
<!-- END bottom --><!-- BEGIN footer_table -->
<!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
 <style>.blog_message1 {overflow: hidden;margin: 3px 3px 3px 3px;width: 100px;height: 50px;padding: 3px;border: 1px solid #CFCDCE;font-size: 0px;font-family: none;}.blog_message1 img {width: 100px;height: 50px;}.pun tbody.statused td.tcl {padding-left: 0;}.codebox {display: none;}.postmain blockquote,blockquote{display: none;}.blog_message1 {float: left;}.blog_tintuc li:nth-of-type(1) .blog_message1 {margin: 0px;width: 320px;height: 212px;border: 1px solid #626263;}.blog_tintuc li:nth-of-type(1) .blog_message1 img {padding: 0px;width: 320px;height: 212px;}.blog_tintuc li {background-color: white;}  .blog_tintuc li:nth-of-type(3) .blog_message1, .blog_tintuc li:nth-of-type(2) .blog_message1  {width: 190px;height: 90px;float: left;margin: 0px;border: 1px solid #B0B0B0;}.blog_tintuc li:nth-of-type(3) .blog_message1 img , .blog_tintuc li:nth-of-type(2) .blog_message1 img  {width: 190px;height: 90px;padding: 0px;}</style>
<script>
 $(document).on('ready',function(){$('.blog_message1').each(function(){var url=$(this).attr('href');$(this).load(url+' .post-entry .entry-content img:eq(0)')})});</script>





7 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:55 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Yes I am sure to use this and delete previous one. I have installed the code but showing some errors like width, background color etc. Here is a screenshot



I didn't publish the code. Just checked that. If you need to see my forum after publishing the code, inform me.


8 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:57 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Can you post the forum address with this problem ?





9 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 8:58 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Here it is http://www.bdtipsntricks.com/f21-computer


10 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:04 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
What color would you like to have ?
Code:


<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
  var all_checked = true;
  for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
  }
  document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
  for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
  }
}
</script>
<!-- END multi_selection -->
  <table width="100%" border="0" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr width="100%">
      <td style="width:35%;float:right">
        <table style="float: left; width:100%">
          <tr style="float: left; width:100%">
      <!--Quảng cáo  -->
          </tr>
        </table>
      </td>
      <!-- BEGIN multi_selection -->
  <!-- END multi_selection -->
  <!-- BEGIN pagination -->
<p class="paging" style="margin-left:30px">{PAGINATION}</p>
  <br />
      <br />
 
  <!-- END pagination -->
  <!-- END header_table -->
      <!-- BEGIN header_row -->
<!-- END header_row -->
 
      <script type="text/javascript">$(function(){$(".xname").hide();});</script>
<!-- BEGIN topic -->
        <td style="width: 100%; float:left">
  <table cellpadding="3" cellspacing="3"  style="float: left; width: 95%;border: 1px solid #B0B0B0;margin-left:15px;" >
  <tr>
    <td>
      <div class="tuananh4">
        <div class="blog_message1" href="{topics_list_box.row.U_VIEW_TOPIC}" ><img src="http://i71.servimg.com/u/f71/17/59/85/75/loadin10.gif"/></div></div><div class="bai_new4"><r>
          <h2 class="topic-title">
            <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}" onmouseover="showtip('<font color=#40ff00><b>Thời gian gửi:</b></font> <font color=#FF6600><b>{topics_list_box.row.LAST_POST_TIME}</b></font><br /><font color=#40ff00><b>Trạng Thái:</b></font> <font color=#ff8c00>{topics_list_box.row.L_TOPIC_FOLDER_ALT}</font> <br /><font color=#40ff00><b>Lượt xem:</b></font> <font color=red>{topics_list_box.row.VIEWS}</font><br /><font color=#40ff00><b>Trả lời:</b></font> <font color=#FF66CC>{topics_list_box.row.REPLIES}</font><br>');" onmouseout="hidetip();" >  {topics_list_box.row.TOPIC_TITLE}<br /><br /></a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}  </strong><br/></span>
            </h2>
        <!-- BEGIN switch_description -->
        <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
        </span>
        <!-- END switch_description -->
        <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
                  <span class="gensmall"><!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
            <span class="postdetails"><font color="black">  By: </font>{topics_list_box.row.TOPIC_AUTHOR}</span>
                <a class="more-link" style="float:right" href="{topics_list_box.row.U_VIEW_TOPIC}">Xem Tiếp</a>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.REPLIES}</font></span>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.VIEWS}</font></span>
 
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.LAST_POST_AUTHOR} ( <font color="#8c8787">{topics_list_box.row.LAST_POST_TIME}</font>)</font></span>
         
            </r>
            </div>
         
      </td>
      </tr>
    </table>
      </td>
      <style>
 a.more-link,
a.more-link:link,
a.more-link:visited  {
width:80px;
height:24px;
line-height:22px;
font-size:8pt;
text-align:center;
font-weight:normal;
color:#666;
display:block;
background:#eee;
border:1px solid #ddd;
}
a.more-link:hover,
a.more-link:active  {
color:#fff;
text-decoration:none;
background:#2A4375;
border:1px solid #1E3155;
}
      </style>
            <!-- BEGIN multi_selection -->
 
      <p align="center" valign="middle"><span class="postdetails xname"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></p>
  <!-- END multi_selection -->
 
  <!-- END topic --><!-- BEGIN no_topics -->
 
      <p class="xname" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></p>
 
  <!-- END no_topics --><!-- BEGIN bottom -->
      <br />
      <p class="paging xname" style="margin-left:30px;margin-top:30px">{PAGINATION}</p>
   
              </tr>
 
  </table>
<!-- END bottom --><!-- BEGIN footer_table -->
<!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
 <style>.blog_message1 {overflow: hidden;margin: 3px 3px 3px 3px;width: 100px;height: 50px;padding: 3px;border: 1px solid #CFCDCE;font-size: 0px;font-family: none;}.blog_message1 img {width: 100px;height: 50px;}.pun tbody.statused td.tcl {padding-left: 0;}.codebox {display: none;}.postmain blockquote,blockquote{display: none;}.blog_message1 {float: left;}.blog_tintuc li:nth-of-type(1) .blog_message1 {margin: 0px;width: 320px;height: 212px;border: 1px solid #626263;}.blog_tintuc li:nth-of-type(1) .blog_message1 img {padding: 0px;width: 320px;height: 212px;}.blog_tintuc li {background-color: white;}  .blog_tintuc li:nth-of-type(3) .blog_message1, .blog_tintuc li:nth-of-type(2) .blog_message1  {width: 190px;height: 90px;float: left;margin: 0px;border: 1px solid #B0B0B0;}.blog_tintuc li:nth-of-type(3) .blog_message1 img , .blog_tintuc li:nth-of-type(2) .blog_message1 img  {width: 190px;height: 90px;padding: 0px;}</style>
<script>
 $(document).on('ready',function(){$('.blog_message1').each(function(){var url=$(this).attr('href');$(this).load(url+' .post-entry .entry-content img:eq(0)')})});</script>
Width fix.





11 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:06 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Ok, but what about the background color?


12 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:07 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
ashik4u wrote:Yes I am sure to use this and delete previous one. I have installed the code but showing some errors like width, background color etc. Here is a screenshot



I didn't publish the code. Just checked that. If you need to see my forum after publishing the code, inform me.





13 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:09 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
It's okay. But is there any way to fix it? If you come on Chat, that will be helpfull


14 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:14 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Code:

<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
  var all_checked = true;
  for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
  }
  document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
  for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
        document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
  }
}
</script>
<!-- END multi_selection -->
  <table width="100%" border="0" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr width="100%">
      <td style="width:35%;float:right">
        <table style="float: left; width:100%">
          <tr style="float: left; width:100%">
      <!--Quảng cáo  -->
          </tr>
        </table>
      </td>
      <!-- BEGIN multi_selection -->
  <!-- END multi_selection -->
  <!-- BEGIN pagination -->
<p class="paging" style="margin-left:30px">{PAGINATION}</p>
  <br />
      <br />
 
  <!-- END pagination -->
  <!-- END header_table -->
      <!-- BEGIN header_row -->
<!-- END header_row -->
 
      <script type="text/javascript">$(function(){$(".xname").hide();});</script>
<!-- BEGIN topic -->
        <td style="width: 100%; float:left">
  <table cellpadding="3" cellspacing="3"  style="float: left; width: 95%;border: 1px solid #B0B0B0;margin-left:15px; background:white!important" >
  <tr>
    <td>
      <div class="tuananh4">
        <div class="blog_message1" href="{topics_list_box.row.U_VIEW_TOPIC}" ><img src="http://i71.servimg.com/u/f71/17/59/85/75/loadin10.gif"/></div></div><div class="bai_new4"><r>
          <h2 class="topic-title">
            <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}" onmouseover="showtip('<font color=#40ff00><b>Thời gian gửi:</b></font> <font color=#FF6600><b>{topics_list_box.row.LAST_POST_TIME}</b></font><br /><font color=#40ff00><b>Trạng Thái:</b></font> <font color=#ff8c00>{topics_list_box.row.L_TOPIC_FOLDER_ALT}</font> <br /><font color=#40ff00><b>Lượt xem:</b></font> <font color=red>{topics_list_box.row.VIEWS}</font><br /><font color=#40ff00><b>Trả lời:</b></font> <font color=#FF66CC>{topics_list_box.row.REPLIES}</font><br>');" onmouseout="hidetip();" >  {topics_list_box.row.TOPIC_TITLE}<br /><br /></a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}  </strong><br/></span>
            </h2>
        <!-- BEGIN switch_description -->
        <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
        </span>
        <!-- END switch_description -->
        <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
                  <span class="gensmall"><!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
            <span class="postdetails"><font color="black">  By: </font>{topics_list_box.row.TOPIC_AUTHOR}</span>
                <a class="more-link" style="float:right" href="{topics_list_box.row.U_VIEW_TOPIC}">Xem Tiếp</a>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.REPLIES}</font></span>
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.VIEWS}</font></span>
 
              <span class="postdetails xname"><font color="black"> </font><font color="red">{topics_list_box.row.LAST_POST_AUTHOR} ( <font color="#8c8787">{topics_list_box.row.LAST_POST_TIME}</font>)</font></span>
       
            </r>
            </div>
       
      </td>
      </tr>
    </table>
      </td>
      <style>
 a.more-link,
a.more-link:link,
a.more-link:visited  {
width:80px;
height:24px;
line-height:22px;
font-size:8pt;
text-align:center;
font-weight:normal;
color:#666;
display:block;
background:#eee;
border:1px solid #ddd;
}
a.more-link:hover,
a.more-link:active  {
color:#fff;
text-decoration:none;
background:#2A4375;
border:1px solid #1E3155;
}
      </style>
            <!-- BEGIN multi_selection -->
 
      <p align="center" valign="middle"><span class="postdetails xname"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></p>
  <!-- END multi_selection -->
 
  <!-- END topic --><!-- BEGIN no_topics -->
 
      <p class="xname" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></p>
 
  <!-- END no_topics --><!-- BEGIN bottom -->
      <br />
      <p class="paging xname" style="margin-left:30px;margin-top:30px">{PAGINATION}</p>
 
              </tr>
 
  </table>
<!-- END bottom --><!-- BEGIN footer_table -->
<!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
 <style>.blog_message1 {overflow: hidden;margin: 3px 3px 3px 3px;width: 100px;height: 50px;padding: 3px;border: 1px solid #CFCDCE;font-size: 0px;font-family: none;}.blog_message1 img {width: 100px;height: 50px;}.pun tbody.statused td.tcl {padding-left: 0;}.codebox {display: none;}.postmain blockquote,blockquote{display: none;}.blog_message1 {float: left;}.blog_tintuc li:nth-of-type(1) .blog_message1 {margin: 0px;width: 320px;height: 212px;border: 1px solid #626263;}.blog_tintuc li:nth-of-type(1) .blog_message1 img {padding: 0px;width: 320px;height: 212px;}.blog_tintuc li {background-color: white;}  .blog_tintuc li:nth-of-type(3) .blog_message1, .blog_tintuc li:nth-of-type(2) .blog_message1  {width: 190px;height: 90px;float: left;margin: 0px;border: 1px solid #B0B0B0;}.blog_tintuc li:nth-of-type(3) .blog_message1 img , .blog_tintuc li:nth-of-type(2) .blog_message1 img  {width: 190px;height: 90px;padding: 0px;}</style>
<script>
 $(document).on('ready',function(){$('.blog_message1').each(function(){var url=$(this).attr('href');$(this).load(url+' .post-entry .entry-content img:eq(0)')})});</script>
Done.





15 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:24 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Ok, that was great. But In that code I have found the options of "views" "replied" "date/time". But this are not working.


16 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:37 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
In the original post, these options are not available.





17 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:39 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Is there anyway to add that and also is it possible to separate announcement/sticky thread to general
thread?


18 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:41 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Yeah,
ACP ~> General ~> Messages and e-mails ~> Separate announcements and stickies from the messages : ~> With a table ~> Save.





19 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:43 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
It's already activated. But may be the code has no main-head to separate.


20 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 9:53 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Okay, i'll look at this code and try to edit it.





21 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 10:23 am
avatar

ashik4u

New member
New member
avatar
Posts : 12
Daily Points : 16
Likes : 0
Warns : One warn
punBB
View user profile
Thanks for your help. Topic Solved Very Happy


22 Re: [solved]Asking for a nice topics_list_box code
on Fri Aug 23, 2013 11:47 pm
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
This topic was solved. I'll lock and arhive this!





23 Re: [solved]Asking for a nice topics_list_box code

Sponsored content

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum