Edit the avatar and profile fields
3 posters
Page 1 of 1
Edit the avatar and profile fields
Is there a way I can edit the avatar and proficient fields like this
I use punbb.
I use punbb.
Re: Edit the avatar and profile fields
There's only a tutorial, but it's only related to the followed version: phpBB2. I cannot remember where I had seen this tutorial?
If I find it I will post it here.
Found it in the RSF.
go to ACP >> Display >> Templates >> General >> viewtopic_body. Select next snippet of code
Replace it with:
After submitting it, make sure that it's saved and published! By clicking this:
Then add this into your CSS:
If I find it I will post it here.
Found it in the RSF.
go to ACP >> Display >> Templates >> General >> viewtopic_body. Select next snippet of code
- Code:
<div class="user">
<div class="user-ident">
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />
{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
</div>
</div>
<div class="user-info">
{postrow.displayed.ONLINE_IMG}
<!-- 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}
</div>
</div>
Replace it with:
- Code:
<div class="user">
<table width="100%" class="userpost_head"><tr>
<td>
<div class="user-ident">
<table width="100%"><tr><td class="post_author_baisc" width="70">
{postrow.displayed.POSTER_AVATAR}<br /></td>
<td><h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
<div class="user-basic-info">
{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
</div>
</td></tr></table>
</div>
</td>
<td class="post_author_info">
<div class="user-info">
{postrow.displayed.ONLINE_IMG}
<!-- 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}
</div>
</td>
</tr></table>
</div>
After submitting it, make sure that it's saved and published! By clicking this:
Then add this into your CSS:
- 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; }
Re: Edit the avatar and profile fields
This did not workSir Chivas wrote:There's only a tutorial, but it's only related to the followed version: phpBB2. I cannot remember where I had seen this tutorial?
If I find it I will post it here.
Found it in the RSF.
go to ACP >> Display >> Templates >> General >> viewtopic_body. Select next snippet of code
- Code:
<div class="user">
<div class="user-ident">
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />
{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
</div>
</div>
<div class="user-info">
{postrow.displayed.ONLINE_IMG}
<!-- 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}
</div>
</div>
Replace it with:
- Code:
<div class="user">
<table width="100%" class="userpost_head"><tr>
<td>
<div class="user-ident">
<table width="100%"><tr><td class="post_author_baisc" width="70">
{postrow.displayed.POSTER_AVATAR}<br /></td>
<td><h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
<div class="user-basic-info">
{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
</div>
</td></tr></table>
</div>
</td>
<td class="post_author_info">
<div class="user-info">
{postrow.displayed.ONLINE_IMG}
<!-- 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}
</div>
</td>
</tr></table>
</div>
After submitting it, make sure that it's saved and published! By clicking this:
Then add this into your CSS:
- 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; }
Re: Edit the avatar and profile fields
Are you sure you made the correct changes? I'll test it out today in my test forum and report back to you.
Re: Edit the avatar and profile fields
Ok it screwed up when i put it in it looked like thisSir Chivas™ wrote:Are you sure you made the correct changes? I'll test it out today in my test forum and report back to you.
Profile Name
Avatar
Profile feilds
Re: Edit the avatar and profile fields
Http://www.maliciousgaming.forumotion.comSir Chivas™ wrote:Can you please provide your forum URL ? Thank you.
Re: Edit the avatar and profile fields
[SS] Illuminati wrote:Http://www.maliciousgaming.forumotion.comSir Chivas wrote:Can you please provide your forum URL ? Thank you.
You've removed the codes, correct? I wanted to view how it looked afterwards.
Xnomejx wrote:Could you also use the codes above for PHPBB2?
Nope they can't, I can provide the codes for your forum version, but you'll need to create your own thread.
Re: Edit the avatar and profile fields
Thank you for the quick responce. I'll let you finish helping him first.
Re: Edit the avatar and profile fields
You can create your own thread, I can help you out there. No need to wait.
Re: Edit the avatar and profile fields
Sir Chivas wrote:[SS] Illuminati wrote:Http://www.maliciousgaming.forumotion.comSir Chivas wrote:Can you please provide your forum URL ? Thank you.
You've removed the codes, correct? I wanted to view how it looked afterwards.Xnomejx wrote:Could you also use the codes above for PHPBB2?
Nope they can't, I can provide the codes for your forum version, but you'll need to create your own thread.
I took it down
Re: Edit the avatar and profile fields
So why not try it again then take a screenshot of the messed up topic?
Re: Edit the avatar and profile fields
Xnomejx wrote:So why not try it again then take a screenshot of the messed up topic?
I'm on an iPad ATM so I can't add the codes in...
Re: Edit the avatar and profile fields
It's all right, take your time, mate. I'll test out the codes myself. I'll post or edit my post to give the correct codes or solution.
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.
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.
Re: Edit the avatar and profile fields
Sir Chivas wrote:It's all right, take your time, mate. I'll test out the codes myself. I'll post or edit my post to give the correct codes or solution.
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.
Ok did you figure I tut yet?
Similar topics
» How to remove contact fields on edit profile?
» Profile Fields Edit
» Personalised Profile Fields that everyone can edit
» Personalised Profile Fields that everyone can edit
» Profile fields 'edit field' button is not showing
» Profile Fields Edit
» Personalised Profile Fields that everyone can edit
» Personalised Profile Fields that everyone can edit
» Profile fields 'edit field' button is not showing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum