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.

Sticky/floating profile?

2 posters

Page 1 of 2 1, 2  Next

Go down

Solved Sticky/floating profile?

Post by Yuee12 31/12/2021, 09:59

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : ( link is hidden, you must reply to see )

Description of problem

Hello,

This is my first message in the forum, so I'm not even sure if I'm posting this in the right section or the right way. Please forgive me for any misleads on my part.

Basically, I'm facing a problem with CC that I don't know anything about.
All I want to do is make profiles sticky (make them float/follow me when I scroll down the posts), but I don't seem to make it work anyhow.
I tried some solutions about the function "sticky" I found on the Internet, but I didn't manage to make it work out.
My forum is private (I don't open it to the public because I use it with a few friends for role-playing).

Thanks for reading!


Last edited by Yuee12 on 31/12/2021, 14:34; edited 1 time in total
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 11:06

hello and welcome

first of all your forum needs to be open so we can inspect the elements
if you do not wish to open it then you can send to a staff member a test account via private message

do you have a forum link or any link where we can see the result you want to succeed?
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 12:15

skouliki wrote:hello and welcome

first of all your forum needs to be open so we can inspect the elements
if you do not wish to open it then you can send to a staff member a test account via private message

do you have a forum link or any link where we can see the result you want to succeed?

Hello, skouliki.

Thanks for your message.

I will create a test account and send it to a staff member via private message. I take it I can send it to you?

Unfortunately, I do not have an example of the result I want to succeed. I know I've seen it in other forums, but it was a long time ago, and I don't have any track left of it.
I don't know whether it's easy or difficult, but the result is making the profile move along with a scroll up/down.
I believe the right function to use would be "sticky", but unfortunately, I know very, very little of CC.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 12:31

thank you for the pm

i have not seen this in any forumotion forum so far that's why i ask

the profile is moving while reading a thread ?
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 12:33

skouliki wrote:thank you for the pm

i have not seen this in any forumotion forum so far that's why i ask

the profile is moving while reading a thread ?

I understand.

No, it's not; and it's precisely what I would like to do. Make it move down while reading a thread, if that's possible at all.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 12:35

but in a thread, you have multiple posts ... all the profiles will be moving while reading ?
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 12:38

skouliki wrote:but in a thread, you have multiple posts ... all the profiles will be moving while reading ?

Hm, the idea would be to make profiles not abandon the limits of a post. Hence, to make them stay between such bars so that they don't cover other profiles in other replies.
Or make only the profile I'm reading move.
Edit: here is an example of how it would look like!


Last edited by Yuee12 on 31/12/2021, 12:45; edited 1 time in total
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 12:43

as far as i know this can not be done with css maybe it can be done with javascript
since these days are holiday days please be patient
i wish you a happy new year


Last edited by skouliki on 31/12/2021, 14:35; edited 1 time in total
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 12:44

skouliki wrote:as far as i know this can not be done with css maybe it can be done with javascript
since these days are holiday days please be patient
i wish you a happy new year

Sure, I will be patient! Thank you a lot!

Happy new year to you, too!
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

skouliki likes this post

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 12:51

i saw the example thank you i do understand better now let me try to see if i can succeed the result with CSS codes
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:00

can you try this code to your CSS

Code:

.postprofile {
    padding: 0px;
    position: sticky;
    top: 43px;
    margin-right: -90px;
    margin-top: 55px;
}



Last edited by skouliki on 31/12/2021, 13:04; edited 1 time in total
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:03

skouliki wrote:can you try this code to your CSS

Code:

.postprofile {
    padding: 0px;
    width: auto;
    position: sticky;
    top: 43px;
    margin-right: -90px;
    margin-top: 55px;
}


Done. The profile currently appears this way:

Spoiler:

Furthermore, it's still fixed.

I forgot to give administrator rights in case you need them for anything. It's done.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:07

this is what i get in my test forum https://test4test.forumotion.com/t13-scrsadfrgtyujio-p
can you see the profile moving ?

if you delete the width or the margin-left it will come to place ..
we are looking the scrolling now after we will see the margins
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:09

skouliki wrote:this is what i get in my test forum https://test4test.forumotion.com/t13-scrsadfrgtyujio-p
can you see the profile moving ?

if you delete the width or the margin-left it will come to place ..
we are looking the scrolling now after we will see the margins

I understand.
Yes, in your test forum, the profile moves!
But in mine, it appears it doesn't.
Can you see the profile moving?
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:20

no, so i think this is a conflict coming from your templates

try to force the template ( viewtopic body ) to the default to check if the code works
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:26

skouliki wrote:no, so i think this is a conflict coming from your templates

try to force the template ( viewtopic body ) to the default to check if the code works

I'm not sure I did it correctly (I really know little of all this).
I went to Templates - General, and I clicked on "publish" for the viewtopic body option (its status was Waiting).
The profile still doesn't move.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:28

listen check this option to yes check the result
then go back and uncheck it

Sticky/floating profile? Scre2573
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:30

skouliki wrote:listen check this option to yes check the result
then go back and uncheck it

Sticky/floating profile? Scre2573

Okay, great! Thanks!
I checked it, and the result is the same.
I uncheck it now.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:31

replace the css code

with this one so we can view it ok

Code:

.postprofile {
    padding: 0px;
    position: sticky;
    top: 43px;
    margin-top: 55px;
}

you have to leave the templates on the default mode for me to check the elements
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:34

skouliki wrote:replace the css code

with this one so we can view it ok

Code:

.postprofile {
    padding: 0px;
    position: sticky;
    top: 43px;
    margin-top: 55px;
}

you have to leave the templates on the default mode for me to check the elements

Okay, so:

- I put the templates on the default mode.
- I replaced the previous css code with this one

I can't see profiles moving. Can you?
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:36

i do not see the defautl templates
i see the forum as it was at first place
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:38

do the same with the javascript ..turn them off and recheck
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:39

skouliki wrote:i do not see the defautl templates
i see the forum as it was at first place

That's strange. I clicked on the Force the default templates as you asked D:
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:39

skouliki wrote:do the same with the javascript ..turn them off and recheck

since the code on my test forum is working something in your forum is blocking it
css
templates
javascript
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:41

skouliki wrote:do the same with the javascript ..turn them off and recheck

I went to HTML & JAVASCRIPT - Javascript codes management; there, I turned off the Enable Javascript code management.

Spoiler:

The result is still the same.
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:42

ok turn them all back as normal

and send me your CSS codes by private message
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:43

skouliki wrote:ok turn them all back as normal

and send me your CSS codes by private message

Right away!
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:43

thank you

somewhere is a conflict ....
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by skouliki 31/12/2021, 13:46

https://test4test.forumotion.com/t13-scrsadfrgtyujio-p#75

with your css i still have a good result can you post the code a gave you at the top of your CSS sheet
skouliki
skouliki
Manager
Manager

Female Posts : 15391
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Sticky/floating profile?

Post by Yuee12 31/12/2021, 13:51

skouliki wrote:https://test4test.forumotion.com/t13-scrsadfrgtyujio-p#75

with your css i still have a good result can you post the code a gave you at the top of your CSS sheet

I put it at the very top, but it still doesn't work:

Spoiler:
Yuee12
Yuee12
New Member

Posts : 18
Reputation : 1
Language : English, Spanish, French

https://rpapart.foroactivo.com/

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

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