<a href="', $scripturl, '?action=profile;u=;sa=statPanel">sai1</a>
with this u can see your stats
___________________________________________
my question is wot is the code to display the avatar
and my next question is wot should i write in front of sa= to link to
personal message and signature
Well......
You have to run several queries to grab all these stuff
URL TO PM is ?action=pm and signature is stored in the database, so do avatar AFIAK.
if (!empty($context['user']['avatar']))
echo '
<td class="windowbg" valign="middle">', $context['user']['avatar']['image'], '</td>';
to display avatar is this correct
____________________________________________
<a href="', $scripturl, '?action=pm">', $txt['unread_since_visit'], '</a>
and this to display pm
PM has no relation between Unread Replies Since last visit.
Why would you be wanting that?
And yes, I forgot that this is already stored in $user_info array.
<a href="', $scripturl, '?action=pm;u=;sa=statPanel">my pm[/url]
is this code correct now
sorry for dumb questions :idiot2:
Yeah it should.
But why are you closing it with [/url]? It should be </a>
EDIT: But what you want?
<a href="', $user_info array, '?action=signature;u=;sa=statPanel">my signature </a>
is this correct
______________________________
I am closing it with a only but smf turns it to url :smiley6600:
Ahh Nope.
1 Is no ?action=signature
2 The URL will go incorrect as there is no need to have $user_info array in it.
<a href="', $scripturl, '?action=signature;u=;sa=statPanel">my signatue </a
you are helping me so much thank you :D
<a href="', $scripturl, '?action=signature;u=;sa=statPanel">my signatue </a
with this code when I click on the signature I go to the board index
wot is wrong with it
The code render wrongly because you dont use the code tags when you post code in a topic.
If you go back to post 3 and repost the code but this time use the codetags it would have been fixed right there.
Please go back to SMF and read their "how to" and learn the basic functions, that way we will be even greater with our support for tinyportal ;)