<![CDATA[ Best way of implementing user presentation pages? - My Forums]]> https://forums.modx.com/thread/?thread=103951 <![CDATA[Best way of implementing user presentation pages?]]> https://forums.modx.com/thread/103951/best-way-of-implementing-user-presentation-pages#dis-post-559057
/users/user1
/users/user2
/users/user3

possibly with subdirectories for listing personal resources. Then I need some way of catching requests and directing them to the same snippet. One solution I have seen in MODX is Tagger plugging in to the OnHandleRequest event. But doesn't that add a penalty to every request that MODX handles? An alternative would be to do the routing in Nginx/Apache, which would mean a minuscular overhead on every other request too. I've seen it in Discuss. Any other options? What would you do? Tagger obviously made its choice, but is it optimal for someone used to configuring the web server? And Discuss is mostly an attempt to port SimpleMachine and doesn't interface well with MODX.]]>
alipang Jun 13, 2018, 10:20 AM https://forums.modx.com/thread/103951/best-way-of-implementing-user-presentation-pages#dis-post-559057
<![CDATA[Re: Best way of implementing user presentation pages? (Best Answer)]]> https://forums.modx.com/thread/103951/best-way-of-implementing-user-presentation-pages#dis-post-559233
        location @modx-rewrite {
                rewrite ^/user/([0-9]+)/$ /index.php?q=user/&userid=$1 last;
                rewrite ^/(.*)$ /index.php?q=$1 last;
        }
]]>
alipang Jun 26, 2018, 10:20 AM https://forums.modx.com/thread/103951/best-way-of-implementing-user-presentation-pages#dis-post-559233