The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

remove last posts only one category

View previous topic View next topic Go down

Solved remove last posts only one category

Post by narcotiq on December 29th 2013, 3:10 am

how to remove just the latest posts from a single category?
to the rest of the categories remain



Last edited by narcotiq on December 30th 2013, 12:28 pm; edited 1 time in total

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by SLGray on December 29th 2013, 3:17 am

Please post your forum's link.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35669
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 6:51 am

my forum: www.facegame.forumz.ro/forum
use punBB

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by MissUrsh on December 29th 2013, 12:22 pm

You mean the link of latest topics, author and date?

MissUrsh
Forumember

Female Posts : 101
Reputation : 11
Language : Slovenian, english, italian, german, latin
Location : Slovenia

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 12:37 pm

Yes, the latest posts and topics and replies! I want to delete only one category
I want to be like in the picture, naked

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by Luffy on December 29th 2013, 12:54 pm

If there is no post in the category, you can't put something there. As soon as you post something in the specific category that is "naked" it will "dress up" Smile






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 1:23 pm

you do not understand.I want to delete avatar last posts, last posts and topics and replies! from a certain category.I do not want to delete the entire board, only a certain category to increase space


narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by MissUrsh on December 29th 2013, 1:36 pm

I think you have to change something in your templates. I use phpBB, but perhaps I can still help you. (:
Can you give me your index_box template?

MissUrsh
Forumember

Female Posts : 101
Reputation : 11
Language : Slovenian, english, italian, german, latin
Location : Slovenia

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 2:39 pm

Code:
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead --> 
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
  </div>
      <div class="forumbitBoxLeft"><div class="forumbitBoxRight"><div class="forumbitBox">
  <div class="main-content">
         <table cellspacing="0" class="table">
            <thead>
               <tr>
                  <th class="tcl">{L_FORUM}</th>
                                                <th class="tc2"></th>
                  <th class="tc3"></th>
                  <th class="tcr">{L_LASTPOST}</th>
               </tr>
            </thead>
            <tbody class="statusid">
   <!-- 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="tc3">
                                                                        {catrow.forumrow.TOPICS} topics<br />
                                          {catrow.forumrow.POSTS} replies
                                          </td>
                                          <td></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 class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight"></div></div></div>
                  </div></div></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 -->

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by MissUrsh on December 29th 2013, 2:47 pm

Code:
<div class="main">
<!-- BEGIN catrow -->
  <!-- BEGIN tablehead --> 
      <div class="main-head">
        <div class="page-title">{catrow.tablehead.L_FORUM}</div>
  </div>
      <div class="forumbitBoxLeft"><div class="forumbitBoxRight"><div class="forumbitBox">
  <div class="main-content">
        <table cellspacing="0" class="table">
            <thead>
              <tr>
                  <th class="tcl">{L_FORUM}</th>
                                                <th class="tc2"></th>
                  <th class="tc3"></th>
                  <th class="tcr">{L_LASTPOST}</th>
              </tr>
            </thead>
            <tbody class="statusid">
  <!-- 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="tc3">
                                                                        {catrow.forumrow.TOPICS} topics<br />
                                          {catrow.forumrow.POSTS} replies
                                          </td>
                                          <td></td>
               
              </tr>
                                 
  <!-- END forumrow -->

  <!-- BEGIN tablefoot -->
            </tbody>
        </table>
    <div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight"> </div></div></div>
                  </div></div></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 -->

Try with this. If it won't help, tell me. Smile

MissUrsh
Forumember

Female Posts : 101
Reputation : 11
Language : Slovenian, english, italian, german, latin
Location : Slovenia

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 2:52 pm

delete all categories last post, which gave me you

be added code to the template, that is recognized by CSS.

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by MissUrsh on December 29th 2013, 3:59 pm

I don't understand what do you want exactly.

MissUrsh
Forumember

Female Posts : 101
Reputation : 11
Language : Slovenian, english, italian, german, latin
Location : Slovenia

http://whentheshadowswalk.slovenianforum.com

Back to top Go down

Solved Re: remove last posts only one category

Post by Luffy on December 29th 2013, 7:04 pm

I think you have to remove the entire column.






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: remove last posts only one category

Post by SLGray on December 29th 2013, 7:44 pm

I believe it is not possible to remove it from just one category.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35669
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 29th 2013, 10:03 pm

I think it would be possible, if we change the template and I give variable x = y = main-content2 .... , And I create a css code for sizing like this: <td class="tcl" style="padding-right: 0px; padding-left: 70px;"> change 70 to 100, might go

and createjavascript code with variable

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by Ange Tuteur on December 29th 2013, 10:19 pm

I believe you should clean up your template before we can do anything. What is this empty cell ?


If that is there it will take up more space from you category content.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 30th 2013, 8:43 am

I'm resolved this problem

now, wait to see someone who knows what they're talking

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by Ange Tuteur on December 30th 2013, 11:28 am

We can first try with CSS, if this does not work we can use javascript. Add this to your stylesheet :
Administration panel > Display > Pictures and colors > Colors > CSS stylesheet
Code:
#pun-visit + table .main-head:nth-child(3) + .forumbitBoxLeft .tcr, #pun-visit + table .main-head:nth-child(3) + .forumbitBoxLeft .tc2 { display:none; }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: remove last posts only one category

Post by narcotiq on December 30th 2013, 12:27 pm

ooo brilliant :X works
Tancks a lot

solved topic

narcotiq
New Member

Posts : 20
Reputation : 1
Language : Romanian

Back to top Go down

Solved Re: remove last posts only one category

Post by Ange Tuteur on December 30th 2013, 12:30 pm

You're welcome I love you

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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