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.

Tables in post v.2

View previous topic View next topic Go down

Solved Tables in post v.2

Post by sajber on May 31st 2014, 12:48 pm

Hi, i have problem with this (again):
http://help.forumotion.com/t129744-tables-in-post
This time, problem is in wiew topic body, or i think so, cuz i messed up some part there.

My css i this:, but i think he's fine now, i didn't mess up css.
Code:
.bodyline {background-image: url(''); background-repeat: repeat-xy;}

      .novo {
    color:#333;
    background:#EEE;
    border:1px solid #888;
    margin:2px 0;
    padding:3px 3px 3px 10px;
    }

.poster-profile a img {
width: 160px;
height: px;
background-position: center center;
background-repeat: no-repeat;
padding: 5px;
}?

.novo {
 background-color: ##F5F5F5;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
 }?
 

Also, rank and user name are not centered any more.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by Jophy on June 1st 2014, 5:22 pm

Hello,

Can you give us a screenshot of your problem in this thread? Thanks.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 3rd 2014, 1:56 pm

It was looked like this:


But now it looks like this:

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by @Mark on June 3rd 2014, 3:32 pm

Give this a try.

- Go to your viewtopic_body and find this part:
Code:
{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}

- Replace it with this one:
Code:
<div class="label-box">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}</div>

- Now add this to your CSS:
Code:
.label-box {
 background-color: #F5F5F5;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: 2px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
}

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 4th 2014, 1:17 pm

Didn't help.
It looks like wiew topic body won't accept changes.

Few days ago,
I changed version of forum to phbb3, but after 5 minuts i changed back to phbb2, and after that, i changed skin few times. And after, i put back my old skin. At first, forum didn't accept changes, but when i open forum in google chrome, it accepted, only in chrome. When it's opened in Mozila, forum won't accept changes. But, now it's difrent. Now, if u open my forum in Mozila, you will see current skin, but if u open him in Google Chrome, you see changes wich i made few days ago.

http://animan.forumcroatian.com/forum

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by Jophy on June 5th 2014, 2:52 pm

Hi,

Try performing a theme back up for your forum via the utilities and apply the changes again.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 7th 2014, 9:54 am

Ok i did it. Anyway... i still need restore tables. Code wich Mark give me didn't work.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by @Mark on June 7th 2014, 11:08 am

I checked a topic on your forum and add a ?tt=1 at the end of the link to view your forum in preview mode and it is actually working. So make sure to PUBLISH your template by clicking the button and things will be well. Smile

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 7th 2014, 5:49 pm

Oh, tnx.

Can you now just help me lose space between them?
Also, i need name and rank on middle.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by @Mark on June 8th 2014, 3:46 pm

Use this as your CSS instead:
Code:
.label-box {
 background-color: #F5F5F5;
 border: 1px solid #8A8A8A;
 color: #3a3a3a;
 margin-top: -10px;
 padding-bottom: 3px;
 padding-left: 10px;
 padding-right: 3px;
 padding-top: 3px;
 text-align: left;
 width: 154px;
}

@Mark
Forumember

Male Posts : 187
Reputation : 37
Language : HTML | CSS | Javascript | C | Java
Location : Republic of the Philippines

http://help.forumotion.com/

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 8th 2014, 8:01 pm

Tnx.
Now i just need rank and name at middle and that's it.

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 16th 2014, 12:02 am

Bump.
Any help?

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by Jophy on June 17th 2014, 8:59 am

Hello,

If you want to center the username and rank, try this. Go to your templates:

General > Viewtopic_body:

Find:

For the username:

Code:
{postrow.displayed.POSTER_NAME}

Replace it with:

Code:
<center>{postrow.displayed.POSTER_NAME}</center>

For the rank:

Find:

Code:
{postrow.displayed.POSTER_RANK}<br />
                                    {postrow.displayed.RANK_IMAGE}

Replace it with:

Code:
<center>{postrow.displayed.POSTER_RANK}<br />
                                    {postrow.displayed.RANK_IMAGE}</center>

Save and publish Add

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 20th 2014, 10:28 am

Tnx, it worked, but after i centered name, name went up:


sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by Ange Tuteur on June 20th 2014, 11:02 pm

Hi sajber,

That is from a break<br> it should be after your center tag in the template. You can delete that if you wish.

You can also hide the break tag with CSS.
Display > Colors > CSS stylesheet
Code:
.post .name + br { display:none; }

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Tables in post v.2

Post by sajber on June 22nd 2014, 10:14 am

Oh, tnx. Its solved now.

Thank you all!

sajber
Forumember

Posts : 35
Reputation : 1
Language : Croatian, English

http://animan.forumcroatian.com/forum

Back to top Go down

Solved Re: Tables in post v.2

Post by SLGray on June 22nd 2014, 7:53 pm

Topic Solved & Archived


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


SLGray
Administrator
Administrator

Male Posts : 35634
Reputation : 2372
Language : English
Location : United States

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