no0b hotlink question

How do I code a hotlink to a page that is member specific so the link takes user's to their own page?  

 

for example, I want to create a link that explains to users where to go to edit profile information so the link can't be to, for example:

http://www.mysite.com/pedit.php?ID=10

I need it to take them to their own Profile Edit page.

 

I'm sure its a simple answer, just one I don't know and couldn't find a thread about.

 

TIA

yes, I searched before asking....
Quote · 26 May 2014

How experienced are you with writing code?  Are you going to need help with the code as well?  Is this a page you are creating with the page builder?  This is going to require knowing a bit of php.

The user is stored in a session cookie:

$_COOKIE['memberID']

Geeks, making the world a better place
Quote · 26 May 2014

my code level is honestly reflected in the thread title Foot in Mouth

 

all I'm looking to do is create an html hotlink for use in places like a user guide/tutorial and FAQ.

 

instead of something like "Fill out the "Questionnaire" in the Profile Information section (under the Profile tab)" I just want to be able to add a link that works correctly for each member

yes, I searched before asking....
Quote · 26 May 2014

You won't be able to do this with an HTML block, you will need a php block.  So the first step if you have not done so is to add the free tool to allow you to add php blocks.  Deano has two in his market page, one is Deano's Tools, which you should add for all the nice features.  The other is just Add PHP block; or something like that, that adds a php block to the page builders.  Once you have that in place and can add a php block to the page, we will then help you with the code that needs to go in to pull out the current logged in user and how to insert that into the link.  It really isn't that difficult at all.

Geeks, making the world a better place
Quote · 26 May 2014

Deano also has a paid module that will allow you to insert such things into an HTML page.  Look at http://www.boonex.com/m/page-block-keys, page block keys.  I think it will do what you want to do without having to know code.  Deano will know more about how to use the module.  I have been thinking of getting that module myself just to make it easier for me.

Geeks, making the world a better place
Quote · 26 May 2014

thx GG.  I have the tools to add a php block but this is probably more trouble than its worth.  what I want to do will be part of larger html blocks and I really dont feel like converting them to php.

 

its a little clunky from a user experience but i'll just chalk it up as another dolphin weakness lost against the greater good

 

a link woulda been better, but que sera sera

 

Homepage how to.jpg · 32.5K · 115 views
yes, I searched before asking....
Quote · 27 May 2014

You do not have to use a PHP block. In a few posts above, geek_girl provided a link to one of Deano's mod that will do just that with a HTML block. All you do is insert a key and it will translated to the profile edit URL.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 27 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.