how to separate posts in topics
2 posters
Page 1 of 1
how to separate posts in topics
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
some asked me for invesion and punbb
thanks
Michael
something like phpbb3
and not to be just a line between each reply
is this possible
i like in 1st place phpbb2
some asked me for invesion and punbb
thanks
Michael
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: how to separate posts in topics
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 :
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.
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;
}
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.
Re: how to separate posts in topics
@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
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
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
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: how to separate posts in topics
up up up
if there any news
my last reply reminder
if there any news
my last reply reminder
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
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: how to separate posts in topics
@Ange Tuteur
if there no way for other versions let me know
so i dont have to wait
thanks and by the way
there is an other topic
https://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
if there no way for other versions let me know
so i dont have to wait
thanks and by the way
there is an other topic
https://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: how to separate posts in topics
For punbb and invision, you can use this rule :
Increase the margin to increase the size of the space.
- Code:
.post { margin-bottom:20px }
Increase the margin to increase the size of the space.
Re: how to separate posts in topics
wow
like a charm
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
https://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
like a charm
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
https://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: how to separate posts in topics
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.
Re: how to separate posts in topics
all clear to me
End of this topic
sorry for the time wasted on this useless topic
Solved
End of this topic
sorry for the time wasted on this useless topic
Solved
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» topics , posts
» Forum, Topics, Posts, and Last Posts Color Change...
» Make (Topics, Posts, and last posts bolder)
» category and posts&topics last posts
» Posts, topics gone
» Forum, Topics, Posts, and Last Posts Color Change...
» Make (Topics, Posts, and last posts bolder)
» category and posts&topics last posts
» Posts, topics gone
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum