Likes mod

Started by velorooms, January 22, 2013, 11:56:34 AM

« Gallery | Advanced Topic Prefix & SMFPacks SEO Pro Mod 2.0.3? »

0 Members and 1 Guest are viewing this topic.

Hey Nibogo.

Looking at your likes pro mod, I know you have plans in the future to try and integrate importing of thank-you's will which be great (and the only reason i havnt switched to your likes mod, there would be a forum revolution if htey lost their thankyous.)

Second question, i use the awards mod to award medals based on thank you's, fairly simple code in displaytemplate

// Start of AutoAward
  if (!isset($context['disabled_fields']['thank_you_recieved'])){
$imagesURL = $settings['default_images_url'] . '/medals';
$medalscore = array (10,20,30,40,50,100,150,200,300,400,600,800,1000,1300,1600,2000);

$mc=1;
foreach($medalscore as $ms){
if($message['member']['posts']>=$ms)
echo '<img src="', $imagesURL, '/medal', $mc++, '.png" alt="" />';
} // end of ms foreach
} //end isset disabled fields if
  // End of AutoAward.


Is the likes mod stored in an easy database format that 'posts' could be turned into the likes reference?
  • Like
    Dislike
    Love
    HaHa
    Angry
    Sad
    Party
velorooms.com
Purchased:
Links Directory Pro
Activity Stream Pro



Share via facebook Share via linkedin Share via pinterest Share via reddit Share via tumblr Share via twitter Share via whatsapp