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.

Adding "-- posts in -- topics"

View previous topic View next topic Go down

Adding "-- posts in -- topics"

Post by E-Mark on December 29th 2011, 3:00 pm



Someone can help me?
I'm editting the index_box. But when i edit the post number and topic number, it's not showing when i placed it in the table head. The only thing showing is "Post in Topics", there's none counting of topics/post

Can someone help me? You can check 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="main-head">
                  <center><div class="page-title">{catrow.tablehead.L_FORUM}</div></center>
                  <span class="topicpost"><span><b>{catrow.forumrow.POSTS}</span></b> Posts in <span><b>{catrow.forumrow.TOPICS}</b> </span> Topics</span>
                    </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <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 -->
                                                  <center><span style="color: #181818; text-align: center" margin-left: 0 auto;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></center>
                                                  <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </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}" class="demo" title="You can check here todays active topics">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}" class="demo" title="You can check here todays active 10 posters">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}" class="demo" title="You can check here the overall top 20 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 -->

Thank YOU! Smile


Last edited by mark1111 on December 30th 2011, 1:39 pm; edited 1 time in total

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 4:18 am

Bump. Hello

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by SLGray on December 30th 2011, 4:45 am

So you want to add it in the right side of the category? I believe it can only be in the forums not the categories. I could be wrong, there could be a code.


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


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 4:56 am

Yep.
It can be put there.

So help. bounce

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 1:40 pm

Help? bounce

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by Omu on December 30th 2011, 2:50 pm

Try this:

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="mos-craciun"></div>
      <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="tc1" 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 class="img-lat" 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 />
                                                  <div class="img-desc">{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}<br><span>Subiecte</span></td>
                  <td class="tc3">{catrow.forumrow.POSTS}<br><span>Mesaje</span></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 class="main-ftr"></div>
  <br>
   <!-- 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 -->

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 3:17 pm

But i want to put it here:

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by Omu on December 30th 2011, 3:28 pm

Try this:

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"><center><div class="page-title">{catrow.tablehead.L_FORUM}</div></center>
             
          </div>

          <div class="main-content">
                <table cellspacing="0" class="table">
                    <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 />                           
                           
                            <center>{catrow.forumrow.FORUM_DESC}</center>
                            <!-- BEGIN switch_moderators_links -->
                            <br />
                            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                            <!-- END switch_moderators_links -->
                                                          <center><span style="color: #181818; text-align: center" margin-left: 0 auto;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></center>
                                                          <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>

<td width="10%" style="border: none!important;">
<div class="topics-posts"><span>{catrow.forumrow.POSTS}</span> Posts in <span>{catrow.forumrow.TOPICS}</span> Topics</div>
</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}" class="demo" title="You can check here todays active topics">{L_TODAY_ACTIVE}</a></li>
              <li><a href="{U_TODAY_POSTERS}" class="demo" title="You can check here todays active 10 posters">{L_TODAY_POSTERS}</a></li>
              <li><a href="{U_OVERALL_POSTERS}" class="demo" title="You can check here the overall top 20 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 -->

Now add to css:
Code:

.topics-posts {
color: #fff;
float: right;
padding: 5px;
margin-top: -100px;
margin-right: 4px;}

Now, let me explain you something Smile
First of all, make your categories like thats, is just an exemple.

1. Create a category: Category Ex
2. Add a forum to 'Category Ex'
Title:
Code:
<div style="display: none">Forum Ex</div>
Description:
Code:
<table width="650" border="0">
    <tr>
    <td width="120"><a href="/f1-">    <div align="center">
    <strong><span style="font-size: 12px;">General</span></strong>
    <br>
    <img src="http://cdn4.iconfinder.com/data/icons/Basic_set2_Png/64/bubble.png" border="0"></div>    </a>
    </td>

    <td width="120"><a href="/f2-">    <div align="center">
    <strong><span style="font-size: 12px;">Announcements</span></strong>
    <br>
    <img src="http://png-2.findicons.com/files/icons/1676/primo/64/news.png" border="0"></div>    </a>
    </td>

    <td width="120"><a href="/f3-">    <div align="center">
    <strong><span style="font-size: 12px;">Introductions</span></strong>
    <br>
    <img src="http://cdn4.iconfinder.com/data/icons/Basic_set2_Png/64/user_anonymous.png" border="0"></div>    </a>
    </td>

    <td width="120"><a href="/f4-">    <div align="center">
    <strong><span style="font-size: 12px;">Suggestions</span></strong>
    <br>
    <img src="http://cdn2.iconfinder.com/data/icons/basicset/flag_64.png" border="0"></div>    </a>
    </td>
    </tr>  </table>
3. Add 4 subforums to 'Forum Ex'
At all subforums use at title :
Code:
<span style="display:none;">SubForum name</span>


Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 3:56 pm

HOHO! A very well explanation.
I like it. My problem is now solved.
Thanks BTW Very Happy.

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by Omu on December 30th 2011, 3:58 pm

No problem, was my Christmas Gift for you santa

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by E-Mark on December 30th 2011, 4:11 pm

Haha. Well. Thank You Very Happy.
Solved solved solved. Mods/admins can locked this now. :3

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Adding "-- posts in -- topics"

Post by Omu on December 30th 2011, 4:12 pm

With pleasure Razz

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.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