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.

[PHPbb2] Link to an off-site Avatar resize help.

4 posters

Go down

Solved [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Wed 07 May 2014, 20:29

Hello,

I was able to change the max size for a Link to an off-site Avatar in posts on my forum.
But I need help on how to change the size in the following places:

On the avatar control Panel:

On the Login Widget:

On the avatar control panel in the administration user panel:

At calendar:

Thank You!!


Last edited by angel_of_night on Mon 23 Jun 2014, 10:07; edited 1 time in total
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Pizza Boi Thu 08 May 2014, 06:38

Hi Very Happy

#1
Code:
form#register img {
max-width: 200px;
max-height: 200px;
}

#2
Code:
#gallery_container img {
max-width: 200px;
max-height: 200px;
}

#3 Administration panel - I don't think it's possible but you can try this, I'm not sure which affects which by this since you're using phpBB2:

Code:
table.forumline img {
max-width: 200px;
max-height: 200px;
}

#4 I give up on this one p_p. I can't catch it e.e"...

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Ange Tuteur Thu 08 May 2014, 06:40

Correct, you cannot modify the stylesheet or scripts found in the administration panel. You can only modify the front of the forum.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Pizza Boi Thu 08 May 2014, 06:52

Hi Very Happy

Aww, my original post got deleted Sad ... anyway, I think I found the answer:

AP < Display < Templates < Calendar < calendar_overview_profil < Find this part <

Code:
<td class="row2">{AVATAR}</td>

< Replace by < Save < Publish:

Code:
<td class="row2" id="bava">{AVATAR}</td>

Add this in CSS < Save:

Code:
#bava {
  max-width: 200px;
  max-height: 200px;
}

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Thu 08 May 2014, 14:08

Thank you! So far it worked, but I got this problem in the avatar control panel:

BEFORE:
[PHPbb2] Link to an off-site Avatar resize help. IUr34Sp

AFTER:
[PHPbb2] Link to an off-site Avatar resize help. IVgIpYN

How to put the separation the way it was before?

Ah and I also forgot to ask about this!

[PHPbb2] Link to an off-site Avatar resize help. BV4uvTN
How to also change the size at the vieweing profile?

Thank you boi Very Happy
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Pizza Boi Thu 08 May 2014, 14:27

angel_of_night wrote:Thank you! So far it worked, but I got this problem in the avatar control panel:

BEFORE:
[PHPbb2] Link to an off-site Avatar resize help. IUr34Sp

AFTER:
[PHPbb2] Link to an off-site Avatar resize help. IVgIpYN

How to put the separation the way it was before?

Ah and I also forgot to ask about this!

[PHPbb2] Link to an off-site Avatar resize help. BV4uvTN
How to also change the size at the vieweing profile?

Thank you boi Very Happy

Hi Very Happy

Your first question confuses me '-'.. can you explain clearer? And in my opinion, the current one looks cleaner Smile .

For the second one, try this please:

Code:
td.row1.gensmall img {
max-width: 200px;
max-height: 200px;
}

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Thu 08 May 2014, 14:31

The second worked, thank you.


The space of the description is too large in my opinion. Could I have it smaller?
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Pizza Boi Thu 08 May 2014, 14:44

Hi Very Happy

Hmm... actually it's corresponding to your forum's original width. But try digging in the templates and see if you can declare a name and have it re-size yourself, if not, I'll look into it. I'm on phone now so I can't check x_x", I'll have a go again at this for tomorrow Smile .

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Thu 08 May 2014, 15:13

Thanks!
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Pizza Boi Thu 08 May 2014, 17:12

Hi Very Happy

Well, this as a selector naturally works: .forumline .row1 ;however, there's a problem, it affects other areas. I checked in the templates where you can declare an individual name.

I even checked profile_body, sorry but I don't think this is possible. Maybe Ange can provide the last piece in the problem, lol.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Thu 08 May 2014, 23:49

Yes, please if someone knows Very Happy
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Mon 19 May 2014, 11:05

Bump
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Fri 06 Jun 2014, 16:33

Also need help to resize avatar in the private messages.
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Jophy Sat 07 Jun 2014, 07:51

Hello,

Try this, go to your templates:

Post & private messages > prvmsgs_read_body > modify:

Find:

Code:
{AVATAR_FROM}

Replace it with:

Code:
<div class="res">{AVATAR_FROM}</div>

prvmsgs_topic_review:

Find:

Code:
{postrow.POSTER_AVATAR}

Replace it with:

Code:
<div class="res">{postrow.POSTER_AVATAR}</div>

Save and publish.  Add 

Then add this to your CSS:

Code:
.res img {
  max-width: #px;
  max-height: #px;
}
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by angel_of_night Mon 23 Jun 2014, 10:05

Thank you! All solved Smile
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: [PHPbb2] Link to an off-site Avatar resize help.

Post by Jophy Mon 23 Jun 2014, 13:58

Solved
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

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