Recent Tutorials
Who is online?
In total there are 6 users online :: 0 Registered, 0 Hidden and 6 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Blog display help

View previous topic View next topic Go down

sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Mon 08 Aug 2016, 19:27

i want change the topics_blog_box and i want be like this



the image in the right is the subjet description i put the url of image ine
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 08 Aug 2016, 19:35

Hi @sohab,

So you already have an image in the description, but you want the stats / last post to show, yes ?
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Mon 08 Aug 2016, 20:10

yes i have an image in the description already , and i want the stats / last post to show jut in desktop
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 08 Aug 2016, 20:30

Ah, do you have a link to the forum in question ?
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Mon 08 Aug 2016, 20:34

Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 10:54

Try adding this CSS rule to your stylesheet :
Code:
@media (min-width:0px) and (max-width:425px) {
  .forum-lastpost { display:none; }
  .forum-info { width:99% }
}
It'll hide the lastposts on mobile, and give the topic info full width.
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 11:00

yes and i would also puting decription in the ico subject place

knowing that subject description is a href of image
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 11:05

You already have this option enabled ?
Admin Panel > General > Messages and E-mails > Config > Allow topic descriptions
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 11:09

yes it is
Allow topic descriptions :
Yes
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 11:56

Weird, is the forum type a "blog" or "forum" ?
Admin Panel > General > Categories and forums > edit forum

Choose the kind of forum you want > Blog, if it's not a blog choose that option and save. By default, blogs give a small preview of the topic.

Note : You must first activate blogs via :
Admin Panel > Modules > Blogs > Config > Activate blogs > Yes
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 11:57

yes the forum is the blog
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 11:59

what i would do is showing the description in topic icon place
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 12:00

Could you give me a direct link to the category / forum ? Just to make sure we're looking at the same thing. Salute
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 12:05

http://www.howmuchisnetworth.com/f4-movie-actors-net-worth-2017

i want add the description subjet in the place where this icon exixt

the description subjet is a url of image and not a text
i want the blog display be like this
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 12:35

Did you place any image links in the description yet ? Because this is all I'm seeing :


...I'm not sure what I'm supposed to be doing.. Confused
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 12:37

yes every subjet have a lin of image in his description
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 12:43

Could you post your topics_blog_box here ? Something isn't adding up. Think
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 12:49

Code:
<!-- BEGIN topics_blog_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
   

  <div class="forum-category topicslist announcement">
     <div class="title">
        <!-- BEGIN multi_selection -->
         <input onclick="check_uncheck_all_{topics_blog_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_blog_box.row.header_table.BOX_ID}" value="0" />
         <!-- END multi_selection -->
         {topics_blog_box.row.L_TITLE}aaa
      </div>
<!-- END header_table -->

<!-- BEGIN header_row -->
    <div class="title">{topics_blog_box.row.L_TITLE}zzzzz</div>
<!-- END header_row -->

<!-- BEGIN topic -->

   <!-- BEGIN table_sticky -->
  </div>
  <div class="forum-category topicslist">
    <div class="title">
    <!-- BEGIN multi_selection -->
    <input onclick="check_uncheck_all_{topics_blog_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_blog_box.row.header_table.BOX_ID}" value="0" />
    <!-- END multi_selection -->
    {topics_blog_box.row.topic.table_sticky.L_TITLE}eeee
  </div>
   <!-- END table_sticky -->
    <div class="forum-block color-primary">
      <div class="forum-block-inner">
         <!-- BEGIN single_selection -->
           <span class="merge-box"><input type="radio" name="{topics_blog_box.FIELDNAME}" value="{topics_blog_box.row.FID}" {topics_blog_box.row.L_SELECT} /></span>
           <!-- END single_selection -->

        <div class="forum-status"  >
                      az  <a href="{topics_blog_box.row.U_VIEW_TOPIC}"><img src="{topics_blog_box.row.topic.switch_description.TOPIC_DESCRIPTION}" width="100px" height="100px"></a>
        </div>

        <div class="forum-info" {topics_blog_box.row.ICON}>eeeee
           
          <h2 class="topic-title">
            <a class="topictitle" href="{topics_blog_box.row.U_VIEW_TOPIC}">{topics_blog_box.row.TOPIC_TITLE}</a>
          </h2>

              

 

           
        </div>

        <div class="forum-stats">

          <div class="posts">
            <span class="number">{topics_blog_box.row.REPLIES}</span><br/>
            <small>{L_REPLIES}</small>
          </div>

          <div class="views">
            <span class="number">{topics_blog_box.row.VIEWS}</span><br/>
            <small>{L_VIEWS}</small>
          </div>

        </div>

        <div class="forum-lastpost">
          <!-- BEGIN avatar -->
          <span class="lastpost-avatar">{topics_blog_box.row.topic.avatar.LAST_POST_AVATAR}</span>
          <div style="float:left;">
          <!-- END avatar -->
                <span>{topics_blog_box.row.LAST_POST_AUTHOR}&nbsp;
               {topics_blog_box.row.LAST_POST_IMG}<br style="clear:left;" />{topics_blog_box.row.LAST_POST_TIME}</span>
          <!-- BEGIN avatar -->
          </div>
          <!-- END avatar -->

        </div>

           <!-- BEGIN multi_selection -->
           <input onclick="javascript:check_uncheck_main_{topics_blog_box.row.BOX_ID}();" type="checkbox" name="{topics_blog_box.FIELDNAME}[]{topics_blog_box.row.BOX_ID}" value="{topics_blog_box.row.FID}" {topics_blog_box.row.L_SELECT} />
           <!-- END multi_selection -->

        <div class="clear"></div>
      </div>
    </div>
<!-- END topic -->

<!-- BEGIN bottom -->

<!-- END bottom -->

<!-- END row -->
<!-- END topics_blog_box -->

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.blog_message', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 12:57

Thanks, that explains a lot ! xD

Try replacing your template with this one :
Code:
<!-- BEGIN topics_blog_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
 
 
  <div class="forum-category topicslist announcement">
    <div class="title">
        <!-- BEGIN multi_selection -->
        <input onclick="check_uncheck_all_{topics_blog_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_blog_box.row.header_table.BOX_ID}" value="0" />
        <!-- END multi_selection -->
        {topics_blog_box.row.L_TITLE}aaa
      </div>
<!-- END header_table -->
 
<!-- BEGIN header_row -->
    <div class="title">{topics_blog_box.row.L_TITLE}zzzzz</div>
<!-- END header_row -->
 
<!-- BEGIN topic -->
 
  <!-- BEGIN table_sticky -->
  </div>
  <div class="forum-category topicslist">
    <div class="title">
    <!-- BEGIN multi_selection -->
    <input onclick="check_uncheck_all_{topics_blog_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_blog_box.row.header_table.BOX_ID}" value="0" />
    <!-- END multi_selection -->
    {topics_blog_box.row.topic.table_sticky.L_TITLE}eeee
  </div>
  <!-- END table_sticky -->
    <div class="forum-block color-primary">
      <div class="forum-block-inner">
        <!-- BEGIN single_selection -->
          <span class="merge-box"><input type="radio" name="{topics_blog_box.FIELDNAME}" value="{topics_blog_box.row.FID}" {topics_blog_box.row.L_SELECT} /></span>
          <!-- END single_selection -->
 
        <div class="forum-status"  >
                      az  <a href="{topics_blog_box.row.U_VIEW_TOPIC}"><!-- BEGIN switch_description --><img src="{topics_blog_box.row.topic.switch_description.TOPIC_DESCRIPTION}" width="100px" height="100px"><!-- END switch_description --></a>
        </div>
 
        <div class="forum-info" {topics_blog_box.row.ICON}>eeeee
         
          <h2 class="topic-title">
            <a class="topictitle" href="{topics_blog_box.row.U_VIEW_TOPIC}">{topics_blog_box.row.TOPIC_TITLE}</a>
          </h2>
 
             
 
 
 
         
        </div>
 
        <div class="forum-stats">
 
          <div class="posts">
            <span class="number">{topics_blog_box.row.REPLIES}</span><br/>
            <small>{L_REPLIES}</small>
          </div>
 
          <div class="views">
            <span class="number">{topics_blog_box.row.VIEWS}</span><br/>
            <small>{L_VIEWS}</small>
          </div>
 
        </div>
 
        <div class="forum-lastpost">
          <!-- BEGIN avatar -->
          <span class="lastpost-avatar">{topics_blog_box.row.topic.avatar.LAST_POST_AVATAR}</span>
          <div style="float:left;">
          <!-- END avatar -->
                <span>{topics_blog_box.row.LAST_POST_AUTHOR}&nbsp;
              {topics_blog_box.row.LAST_POST_IMG}<br style="clear:left;" />{topics_blog_box.row.LAST_POST_TIME}</span>
          <!-- BEGIN avatar -->
          </div>
          <!-- END avatar -->
 
        </div>
 
          <!-- BEGIN multi_selection -->
          <input onclick="javascript:check_uncheck_main_{topics_blog_box.row.BOX_ID}();" type="checkbox" name="{topics_blog_box.FIELDNAME}[]{topics_blog_box.row.BOX_ID}" value="{topics_blog_box.row.FID}" {topics_blog_box.row.L_SELECT} />
          <!-- END multi_selection -->
 
        <div class="clear"></div>
      </div>
    </div>
<!-- END topic -->
 
<!-- BEGIN bottom -->
 
<!-- END bottom -->
 
<!-- END row -->
<!-- END topics_blog_box -->
 
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.blog_message', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->

If it doesn't work let me know. Salute
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 13:04

not working
i think the problem is in css
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 13:07

Yep, most likely. Try adding these rules to your stylesheet :
Code:
.forum-status img {
  position:absolute;
  top:50%;
  margin-top:-50px;
  left:50%;
  margin-left:-50px;
  z-index:1;
}

.forum-status {
  width:100px;

}

.forum-block-inner {
  min-height:100px;
  padding-left:110px;
}
sohab

Title :
Gender : Unspecified
Posts : 139
Points : 353
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Tue 09 Aug 2016, 13:18

yes okk nown
many thaknsssss
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8393
Reputation : 2009
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 09 Aug 2016, 13:21

You're welcome ! Angel

Topic archived

Have a good day. Smile

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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