What is vldPersonals?

vldPersonals is a very easy to use dating/social software. It allows you to create a fully functioning & modern dating website in a matter of minutes. If You think it's too complicated - check vldPersonals!
Know more about how You can become a dating website owner

What is vldCrowd?

vldCrowd.com is the biggest unofficial community of vldPersonals owners. It is a place to share ideas and thoughts about Your dating website. It is a place to answer questions and receive answers.
Do You own a vldPersonals license? Don't hesitate and join!

Connect Today

Community members help each other to take their dating websites to the next level. Can You make your vldPersonals website better? Join and find out...

Connect With More Than 500 Dating Website Owners! Sign Up Today

Animated quick messages

06/12/2009 06:51 AM
1083 1 14
Have you received quick message today? ;)
 
Although we don't need quick messages on this site but as they say "diagram worths many words".
 
Spend 15 minutes and your users appreciate your efforts.
 
1. Find two animated icons: one for wink and one for kiss. You may take mine though I'm not sure about copyrights. I don't remember were they free or paid.
Upload icons to your website. Let's say '/media/quick_gifs/' folder.
 
2. Open CP->Settings->Quick messages and edit them accordingly:
HTML

<img src="http://www.yoursite.com/media/quick_gifs/kiss.gif" alt="Kiss" />
Muahz cutie!
 

and
 
HTML

<img src="http://www.yoursite.com/media/quick_gifs/wink.gif" alt="Wink" />
Wanna chat sometime?
 

Almost done.
If we send quick message now we get '<img src="http://www.yoursite.com/media/quick_gifs/wink.gif" alt="Wink" />' as is. That's happen because all messages cleaned up before displaying for security reasons.
But we can trust quick messages as we trust News made in CP and enable html for them as well. Let's do it in the next step.
 
3. Open /includes/lib/lib.account_messages.php and find function show_message
 
Around line 1170 (commercial version) code:
PHP

$body = nl2br(htmlentities2utf8($obj['body']));
 

replace with:
PHP

$body = $quickmsg ? nl2br($obj['body']) : nl2br(htmlentities2utf8($obj['body']));
 

Now we trust quick messages yet clean up regular messages.
 
Voila!
 
Want to play with it more on this site? Use u: demo, p: demodemo as sender/recipient account.
 
P.S.: You can give your users a lot of fun during St.Valentine's day, Christmas, Halloween creating beautiful quick messages and giving your members one click link.

Comments

arlidar

  • Posted on 07/07/2010 01:17 AM
Hello. I see the code as to hide it?
http://arlidar.webtm.ru/777.jpg

gugu

  • Posted on 07/30/2009 02:50 PM
I try now a few times but can´t get it work so I think it is better ramil take a look at it :)

godyn

  • Posted on 07/30/2009 05:23 AM
Some idea's: it would be great if that small icon is visible in the input selection, so people can see it. Would that be possible?

radioact

  • Posted on 07/18/2009 08:00 AM
No problem, Gu :)

gugu

  • Posted on 07/18/2009 07:56 AM
radioact and maxpower i copy this solution to my site webbsupport.eu I hope it is okey ...
it´s linked here and I wrote yours name on it ...

radioact

  • Posted on 07/18/2009 05:03 AM
Hey, great tips, Julian

maxpower

  • Posted on 07/18/2009 04:17 AM
Hi Radioact, I did this mod a much easier way:
 
Enter this in your browser address bar from this website: http://yoursmiles.org/tsmile/kiss/t4836.gif
 
Next, save this image on your desktop just as it is. It will stay animated as a gif.
 
Next, go to control panel, settings, smilies, and create a new smiley. Upload the gif icon to your new smiley.
 
Next, type a name and shortcut (preferably the same to keep it simple) but use a word not commonly used, like lipskiss so it doesn't occur unintentionally
 
Next, create a new quick message and put the shortcut word lipskiss where-ever you want in the message. Done
 
Same can be done for any other gif emoticons you find on that site
 
If you REALLY want to spice up your message, open your account_messages_view.tpl file and insert this in the bottom, just above the footer code:
 
<!-- IF message_subject == "EXACT QUICK MESSAGE SUBJECT HERE" -->
<embed height="30" src="http://www.sound-effect.com/sounds1/human/kiss_up.wav" width="344" AUTOLOAD="TRUE" AUTOSTART="true" VOLUME="100" HIDDEN="true"></embed>
<!-- ENDIF -->
 
Then you will hear a cool 'kissing' audio when the message is opened to complement the animation;)

radioact

  • Posted on 06/24/2009 10:57 AM
Yes, html capability in all sent by admins messages. Even regular messages of admins.

Log in to leave a comment