PDA

View Full Version : How Do I edit a Variable?


The-Ensemble
08-22-2006, 05:44 PM
Ok, I'm coding my profile/member info template and I want to use the Last Post thingy.
The one I found is this:
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a>
And it gives the thread title which is what i want to change.
I want to change it so its

<a href="$userinfo[lastposturl]">Last Post</a>

So clicking last post will take you to their last post.

And I need to edit the variable to change it from title to the words Last Post.

How would I do this?

PS: Sorry If i confused you, I've confused myself:)

peterska2
08-22-2006, 05:50 PM
<a href="$userinfo[lastposturl]">$vbphrase[last_post]</a>Should work perfectly.

The-Ensemble
08-22-2006, 05:56 PM
Thanks Peterska2,
Ok tried that and it just redirects me to profile again like it did before when i just wrote
<a href="$userinfo[lastposturl]">lastpost</a>

bump

The-Ensemble
08-25-2006, 12:27 PM
bump