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.

The template of the profile view

+2
skouliki
M.I.
6 posters

Go down

Solved The template of the profile view

Post by M.I. June 24th 2020, 4:47 pm

Hi

Could you please tell which template related to the profile view? This is where you look the profile of a user. Its url is the "https://forumname.com/u1". I checked all templates but cant find where is this.


Last edited by M.I. on June 27th 2020, 6:47 pm; edited 1 time in total
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by skouliki June 24th 2020, 5:04 pm

hello

you will find here all the profile templates

pun-visit - The template of the profile view Scre1973


skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 24th 2020, 5:36 pm

I looked that first, I thought that it is the profile_view_body, it seemed obvious. But if that is then a weird thing happened. I deleted the "<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>" line from the pun-visit section but the logged as and last visit is still there in the profile view, how can be that?

I made this in all templates and it dissapeared everywhere except from the profile view page. Really that is not anymore in the profile_view_body template but still active. It is inconceivable. Huh
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by Draxion June 24th 2020, 5:43 pm

Hello.

Unfortunately, the profile_view_body only relates to the "simple" version of the profile, not the advanced version. If you want to make edits to the advanced version, you'll have to be creative with CSS and JavaScript.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 24th 2020, 5:51 pm

There is not an easier way for example something like this?
Code:
#pun-visit(that stuff){
display: none;
}
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by Draxion June 24th 2020, 6:09 pm

Because you can't edit the template that targets the advanced version of the profile, using native CSS is going to be hard unless you can target specific elements. That's where JavaScript comes in handy. You can create new elements or add classes and id's to existing ones so you can use CSS to target and style them however you please.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 24th 2020, 7:13 pm

So you suggest that make a new box and transfer the needed stuff there or transfer them to another box and then remove the pun-visit?
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by SLGray June 24th 2020, 8:06 pm

What exactly are you trying to do?  Please post a screenshot that explains what you want.


pun-visit - The template of the profile view Slgray10

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

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 25th 2020, 8:17 am

I have aligned the items in the tool box (#pun-visit) to the center, but dont work properly because the loginfo item (<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>) blocks the positioning, though I deleted it from all templates but in the profile page it is still active, even so I deleted from profile_view_body too.

If it would be only in profile page I would let it, but unfortunately it affects all pages and spoils the positioning everywhere, it looks so bad. All I want just ordinary center align by any means.
pun-visit - The template of the profile view Help10
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by Chalesboon June 26th 2020, 9:32 am

Send screenshots to the right point, only then the moderator will give you the exact solution.
Chalesboon
Chalesboon
New Member

Male Posts : 14
Reputation : 2
Language : english

Back to top Go down

Solved Re: The template of the profile view

Post by skouliki June 26th 2020, 11:15 am

Chalesboon wrote:Send screenshots to the right point, only then the moderator will give you the exact solution.

Please don't hijack another member’s topic's.
Please open your own thread if you having a problem with your forum.
Please read our forum rules:ESF General Rules

skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 26th 2020, 1:04 pm

BTW I found a solution just it is not really good. If I disable the advanced profile it cease the problem but would be better a solution what keeps the advanced profile.

I figured out an other solution but rather ask your opinion before change the templates. What if I copy-paste the pun-visit section in the templates and clone it with an other name like hun-visit, then remove the whole pun-visit box with display:none css and then only the hun-visit box remains, which is not affected by the hidden advanced profile template.

What an out-of-the-box solution! Do you think it could work?
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 26th 2020, 8:44 pm

Hey there,
I don't know if your cloning alternative is necessary. Is this your forum ? If yes, I'd like to create an account to check this, if you don't mind :b
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 26th 2020, 9:06 pm

Hi

Account creation is open, if you join please write a comment, I want just see the icons which are not visible on my own comments. I let this thing for tomorrow until then maybe someone tell opinion or other idea.
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 11:25 am

Finally I found how to remove that item even from the advanced profile page:
Code:
#pun-visit > p{
display:none;
}

But not this caused the positioning problem, it remained. Even I align the items to left, center or right it align them somewhere but to an irregular place, and also elsewhere in every page, it is just chaotic. Now I have no idea what cause this.
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 27th 2020, 12:24 pm

I just created an account to check it all by myself. I'm currently seeing this:
pun-visit - The template of the profile view Screenshot-2020-06-27-T122400-627

Can you (re)explain what you're trying to achieve?
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 3:42 pm

@mSyx I was just tired after lots of tries and took out the alignment code, but now took it back, now you can check what is this. Please dont forget to write a comment, I want just see the features which are not visible on my own comments. Btw I used this for alignment:
Code:
#pun-visit{
   display: flex;
   justify-content: center;
   align-items: center;
}
I gave up to solve this and moved to another problem but let the disfunctional alignment, maybe someone know how to deal with it.
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 27th 2020, 5:06 pm

@M.I. The following CSS seems to fix the issue:

Code:
#pun-visit {
  display: block; }

#pun-visit > p, #pun-visit ul {
  display: inline-block;
  width: 50%;
  vertical-align: top; }

Don't forget to remove any custom CSS of yours that target #pun-visit, #pun-visit > p and/or #pun-visit ul
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 5:30 pm

It is better a bit, at least not chaotic alignment, but it position the items to the right not to the center.
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 27th 2020, 5:43 pm

Is this what you want ?
pun-visit - The template of the profile view Screenshot-2020-06-27-T174255-617

If not, please try explaining or schematizing what result you want.
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 5:49 pm

Yes it looks you found the solution!
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 27th 2020, 6:25 pm

Okay, so I didn't understand at first, so we'll go back with display: flex ^^
Here you go:

Code:
#pun-visit {
  display: flex;
  justify-content: center; }

#pun-visit > p, #pun-visit ul {
  float: none !important;
  width: auto;
  text-align: center;
  margin: 0 1%;
}

Again, don't forget to remove (or replace with the above code) your current custom CSS that targets the #pun-visit and its children.
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

M.I. likes this post

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 6:46 pm

Thank you very much. It is as it should be. Have a nice day!
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by mSyx June 27th 2020, 6:54 pm

Glad I could help. :b
Feel free to delete my account on your forum. Wink
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

Solved Re: The template of the profile view

Post by M.I. June 27th 2020, 7:14 pm

mSyx wrote:Glad I could help. :b
Feel free to delete my account on your forum. Wink
Could you please write a comment in my forum? With any word, only for testing purpose, I want just see the buttons what are not visible in my own comments. Thanks again for all.
M.I.
M.I.
Forumember

Posts : 49
Reputation : 3
Language : Hungarian

https://holnap.hungarianforum.com/

Back to top Go down

Solved Re: The template of the profile view

Post by Draxion June 27th 2020, 8:09 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Back to top

- Similar topics

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