1

Topic: How to add SEND A WINK in search results?

Is there any way to add extra line with SEND A WINK not in member's profile but in SEARCH result (so that there i no need to go to the profile) and this way more people can receive impressed interests (winks)?

2

Re: How to add SEND A WINK in search results?

Try something like this:

<!-- IF loggedin_can_send_quick_messages -->
                                        <li class="wink"><a href="{top.virtual_path}index.php?m=account_messages&p=quickmessage&id=1&member={member_id}" title="Send wink">Send wink</a></li>
<!-- ENDIF -->
www.vldMagic.com - first choice customizations help desk
www.vldCrowd.com/radioact - my profile at vldCrowd

3

Re: How to add SEND A WINK in search results?

Yes you can
copy and paste your send a wink code from your member_profile.tpl to your search_results.tpl
however,
in the line of code you placed in the search_results.tpl
replace this part {virtual_path} with this part---->{top.virtual_path}

place the new line of code below the profile code  <li class="profile">
just as Radioact said above:

 <li class="wink"><a href="{top.virtual_path}index.php?m=account_messages&p=quickmessage&id=1&member={member_id}" title="Send wink">Send wink</a></li>

Last edited by seeme101 (2008-05-19 00:41:16)

Not only am I a Staff member,  I'm also a Client

4

Re: How to add SEND A WINK in search results?

You two are just too clever. I'll keep this for after the update... Now, AtPetat, remember to subscribe to this topic. wink - I'm going to want to add the "Add to favourites" there as well, do I do this in a similar way?

Thanks Radioact and seeme101