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 6th 2014, 2:22 am

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 6th 2014, 3:50 am; edited 1 time in total

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 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; }



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



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
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 6th 2014, 3:52 am

I cannot ifnd the first part of the Template.

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 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.



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



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
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 6th 2014, 3:57 am

Cannot find the code there.

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 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



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



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
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 6th 2014, 5:06 am

I don't think I need this anymore. You can archive this now!

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 6th 2014, 7:14 am

Garbaged as Requested


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


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
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