Arrow

Using [variable]username[/variable] within a Link | 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
Using [variable]username[/variable] within a Link
September 4, 2012
2:15 pm
TAD Industrial
Guest

I would like to have a link displayed on a page that will allow a user to return to his/her redirect page. I tried this:

User Page

This doesn't seem to work. The link directs you to "http://www.mysite.com/[variable]username[/variable]" instead of the user's page. How can I make this link add the username to the URL?

I know basic HTML. Please help.

September 4, 2012
2:20 pm
Peter
Admin
Forum Posts: 841
Offline

Hi,

That logic won't work for a manually created link. However, it will work as an automatic redirect out of the box. You can use something like the rul_register() function as documented here under the header 'Custom "My Portal" link':

http://wordpress.org/extend/pl.....her_notes/

September 17, 2012
2:04 pm
Sandstone
Guest

I'm looking to do the same thing but am kind of lost as to how to make this happen even after looking at the 'Custom "My Portal" link' info. It's just above my level of expertise.

Anyone have any "how to" help for this?

Thanks!

September 23, 2012
9:27 am
Peka
Guest

I want to make the same with a special button in widget like "My persona page" Please help us !
If that working, i make a donation for the plugin.
Sorry for my Swiss-French English.

September 23, 2012
7:16 pm
Peter
Admin
Forum Posts: 841
Offline

Hi, please see the 'Custom "My Portal" link' part of the documentation here, which describes how you would create such a button:

http://wordpress.org/extend/pl.....her_notes/

October 7, 2012
1:02 pm
Simon
Guest

PLease please please
Can someone explain clearly how to create a buttin which links to the page which the user has logged in to.

I have all redirects working perfectly with this great plugin but have no clue how to create the button for navigation to personal page AFTER login.

Peter, I know you say to look at "my portal link" but that makes no sense tom me, im sorry but can someone make this very clear.

Many thanks for any help

Simon

October 8, 2012
11:14 am
Peter
Admin
Forum Posts: 841
Offline

Hi,

I've recorded a video that explains this in a bit more detail:

October 9, 2012
8:47 am
Simon
Guest

Thank you very much Peter, this helped a lot.
I have it working now ,, I have also removed the section which displays "register" if the user is not logged in so the link only appears once a person has logged in. :)

only think is,lol I would rather have this function related to one of my theme buttons, any ideas? or

How can I style the meta widget link?

Thanks again

October 9, 2012
8:50 am
Peter
Admin
Forum Posts: 841
Offline

Hi Simon,

Sorry, I can't help with any further styling of theme-related issues. However, you can probably get some good support for that on the wordpress.org forums or from the theme author(s).

Good luck!

October 10, 2012
1:14 am
Simon
Guest
10

No problem.
Thanks for your help with the link.

Smile