Customizing user forum?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
Echo Dino
Registered User
Posts: 37
Joined: Fri Mar 22, 2019 11:09 am
Name: Saba
Contact:

Customizing user forum?

Post by Echo Dino » Tue Apr 16, 2019 4:30 pm

Hello. I want to make my site customized. I want to make the user forum page (which has an avatar and clicking on it jumps to the user profile) customized. I want to align it in center. Not in the center of the forum. Like thst:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
a Image aaaa Hello
aaaa BayoDino
aaaaa (stars)
aa Administrator
aaaa 6 aaaaa 20
aa Posts aaa Pets

User avatar
AmigoJack
Registered User
Posts: 5588
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Customizing user forum?

Post by AmigoJack » Wed Apr 17, 2019 6:55 am

  1. What have you tried so far?
  2. What did you expect?
  3. What happened instead?
The questions will show at which part/level of knowledge you need help.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
Echo Dino
Registered User
Posts: 37
Joined: Fri Mar 22, 2019 11:09 am
Name: Saba
Contact:

Re: Customizing user forum?

Post by Echo Dino » Wed Apr 17, 2019 11:19 am

AmigoJack wrote:
Wed Apr 17, 2019 6:55 am
  1. What have you tried so far?
  2. What did you expect?
  3. What happened instead?
The questions will show at which part/level of knowledge you need help.
I still can't find the file for it.

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1047
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs

Re: Customizing user forum?

Post by mrgoldy » Wed Apr 17, 2019 12:25 pm

In your style find the content.css: styles/prosilver/theme/content.css

Around line 700

Code: Select all

/* Poster profile block
----------------------------------------*/
.postprofile {
Directly after, add: text-align: center;
phpBB Studio / ''Proud member of the Studio"

User avatar
AmigoJack
Registered User
Posts: 5588
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Customizing user forum?

Post by AmigoJack » Wed Apr 17, 2019 12:26 pm

Stop full quoting my posts.

You most likely mean /styles/*/template/viewtopic_body.html and in there <dl class="postprofile" and beyond. However, I discourage from directly modifying the files - you should instead start your own style which inherits from prosilver and make your changes there.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
Echo Dino
Registered User
Posts: 37
Joined: Fri Mar 22, 2019 11:09 am
Name: Saba
Contact:

Re: Customizing user forum?

Post by Echo Dino » Thu Apr 18, 2019 7:39 am

thank you all! :mrgreen:

being intro is hard

User avatar
Echo Dino
Registered User
Posts: 37
Joined: Fri Mar 22, 2019 11:09 am
Name: Saba
Contact:

Re: Customizing user forum?

Post by Echo Dino » Thu Apr 18, 2019 7:46 am

but how about the avatar?
Attachments
avatat.png
avatat.png (25.26 KiB) Viewed 429 times

User avatar
AmigoJack
Registered User
Posts: 5588
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Customizing user forum?

Post by AmigoJack » Thu Apr 18, 2019 8:16 am

The definition of .postprofile .avatar needs to be modified:
  • delete float: left;
  • add padding-left: auto; padding-right: auto;
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
Echo Dino
Registered User
Posts: 37
Joined: Fri Mar 22, 2019 11:09 am
Name: Saba
Contact:

Re: Customizing user forum?

Post by Echo Dino » Thu Apr 18, 2019 9:44 am

I was wondering what is that code i had seen in css file. Thank you! :D

Post Reply

Return to “phpBB Custom Coding”