Arrow

What does the syntax variable mean? | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
What does the syntax variable mean?
April 21, 2011
6:42 am
Tony
Guest

Can anyone please explain what this means in basic terms?

"You can use the syntax [variable]username[/variable] in your URLs so that the system will build a dynamic URL upon each login, replacing that text with the user's username."

April 21, 2011
8:11 am
Peter
Admin
Forum Posts: 841
Offline

Hi, let me know if the answer in this thread helps:

http://www.theblog.ca/peter-fo.....m-user-url

April 21, 2011
8:26 am
Tony
Guest

Yeah that was kind of helpful. I'm trying to use your plugin with ThemeMyLogin and one of the links the user can click on once logged in via ThemeMyLogin is called "My Contests" (www.website.com/my-contests/)

Do you know how can I make it so that depending on that person's username/user id, when they click on that link they will be sent to a page that's customized for their username/user id? The same with your redirection... not only do I want them to be redirected after login, but I want them to be able to click on that link in the sidebar wheever they are on that site to go to that specific page.

For example:
JoeSchmo55 clicks on http://www.website.com/my-contests/

Is there any way to do that? How would the syntax variables apply to that?

Thanks,
Tony

April 21, 2011
8:28 am
Tony
Guest

Sorry this is not completely related to your plugin but it seems like you have some knowledge in regards to certain codes and I have no idea how to do it and unfortaunetly the author of the ThemeMyLogin won't respond to this question.

April 21, 2011
8:43 am
Peter
Admin
Forum Posts: 841
Offline

In general terms, the syntax variables wouldn't apply. You would have to code some redirect logic on the template for that page. The wordpress.org forums are the best bet for support on that. Sometimes I can help look into other plugins, but my schedule for the next month is too hectic.