Tempcode on Catalog Pages

Post

Posted
Rating:
#6344 (In Topic #1600)
Avatar
Standard member
starfish is in the usergroup ‘Fan in action’

Pages taking Catalog ID in URL instead of Member ID

On my website, when a user is in their Profile, the right side panel contains the member_override Tempcode.  This shows the Member's id number.  All is well.


When that user clicks the "Content" button and selects some of the dropdowns, the member_override id number changes.  I noticed this on catalog pages (pages that use a catalog id number in the URL).  It looks like the member_override number pulls the catalog id number from the URL.  In other words, the member id number becomes the catalog id number from the URL.  Here are two examples:

Products = 

Links = 


Some of the links I created on the sidepanel are based upon the Member's id.  In this example, I need the member_override value to stay as "3". 

I don't know if this only happens on catalog pages, or other pages too.  I don't know how many pages use the term "id" in the URL to mean different things (user id, catalog id, etc.).

Thanks so much for your help!

 
Online now: No Back to the top

Post

Posted
Rating:
#6351
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
This MEMBER_OVERRIDE symbol is something from way back, not currently used by any part of Composr, and time has not treated it well. I'll make a patch to fix it up.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Important!
Posted
Rating:
#6352
Avatar
Site director
admin is in the usergroup ‘Administrators’

Automated fix message

starfish said

On my website, when a user is in their Profile, the right side panel contains the member_override Tempcode.  This shows the Member's id number.  All is well.


When that user clicks the "Content" button and selects some of the dropdowns, the member_override id number changes.  I noticed this on catalog pages (pages that use a catalog id number in the URL).  It looks like the member_override number pulls the catalog id number from the URL.  In other words, the member id number becomes the catalog id number from the URL.  Here are two examples:

Products = 

Links = 


Some of the links I created on the sidepanel are based upon the Member's id.  In this example, I need the member_override value to stay as "3". 

I don't know if this only happens on catalog pages, or other pages too.  I don't know how many pages use the term "id" in the URL to mean different things (user id, catalog id, etc.).

Thanks so much for your help!

 
This issue has now been filed on the tracker as issue #4089, with a fix.
Important!

Post

Posted
Rating:
#6373
Avatar
Standard member
starfish is in the usergroup ‘Fan in action’
Your code works perfectly.

Thanks so much!!!
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

deepu_ms, Manu, babu, amit.nigam, ManojSree, John Connor, mytracker

Forum statistics:
  • 1,151 topics, 5,503 posts, 6,644 members
  • Our newest member is TheMaker
Birthdays:
Back to Top