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.

how to separate posts in topics

View previous topic View next topic Go down

Solved how to separate posts in topics

Post by Michael_vx on January 25th 2015, 3:34 am

how to separate posts in topics in others versions to be in boxes
something like phpbb3
and not to be just a line between each reply
is this possible
i like in 1st place phpbb2 Very Happy
some asked me for invesion and punbb Very Happy
thanks
Michael

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Ange Tuteur on January 25th 2015, 6:38 pm

Hi @Michael_vx,

phpbb3 is simply a set of blocks, whereas phpbb2 is a table type layout. Tables are pretty hard to separate, you'd basically have to edit the template and redo everything to look like phpbb3's layout. There are some ways to give the illusion of separation purely with some CSS tricks though.

Take this for the default version of phpbb2 as an example :
Code:
.forumline { border-spacing:0 }
.post > td { border-top:2px solid #069 }
.post + tr > td {
  box-shadow:0 -2px 0 #069 inset;
  border-bottom:20px solid #FFF;
}
Giving you the following result.


It's basically an illusion of spacing separation. Allow me to explain :

We add a 20px space using a border which has the same color as the border line. ( those lines you see in between the table ) We then add a border to the top of the post, and a solid inset box-shadow to the bottom to make it look like another border. We then set the border-spacing to 0, to get rid of those ugly table lines. It's a pretty neat and easy trick which requires no template editing.

Now in my opinion, if you want your forum to have the layout of another version, you should take the easy route and switch to that version. Otherwise, you'll have to make changes to the templates, css, etc to achieve what you truly want. It's better to choose the version that satisfies your wants, and in the long run you'll save more time by making the change to the one that fits those wants.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: how to separate posts in topics

Post by Michael_vx on January 25th 2015, 7:13 pm

@Ange Tuteur
there is a reason for not using phpbb3
there some Scripts that works for phpbb2 like H recent topics and some other styling phpbb3 and as my last test before i left forumotion did not work so good with me in style and somehow got problems in browsing
this the reason most people i know never use phpbb3
they use punbb and phpbb2 and invision Very Happy
one more thing is this trick can do same way for punbb and invision ?
and if you dont mind let me know about layout things and thanks a lot
i liked that CSS code

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Michael_vx on January 29th 2015, 12:07 am

up up up
if there any news Very Happy
my last reply reminder Very Happy

there is a reason for not using phpbb3
there some Scripts that works for phpbb2 like H recent topics and some other styling phpbb3 and as my last test before i left forumotion did not work so good with me in style and somehow got problems in browsing
this the reason most people i know never use phpbb3
they use punbb and phpbb2 and invision
one more thing is this trick can do same way for punbb and invision ?
and if you dont mind let me know about layout things and thanks a lot
i liked that CSS code

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Michael_vx on January 31st 2015, 11:28 pm

@Ange Tuteur
if there no way for other versions let me know :/
so i dont have to wait
confused
thanks and by the way
there is an other topic
http://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Ange Tuteur on February 1st 2015, 12:51 am

For punbb and invision, you can use this rule :
Code:
.post { margin-bottom:20px }

Increase the margin to increase the size of the space.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: how to separate posts in topics

Post by Michael_vx on February 1st 2015, 2:35 am

wow
like a charm Very Happy
that is cool
i thank you so much for this help
by the way
is it hard or too hard if i used the layout via template
i mean if i can find it my self so it wont waste your time
if you dont mind give me some tips
and this topic is solved
thanks again
just give me some tips about the layout thing then close this topic
because there is a new topic from me if you like to see it
http://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Ange Tuteur on February 1st 2015, 3:39 am

Well, if you're looking for the same layout as phpbb3, the best option is to switch to phpbb3, grab the viewtopic_body template, switch back, and apply that template to your forum version. The only drawback is you'll need to write some CSS, because the CSS from phpbb3 wont be in any other version.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: how to separate posts in topics

Post by Michael_vx on February 1st 2015, 3:44 am

all clear to me
End of this topic
sorry for the time wasted on this useless topic
Solved

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: how to separate posts in topics

Post by Ange Tuteur on February 1st 2015, 3:56 am

No topic is useless.. Mr. Green

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
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