Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Qartvela™

Вставка ника в ShoutBox

Recommended Posts

не могу найти какой код отвечает за клик на ник в shoutbox

 

думаю можно реализовать вставка ника в ShoutBox с помощью этого кода

<span class="author vcard">
<script type="text/javascript">
function insertnick(ra)
{ var sad = document.getElementById('EDITOR_ID');
sad.value += '[b]' + ra + '[/b]\n';
}
</script>
<a class="url fn" href='javascript:insertnick("{$post['author']['members_display_name']}");' title='Insert Nick'>{$post['author']['members_display_name']}</a> 
{parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}</span>

Share this post


Link to post
Share on other sites

skin_shoutbox --> shout_row

 

		<if test="$d['member_id'] && $this->registry->getClass('shoutboxLibrary')->moderator"><a href='#member{$d['member_id']}' onclick='return ipshoutbox.shoutAjax.modOptsLoadMember({$d['member_id']})' title='{$this->lang->words['mmenu_load_mod_opts']}'>{parse replacement="user_edit_icon"}</a> </if>
	<if test="$d['member_id']">
		<a href='{parse url="showuser={$d['member_id']}" template="showuser" seotitle="{$d['members_seo_name']}" base="public"}' title='{$d['members_display_name']}'>
{parse template="user_popup" group="global" params="$post['author']['member_id'], $post['author']['members_seo_name']"}</span>{$d['_members_display_name']}
</a>{parse template="user_popup" group="global" params="$d['s_mid'], $d['members_seo_name']"}
	<else />
		<abbr title="{$d['members_display_name']}">{$d['_members_display_name']}</abbr>
	</if>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...