Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2020, 03:46 AM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia
 
Join Date: May 2020
Location: Tennessee
Posts: 50
Gender: Female
Credits: 1,199
Micolai is on a distinguished road
Question Linking profile page to nav tab

So, I'm trying to make a tab in the navigation drop-down that is a user's profile and link the profile page to that tab instead of having to go into your account to click the profile link every time. How do I link it though? I've tried view, profile, profile/view, but it's wanting me to add the user's username, but I need it to work for everyone. Is this possible?
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
  #2  
Old 06-01-2020, 09:19 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: Somerville
Posts: 4,394
Gender: Male
Credits: 155,529
Hall of Famer is on a distinguished road
Default

In general you can create navlinks easily with admin control panel, but this is a bit tricky since the profile page uses the user's username by default which is a dynamic value that changes for each user.



To achieve this, the simplest solution is to create an arbitrary link like http://yoursite.com/profile/myprofile to http://yoursite.com/profile/view/{your username}.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 06-07-2020, 11:29 PM
Micolai's Avatar
Micolai Micolai is offline
Loving Mysidia
 
Join Date: May 2020
Location: Tennessee
Posts: 50
Gender: Female
Credits: 1,199
Micolai is on a distinguished road
Default

Quote:
Originally Posted by Hall of Famer View Post
In general you can create navlinks easily with admin control panel, but this is a bit tricky since the profile page uses the user's username by default which is a dynamic value that changes for each user.



To achieve this, the simplest solution is to create an arbitrary link like http://yoursite.com/profile/myprofile to http://yoursite.com/profile/view/{your username}.
Thank you. Turns out I was just using urls wrong lol.
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:19 AM.

Currently Active Users: 343 (0 members and 343 guests)
Threads: 4,009, Posts: 31,648, Members: 15,651
Welcome to our newest members, Rubyz.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636