Quantcast
Channel: vldPersonals Forum - Tutorials and Guides
Viewing all articles
Browse latest Browse all 16

Make DIFFERENT wink messages to SEND Vs REPLY and make as Radio button

$
0
0

Hi,

I think this information is newsworthy and I thank Radioact for helping me with this.

First, set up all the wink messages you want in the cp. Then, copy the ID's and subject lines somewhere for reference.

Next, open the member_profile.tpl page and insert this code in place of your ordinary winks, replacing my wink messages and ID's with your own:

<div id="send_wink_box" class="winkbox" style="display: none">

<label><input class="inputRadio radio" type="radio" id="quick_messages_13" name="quick_messages" value="13" />
G'day, You seem nice! Would you be interested in catching up for coffee sometime?!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_1" name="quick_messages" value="1" />
Hey there! I would really like to see your picture. Could you show me your face?</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_4" name="quick_messages" value="4" />
Hey there, Wanna Chat?! Your profile looks really cool. I'm hoping to chat soon!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_8" name="quick_messages" value="8" />
Hi there! You have a very interesting profile! Could I please learn more about you?</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_11" name="quick_messages" value="11" />
Hi! Do you know how to cook, or should I make a dinner reservation?!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_5" name="quick_messages" value="5" />
I'd like to be friends with you! Could you accept my request? Cheers mate...</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_2" name="quick_messages" value="2" />
Kiss For You - Muahz cutie! I like your picture!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_17" name="quick_messages" value="17" />
Okay, I'm here now. What's your next wish?!</input></label>
<BR><BR>                                               
<a href="#" onclick="send_wink({member_id},$('input[name=quick_messages]:checked').val());return false;">{lang:"core","submit"}</a>                   

<a href="#" onclick="showhide_field('send_wink_box');return false;" class="cancel"></a>                                            </div>


OK, next, open your account_messages_view.tpl and insert a 'winks reply' link there by adding this code, changing the wink reply messages and ID's below with your own. Note, the labels should display the exact subject line as whats in the message subject for consistency:

<align=right><div class="actions">
<ul class="actions"><li class="wink">
                                            <a href="#" title="{lang:"member","send_wink"}" onclick="showhide_field('send_wink_box');return false;">
<img src="/templates/dark_yellowish/media/winkreply.PNG" input class="imageOff" type="image"  onmouseover="this.className='imageon'" onmouseout="this.className='imageOff'"></a>


<div id="send_wink_box" class="winkbox" style="display: none">

<label><input class="inputRadio radio" type="radio" id="quick_messages_12" name="quick_messages" value="12" />
Reply: Dinner sounds great, let's get to know each other now!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_3" name="quick_messages" value="3" />
Reply: Hey there! Yes, lets be friends! I'll accept your request. Hope to hear back from you soon.</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_10" name="quick_messages" value="10" />
Reply: Yes! You seem like a lovely person. Sure, we can get to know each other!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_6" name="quick_messages" value="6" />
Reply: I loved the kiss! I'm interested in getting to know you. I'll email you soon!</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_7" name="quick_messages" value="7" />
Reply: I loved the kiss! I'm interested to know more. I hope to hear from you soon</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_15" name="quick_messages" value="15" />
Reply: I'm thrilled by your attention but I'm contacting someone just now. I'll tell you if anything changes</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_9" name="quick_messages" value="9" />
Reply: Thanks for your attention but I don't think we'd be suited to each other for now</input></label>
<BR><BR><label><input class="inputRadio radio" type="radio" id="quick_messages_14" name="quick_messages" value="14" />
Reply: I appreciate your interest but I'm only looking for someone local right now. Take care</input></label>
<BR><BR>                                               
<a href="#" onclick="send_wink({member_id},$('input[name=quick_messages]:checked').val());return false;">{lang:"core","submit"}</a>                   

<a href="#" onclick="showhide_field('send_wink_box');return false;" class="cancel"></a>                                            </div>
                                        </li></ul>


And there you should have it. A better communication system for free members smile


Viewing all articles
Browse latest Browse all 16

Trending Articles