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.

Information Box beneath post information.

View previous topic View next topic Go down

Solved Information Box beneath post information.

Post by hoegy on May 3rd 2014, 4:20 pm

Hey guys,

here i am again. Smile
I'm struggling with a problem in my forums which i'm not able to fix.
I wondered if it's possible to put the Information box beneath the posts information. (see picture)



I'm using PHPBB2.
Is their a way to do so without harming the forums?

Regards, 
HoeGy

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by Pizza Boi on May 4th 2014, 8:58 am

Hi Very Happy

You can try this code:

Code:
.postprofile a:link {
position: relative;
right: #px;
top: #px;
}

You just have to re-adjust them yourself to fit properly and you can even use left or bottom Smile .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Information Box beneath post information.

Post by hoegy on May 4th 2014, 9:07 am

Thx for the reply! Very Happy

But sadly this didn't work.

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by hoegy on May 5th 2014, 5:39 pm

does anyone has a solution? Smile

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by Ange Tuteur on May 6th 2014, 5:02 am

Hello hoegy,

Try this :
Display > Templates > General > viewtopic_body

Find and remove :
Code:
<tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
 <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
 <a href="#top">{L_BACK_TO_TOP}</a>&nbsp;<a href="#bottom">{L_GOTO_DOWN}</a>
 </td>
 <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
 <table border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td valign="middle">
 {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
 </td>
 </tr>
 </table>
 </td>
 </tr>

Find :
Code:
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
 <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
 <span class="postdetails poster-profile">
 {postrow.displayed.POSTER_RANK}<br />
 {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
 <!-- BEGIN profile_field -->
 {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
 <!-- END profile_field -->
 {postrow.displayed.POSTER_RPG}
 </span><br />
 <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
 </td>

Replace by :
Code:
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
 <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
 <span class="postdetails poster-profile">
 {postrow.displayed.POSTER_RANK}<br />
 {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
 <!-- BEGIN profile_field -->
 {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
 <!-- END profile_field -->
 {postrow.displayed.POSTER_RPG}
                                  {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
 </span><br />
 <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
 </td>

Then save and publish.

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by hoegy on May 6th 2014, 5:41 pm

Thanks a lot for the reply ange! Smile

It's beneath the post information now.

But i notced for some of the profiles the buttons aren't displaying next to eachoter.

but one button has been placed one row higher.



Pissible to add em all on the same line?

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by Ange Tuteur on May 6th 2014, 11:16 pm

Oh I see,

Go back into your viewtopic_body

find this :
Code:
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}

and add a break before it :
Code:
<br/>{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}

Then save and publish.

That should place it on the next line, if needed you can add two line breaks by doubling the br tag. So they're all on the same line you may need to create new profile images as the posting profile for phpbb2 is set to about 150px in width. If there are enough fields the images will most likely wrap to the next line.

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by hoegy on May 7th 2014, 5:14 pm

Well that just worked perfectly!
Thanks again Ange! Very Happy

Solved. Smile

hoegy
New Member

Posts : 15
Reputation : 1
Language : Dutch, English

http://www.dzp-clan.com

Back to top Go down

Solved Re: Information Box beneath post information.

Post by SLGray on May 7th 2014, 8:31 pm

Problem solved & topic archived.


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

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