Блок "Ссылки на профиль"
Вот такой блок с обратными ссылками можно сделать на странице профиля или в другом месте.
{* MEMBERS URL and GRAPHIC BADGE with CODE TEXT AREAS*}
<table cellpadding='0' cellspacing='0' class='portal_table' width='100%'>
<tr><td class='header'>Share your BEARNATION profile URL</td></tr>
<tr>
<td class='home_box'>
My BEARNATION.us URL:
<span style="font-size:14px; color:#CCCCCC;"> <a href='{$url->url_create('profile',$owner->user_info.user_username)}'>{$url->url_create('profile',$owner->user_info.user_username)}</a></span> <br />
Use the above on your other profiles around the web when presented with a text field.<br /><br />
<h3>HTML Text Link:</h3>
Post the html below in your webpage to make linked text<br />
<textarea style="font-size:11px" rows='3' cols='60'>
<a href="{$url->url_create("profile", $owner->user_info.user_username)} ">My BEARNATION</a>
</textarea>
<br />
<h3>HTML Graphic Link:</h3>
Preview...<br />
<div style="background-image:url(http://www.bearnation.us/images/linkback.png); background-repeat:no-repeat; background-position: center top; width: 240px; height:25px; padding:45px 5px 5px 5px; border:1px solid #333333; text-align:center"><a href='{$url->url_create('profile',$owner->user_info.user_username)}'>{$url->url_create('profile',$owner->user_info.user_username)}</a></div><br />
Post the html below in your webpage to display the above image link.<br />
<textarea style="font-size:11px" rows='6' cols='60'>
<div style="background-image:url(http://www.bearnation.us/images/linkback.png); background-repeat:no-repeat; background-position: center top; width: 240px; height:25px; padding:45px 5px 5px 5px; border:1px solid #333333; text-align:center"><a href='{$url->url_create('profile',$owner->user_info.user_username)}'>{$url->url_create('profile',$owner->user_info.user_username)}</a></div>
</textarea>
<br />
</tr>
</table>
ИЛИ
{* PLUGIN RELATED PROFILE MENU ITEMS *}
{hook_foreach name=profile_menu var=profile_menu_args}
{assign var='showmenu' value='1'}
<tr>
<td class='profile_menu1' nowrap='nowrap'>
<a href='{$profile_menu_args.file}'>
<img src='./images/icons/{$profile_menu_args.icon}' class='icon' border='0' />
{lang_sprintf id=$profile_menu_args.title 1=$profile_menu_args.title_1 2=$profile_menu_args.title_2}
</a>
</td>
</tr>
{/hook_foreach}
{* START SHARE THIS URL *}
<tr>
<td>
<div style=' margin-left:10px; font-size: 8pt;'>
Share this profile URL
</div>
</td></tr>
<tr><td>
<div style='font-size: 8pt;'><span style="background-color: #FAAFBE"><a href='{$url->url_create('profile',$owner->user_info.user_username)}'>{$url->url_create('profile',$owner->user_info.user_username)}</a></span></div>
</td></tr>
{* END SHARE THIS URL *}
</table>
{if $showmenu == 1}
<div style='height: 10px; font-size: 1pt;'> </div>
{/if}
{* DISPLAY IF PROFILE IS PRIVATE TO VIEWING USER *}