Log in

View Full Version : How to complete a link


lasto
01-20-2008, 12:22 PM
I have a link that each member has to go to a profile page about them.Not profile page which is built into vbull but something different.

All users names are stored on one page and u select your name from the list.
What i want is to add a link in postbit so upon clicking the link it will take u to the users profile.

Now here is where im stuck

The username of the person who post/thread it is is added to the link

so for example :

profile.php?a=lasto

now the link is easy but the profile.php?a=(username) = must only equal the persons name in the postbit.

How do i add there username to the end of profile.php?a=

PaulSonny
01-20-2008, 12:26 PM
try profile.php?a=[$username]

let me know if it works.

thanks, paul

lasto
01-20-2008, 12:36 PM
yeah it works thanks m8 but in postbit if i put the url in it comes up as just standard text and not as a clickable link

Sorted all working now thanks for your help

Also i used this code :

profile.php?a=$post[musername]

PaulSonny
01-20-2008, 12:40 PM
can you show me what you in postbit, the code?

should be something like <a href="profile.php?a=[$username]">Your Text</a>

Thanks, Paul.

lasto
01-20-2008, 01:36 PM
it working fine now m8 cheers once again

PaulSonny
01-20-2008, 01:55 PM
ok no probs, thanks now :D

my first time helping someone...paul.