The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Special Viewtopic_body

3 posters

Go down

In progress Special Viewtopic_body

Post by Kite Trojan February 6th 2014, 2:22 am



Last edited by Xnomejx on February 6th 2014, 3:50 am; edited 1 time in total
Kite Trojan
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™ February 6th 2014, 3:43 am

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; }
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan February 6th 2014, 3:52 am

I cannot ifnd the first part of the Template.
Kite Trojan
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™ February 6th 2014, 3:55 am

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

Your code would be somewhere around there.
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan February 6th 2014, 3:57 am

Cannot find the code there.
Kite Trojan
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™ February 6th 2014, 4:07 am

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
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

In progress Re: Special Viewtopic_body

Post by Kite Trojan February 6th 2014, 5:06 am

I don't think I need this anymore. You can archive this now!
Kite Trojan
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 February 6th 2014, 7:14 am

Garbaged as Requested


Special Viewtopic_body Slgray10

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

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum