By Colin Girard on Wednesday, 10 August 2022
Posted in General Issues
Replies 24
Likes 0
Views 431
Votes 0
I was able to customize our profile headers with member name as per screenshot.
But i can only change it on the profile default and 'about' profile pages. On photo and video, profile pages i cannot get it to change.

Please advise
Hi Colin,

May I know where is your modification located, on custom css or on the php files?
·
Wednesday, 10 August 2022 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
php files.
·
Thursday, 11 August 2022 04:16
·
0 Likes
·
0 Votes
·
0 Comments
·
i.e.
profile header on 'profile' and 'author pages on 'friends', 'photos' video' pages

profile: https://www.ehcanadatravel.com/profile/62-eh-canada-support.html
friends: https://www.ehcanadatravel.com/community/62-eh-canada-support/friends.html
·
Thursday, 11 August 2022 05:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

This is the file that renders that user cover area.
JoomlaFolder/components/com_easysocial/themes/wireframe/helpers/cover/user.php
·
Thursday, 11 August 2022 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I noticed that your 'community' menu item is under helixultimate template. So to get the override to work on the 'community' url, make sure your override is present in helixultimate template path.
Screenshot attached for reference.
·
Thursday, 11 August 2022 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Raymond!

unfortunately i just upgraded to EB6 and horizontal mod setting and my custom modules are not working. Hopefully we can get that figured out, as no core changes where made..

I posted a new ticket on it
·
Thursday, 11 August 2022 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure Colin, you're most welcome.

Regards.
·
Thursday, 11 August 2022 16:12
·
0 Likes
·
0 Votes
·
0 Comments
·
ok, so
1. how do i get the header on their photo and video pages, to be same as profile page header?
2. add module position to photo and video pages?
ty
·
Monday, 03 October 2022 20:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,
1. how do i get the header on their photo and video pages, to be same as profile page header?
Can you provide links to video, photo and profile page so I can compare them?
2. add module position to photo and video pages?
Can you provide a screenshot and highlight where you want to add the position?
·
Tuesday, 04 October 2022 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Absolutely Raymond. More time now.

ok so I am able to add our link/social bar to profile, album, and video pages...

Profile Page: https://www.ehcanadatravel.com/profile/1960-mila-lansdowne.html
Screenshot: 1

As you can see the profile header has the member name and a black bar with their website and social links. = good.

BUT when i go to the profile albums and video pages the header does NOT show name and when i add the black, social bar it links to the site social pages, and not the members.

Video: https://www.ehcanadatravel.com/community/1960-mila-lansdowne/videos.html
Screenshot: 2

Everything related to that bloggers, should show that blogger info.

Big issue with this, is when we share album, blog or video, the link from the share goes to blogger's video or album page. ...with none of the bloggers links.

Pretty hard to promote members, when people click through and get only the main site links.


Please advise my friends.
·
Thursday, 06 October 2022 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,
when i go to the profile albums and video pages the header does NOT show name
By default both the user's name and profile type should show. It looks different on your site because there is customization done.
To understand more about the customization, can you let us know where to find the customization codes that hides the profile type and show the user's name on the second line in following page?
https://www.ehcanadatravel.com/profile/1960-mila-lansdowne.html

I believe the reason it looks different on the other page because the css class is different on the video page. So the custom css needs to target a different class.
#es .es-profile >> There is no .es-profile class on the video page.
when i add the black, social bar it links to the site social pages, and not the members.
You have to consult the person who wrote the module as it's not developed by us.
·
Thursday, 06 October 2022 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
when i add the black, social bar it links to the site social pages, and not the members.

You have to consult the person who wrote the module as it's not developed by us.


The module works fine.
Does this not have more to do with the video /album pages are under the community/ and the profile under profile/ url?

It is the same module, but seems the album/video pages are not "relating" to the owner of the content, as it does in the profile.

Is there no way to make it show the profile owner links on albums and videos??
·
Thursday, 06 October 2022 17:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Does this not have more to do with the video /album pages are under the community/ and the profile under profile/ url?
Not really. Because both the community and profile menu items on your site is rendered by the same template. So if your custom css is applied inside the same template, they will be used on both pages.
It is the same module, but seems the album/video pages are not "relating" to the owner of the content, as it does in the profile.
Without examining the codes of the 3rd party module, I am unable to provide the reason why it's not linking to the owner, which is why I suggest consulting the person familiar with that module.
·
Thursday, 06 October 2022 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
You keep saying custom.css.
So I think you are not understanding the issue.

I'm not talking about styling, but the actual link that is displayed.
Profile page, shows blogger links, album and video show site links..

Can css do that?

ok reviewing console and see the same code for each. It is only the link url that is different.

On profile it is milas

<div id="bm-website" class="btn-contact"><a href="https://www.milalansdowne.com" target="_blank">
Website</a>
</div>

On album and video it is site

<div id="bm-website" class="btn-contact"><a href="http://www.ehcanadatravel.com" target="_blank">
Website</a>
</div>

Same module, only difference is page displayed on.

So i do not understand your reasoning...

Would putting the module within the mini header work, gor right links.
can you please advise as to what file to customize for the mini header?
·
Thursday, 06 October 2022 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

You are right. It appears that this page is confusing me.

Currently there are 2 issues correct? First is the missing name, second is the incorrect links in the 3rd party black bar module. Perhaps we should focus on one issue at a time to avoid confusion. We will focus on the missing name issue first.

Regarding the first issue, this page is actually not showing the name correctly. Refer to the second attached screenshot. The profile type is supposed to be shown beside the shield icon. This is correct on other pages like here and here.

By right the name should be displayed on top of the profile type(example). The name is not showing on the other pages because the code has been replaced with the following line as you can see in the attached screenshot.

<?php echo $user->getFieldData('business_name'); ?>
I'm still not sure why the name is showing beside the shield icon on the timeline page, when the profile type is supposed to be shown instead, like other pages. Do you recall any customization in place that may cause this?
·
Thursday, 06 October 2022 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, the main issue is the links in the module.

The name issue should be just a template issue, which i can fix.

C
·
Thursday, 06 October 2022 20:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright Colin. In that case I will move to issue 2(3rd party module).

Looking at the codes inside this file(../modules/mod_easysocial_socialprofile/mod_easysocial_socialprofile.php), the part where the id is retrieved is incorrect as it only works on view=profile.

On view=videos or view=audios, the id represents the video/audio id. To get the id of the video/audio owner, you have to get the uid value. Basically you have to make changes to the module code by checking, on profile pages, get the id, on video/audio pages, get the uid.

By the way, you can turn off SEF on the site to see the non-SEF url which contains those values.
·
Friday, 07 October 2022 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Raymond ...very cool!

I will let you know how it goes on 1 & 2.

Q: We let go of our tech guru, and considering our core system is all based on SA products.
..how long would it take to you or SA to do it?
Instead of contracting to a foreign tech person, where trust is questionable, would rather just hire the ones who know the system.

We also will need an app soon

Thanks eh!
Colin
·
Friday, 07 October 2022 14:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Not sure what you mean by SA.
..how long would it take to you or SA to do it?
Do you mean you would like us to provide a fix in the 3rd party module for issue 2?
·
Friday, 07 October 2022 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
mistyped : Stack Ideas SI
·
Friday, 07 October 2022 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I can replace the id and make a second mod.
But that would take me hours, and I hate "Micky Mousing it".
You or SI would take minutes, to modify the one mod to work in all areas.

We are expanding and need help, we can rely on and trust.

Colin
·
Friday, 07 October 2022 15:52
·
0 Likes
·
0 Votes
·
0 Comments
·
I see. Actually it may take us longer depending on whether a simple fix suffice.

In any case, I would suggest that you submit a request at https://stackideas.com/customization-works so that our salesperson can evaluate this.
·
Friday, 07 October 2022 16:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Will do!

I need a break, so thank you Raymond!

B well
·
Friday, 07 October 2022 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Colin.

Regards.
·
Friday, 07 October 2022 16:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post