Skip Navigation

[Resolved] Changing in the address of the "author" page.

This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 22 replies, has 3 voices.

Last updated by Bochnacki 7 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#540211

I would like in the address bar instead of "? Author_id = 123" was the nickname of the user whose profile is shown on the page.
So instead of:
hidden link
should by:
hidden link
Or even better:
hidden link
But I do not know if this is possible ...

I will be grateful for the help.

#540262

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Bochnacki,

Thank you for getting in touch with us. It depends on how you have created this page and how user navigate to this page. Have you created a View >> that shows all Dealers >> and from there we click on a dealer's name >> then goes to this page?
hidden link

If above is true, then please provide link for the main page as well that shows all dealers or explain how user goes to this page and how this page or url is being build right now?

Thank you

#540296

This page hidden link is a normal WordPress page. Two views are shown on it, depending on the role of the author. Here https://toolset.com/forums/topic/author-page-depending-on-the-role-of-the-user/ this process is more thoroughly described.
You can go to the author page by clicking on the nickname (on the right hand side of each post) from hidden link
I hope I have clarified this and it will help.

#540311

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Okay thanks its clear now. I found the login info in the old ticket. Can you please take a full back of your site and database, I am going to debug this further to find the solution.

And please send me the [View edit link] that is used on this page, so I can update it accordingly:
hidden link

Thank you

#540327

I'm not sure I understand you well ...
As for the view used on this page hidden link is the View ID=287.

#540465

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello,

Thank you for providing View ID, I am still working on this issue and get to you soon with an update.

Thank you for your patience.

#540715

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Bochnacki,

I have been trying to get it work and change but its seems its not easily possible to change it. It may needs custom coding to make it happen. I am closing my day here and I will be on public holidays for 4 days in coming week. It may have something to do with the custom shortcode that Minesh added in your site, so if you really want him to look into this, then please reply here so that @minesh can see if he can do something in this case in my absence.

Thank you for your understanding

#540783

Noman, thank you.
If Minesh can help, it's great. If not, then the solution to this problem can wait.

#541717

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

We can display the links as - following will need little change:
=> hidden link
=> hidden link

But if you want to display the author profile as:
=> hidden link

Then you need to customize it you need to follow the following Doc:
=> https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/

#543980
dealer-view.jpg

https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/ - Unfortunately this solution is not possible in my case.

hidden link - How can I get this effect?
I understand that changing shrtcode is not enough, right?

<a href="<em><u>hidden link</u></em> format="meta" meta='ID']">[types usermeta='nickname' user_is_author='true'][/types]</a>

For example, for this:

<a href="<em><u>hidden link</u></em> format="meta" meta='nickname']">[types usermeta='nickname' user_is_author='true'][/types]</a>

On the screen "dealer-view.jpg" you can see the set of the View "Dealer".

#544232

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

So - as I understand you would like to go will the following approach - correct?:
=> hidden link

#544241

Yes.
Although I admit that I would like to remove "?author_id=" from the address 🙂

#544244

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - its not possible to remove author_id as it holds the author name value - if you want we can change author_id to author_name.

#544246

Well. Let's "author_name".

#544252

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I just checked that you removed the conditional shortcode from the dealter's page - why?

Now - I do not see two views added to yoru dealer's page:
=> hidden link
=> hidden link

I've shared the code in your privous ticket.
https://toolset.com/forums/topic/author-page-depending-on-the-role-of-the-user/page/2/#post-540155

Could you please be consistant with your requirement - is your requirments is changed?