Coding-Spot

You are not connected. Please login or register

 
 
 

Delete Columns "Topics" and "Messages"

Message (Page 1 of 1)

#1

J0k3R^

J0k3R^
 
Advance Member

Posted April 23rd 2013, 9:17 pm

 
i want to delete the columns 'topics' and 'messages' (http://help.forumotion.com/t81777-deleting-columns-topics-and-messages) and do something like that:
(with red color i wrote the translate to be easier for u)

Delete Columns "Topics" and "Messages" 12760452

im using PunBB
my forum url is www.myplanet.forumgreek.com





#2

Mark

Mark
 
Administrator
Administrator

Posted April 23rd 2013, 9:19 pm

 
Delete all the codes inside the index_box and replace it with this one: :):
Code:
<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">
            <thead>
              <tr>
                  <th class="tcl">{L_FORUM}</th>
                                          <th class="tc2">Statistics</th>
                  <th class="tcr">{L_LASTPOST}</th>
              </tr>
            </thead>
            <tbody class="statused">
  <!-- END tablehead -->

  <!-- BEGIN forumrow -->
              <tr>
                  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                    <span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    </span>
                    <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="tc2"><center><p><b>Topics: {catrow.forumrow.TOPICS}</b><br/><b>Posts: {catrow.forumrow.POSTS}</b></p></center></td>
                  <td class="tcr">
                    <span>
                    <!-- BEGIN switch_topic_title -->
                    <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                    <!-- END switch_topic_title -->
                    {catrow.forumrow.USER_LAST_POST}
                    </span>
                  </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 -->



https://coding-spot.darkbb.com


#3

J0k3R^

J0k3R^
 
Advance Member

Posted April 23rd 2013, 9:28 pm

 
i cant do that. ive edited index_box so if i delete it the added codes will be lost :/





#4

Mark

Mark
 
Administrator
Administrator

Posted April 23rd 2013, 9:31 pm

 
Ok, provide me your index box instead. :):



https://coding-spot.darkbb.com


#5

J0k3R^

J0k3R^
 
Advance Member

Posted April 23rd 2013, 9:33 pm

 
i think i found the solution here: http://www.greek-support.net/t107-topic
anyway, here is my index_box:

Code:
<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="contcolor"><div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <thead>
               <tr>
                 <th nowrap="nowrap" width="420"><div style="width:420px;"><i>Δημόσια Συζήτηση</i></div></th>
                 <th nowrap="nowrap" width="60"><div style="width:50px;"><i>Θέματα</i></div></th>
                 <th nowrap="nowrap" width="75"><div style="width:70px;"><i>Απαντήσεις</i></div></th>
                                          <th nowrap="nowrap" width="160"><div style="width:160px;"><i>Τελευταία Απάντηση</i></div></th>
               </tr>
            </thead>
            <tbody class="statused">
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
               <tr>
                            <td>
            <a href="{catrow.forumrow.U_VIEWFORUM}" class=
                        "forumtitle">{catrow.forumrow.FORUM_NAME}</a>
                        <br />
                        <div class="tgeimages">
                          {catrow.forumrow.FORUM_DESC}
                        </div>
                     <!-- 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="tc2">{catrow.forumrow.TOPICS}</td>
                  <td class="tc3">{catrow.forumrow.POSTS}</td>
                  <td class="tcr">
                     <span>
                     <!-- BEGIN switch_topic_title -->
                     <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                     <!-- END switch_topic_title -->
                     {catrow.forumrow.USER_LAST_POST}
                     </span>
                  </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
                      </div></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 -->





#6

Mark

Mark
 
Administrator
Administrator

Posted April 23rd 2013, 9:39 pm

 
So you still want them or you'll use the solution you've found? :):



https://coding-spot.darkbb.com


#7

J0k3R^

J0k3R^
 
Advance Member

Posted April 23rd 2013, 9:47 pm

 
i found the solution there, but the letters are Bold, can we change that?
(no
Code:
<b></b>
found in the codes)


Delete Columns "Topics" and "Messages" -%CF%84%CE%AF%CF%84%CE%BB%CE%BF





#8

Mark

Mark
 
Administrator
Administrator

Posted April 23rd 2013, 10:46 pm

 
Put this on your CSS:
Code:
.pun .main table td.tc2, .pun .main table td.tc3 {
font-weight: normal !important;
}



https://coding-spot.darkbb.com


#9

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 1:14 am

 
hah, ofc! it was
Code:
Font-weight: Bold;
thanks once again u can lock it :)





#10

Mr.Panos

Mr.Panos
 
Advance Member

Posted April 24th 2013, 2:29 am

 
Since the problem is solved, i'll locked this and move to archive section.
~ Locked and Moved





#11

Sponsored content


 

Posted

 





Message (Page 1 of 1)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None