well, that is the question...
I'd like to make that text link an hyperlink using as anchor text the user name in profile page
check it here: http://www.videoannuncisexy.com/spacash
well, that is the question...
I'd like to make that text link an hyperlink using as anchor text the user name in profile page
check it here: http://www.videoannuncisexy.com/spacash
prova cosi
in templates/user.tpl
line 146 trova
sostituisci con{if $user_info[0].website ne ""}
<TR>
<TD>Website:</TD>
<TD>{$user_info[0].website}</TD>
</TR>
{/if}
dovrebbe funzionare{if $user_info[0].website ne ""}
<TR>
<TD>Website:</TD>
<TD>{$user_info[0].username}</TD>
</TR>
{/if}
funzia, grazie :wink:
I tried to add Visit site of "username" in this code of view_video.tpl
Code:<DIV style="FONT-WEIGHT: bold; FONT-SIZE: 12px; PADDING-BOTTOM: 10px; TEXT-ALIGN: center"> {if $smarty.session.UID eq ""} <A href="{$baseurl}/view_video.php?id={$smarty.request.id}&page={$smarty.request.page}&viewtype={$smarty.request.viewtype}&category={$smarty.request.category}&action=comment"> {else} <A href="#postcomment"> {/if} Post Comments</A>// Add to Favorites // Flag This Video {if $user_info[0].website ne ""} Visita il sito di:{$user_info[0].username} {/if} </DIV>
but it doesn't work... :cry:
thanks, I'll try it asap
Paolo
correct code for user.tpl is:
{if $user_info.website ne ""}
<TR>
<TD>Website:</TD>
<TD>{$user_info.username}</TD>
</TR>
{/if}
i don't understant where should I copy the my_profile.tpl code
thanks
oh, OK
I was trying to get a link to user website in profile page, my code makes it working, maybe your code is for previous versions
thanks
Bookmarks