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.

Special Viewtopic_body

View previous topic View next topic Go down

In progress Special Viewtopic_body

Post by Kite Trojan on February 5th 2014, 5:22 pm

http://help.forumotion.com/t130273-edit-the-avatar-and-profile-fields Is an url for Punbb. I need a code for phpbb2


Last edited by Xnomejx on February 5th 2014, 6:50 pm; edited 1 time in total
avatar
Kite Trojan
Forumember

Male Posts : 823
Reputation : 19
Language : English

http://galacticda.forumotion.com/

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Sir Chivas™ on February 5th 2014, 6:43 pm

Hi,

Can you change the title to something related to your problem? Thank you.


Step 1. Changing template: ACP >> Display >> Templates >> General >> Viewtopic_body


Search for this part of the template:
Code:
               <div class="user">
                    <div class="user-ident">
                       <h4 class="username"> {postrow.displayed.POSTER_NAME} </ h4>
                       <div class="user-basic-info">
                          { <br /> postrow.displayed.POSTER_AVATAR}
                          } {{postrow.displayed.POSTER_RANK_NEW postrow.displayed.RANK_IMAGE}
                       </ div>
                    </ div>
                    <div class="user-info">
                       {postrow.displayed.ONLINE_IMG}
                       < ! - BEGIN PROFILE_FIELD                         PROFILE_FIELD END ->                         {postrow.displayed.POSTER_RPG}                      </ div>                   </ div>

Remove it and replace it with:
Code:
                  <div class="user">
                                                 <table width="100%" class="userpost_head"> <tr>
                    <td>
                                                   <div class="user-ident">
                                                     <table width="100%"> <tr> class="post_author_baisc" <td width="70">
                                                       {postrow.displayed.POSTER_AVATAR} <br /> </ td>
                       <td> <h4 class="username"> {postrow.displayed.POSTER_NAME} </ h4>
                       <div                                                     class = "post_author_info">                      <div class="user-info">                         {postrow.displayed.ONLINE_IMG}                         <! - BEGIN PROFILE_FIELD                         PROFILE_FIELD END ->                         {postrow.displayed.POSTER_RPG}                      </ div>                                                     </ td>                                                   </ tr> </ table>                   </ div>

After saving it, make sure to submit it add and it's published.

Step 2. Change CSS style sheet ACP >> Display >> Colors >> CSS (tab)

Code:
. Place. Postmain {
 margin-left: 0px;
 background-color: # FBFBFB;
} . place. postbody table.userpost_head {   background: WhiteSmoke,   border-bottom: 1px solid # ddd; } . place. user. user-info {   float: right;   margin-right: 100px,   margin-top: 20px;  
margin-bottom: 10px;   line-height: 10px; } . place. station. user {   float: none;  
margin-left: 0px;   margin-top: 0px;   positions: initial; }
. place. user. user-ident {   margin-left: 20px; } . place. User-ident. username {   position: initial; }
. postfoot. user-contact. postfoot. post options {   height: 20px! important; }
. place. user. user-ident
. post_author_basic a img {   max-width: 100px! important,   max-height: 75px! important; }



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6806
Reputation : 433
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan on February 5th 2014, 6:52 pm

I cannot ifnd the first part of the Template.
avatar
Kite Trojan
Forumember

Male Posts : 823
Reputation : 19
Language : English

http://galacticda.forumotion.com/

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Sir Chivas™ on February 5th 2014, 6:55 pm

Search the following: PROFILE and you should see something highlighted around here:
Code:
PROFILE_FIELD END ->   

Your code would be somewhere around there.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6806
Reputation : 433
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan on February 5th 2014, 6:57 pm

Cannot find the code there.
avatar
Kite Trojan
Forumember

Male Posts : 823
Reputation : 19
Language : English

http://galacticda.forumotion.com/

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Sir Chivas™ on February 5th 2014, 7:07 pm

Hi,

I've barely noticed that the codes are quite old, so there will be some modification done to them. Once I am done with both versions: phpBB2 and punBB I will provided them here. Smile



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.


avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6806
Reputation : 433
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan on February 5th 2014, 8:06 pm

I don't think I need this anymore. You can archive this now!
avatar
Kite Trojan
Forumember

Male Posts : 823
Reputation : 19
Language : English

http://galacticda.forumotion.com/

Back to top Go down

In progress Re: Special Viewtopic_body

Post by SLGray on February 5th 2014, 10:14 pm

Garbaged as Requested


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

avatar
SLGray
Administrator
Administrator

Male Posts : 41437
Reputation : 2840
Language : English
Location : United States

https://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