#11
|
||||
|
||||
Quote:
$req = $mysidia->db->select("friend_requests", array(), "touser='{$mysidia->user->username}' and status='pending'")->rowCount(); $this->assign("req",$req); I think, untested though! The rest I can help out with whatever you need later tomorrow. I managed to do the message one on my test site the way I showed you, but not javascript, ending up like this:
__________________
asp.net stole my soul. |
#12
|
||||
|
||||
@IntoRain - Nice~ I figured it could be done with some simple css, too, but my mind's on fancy things.
Right now I'm deep in thought over how/where I'd like a friend notification to display. I might just make it a surprise modal pop up (not a new window sort of popup, different sort entirely) whenever a new page loaded, sort of like how I want surprise promo codes to pop up. I might even include a promo code with the friend request... in an achievement sort of way? Actually that could be very cool, the more I think on it. Having one friend will reward you with a promo code, then again at five friends. I don't think I want too much more than that, because I want people having real friends, not just friends for promo codes. Just enough to encourage some social activity! In addition, if you are a new person's first, second or third friend, I think you should also earn a promo code. Rare creatures based on friendship~ I like the sound of this. ovo Hey, HoF, is there a referral reward system in place or in the works? Last edited by Kyttias; 06-18-2014 at 12:31 PM. |
#13
|
||||
|
||||
Sounds like a cool system, Kyttias, would for sure encourage people to add friends and help out newbies as well :)
__________________
asp.net stole my soul. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smarty Tips: Things you can do with Templates | Kyttias | Tutorials and Tips | 5 | 04-03-2015 10:53 AM |
Assigning array to smarty variables | IntoRain | Questions and Supports | 3 | 06-03-2014 02:06 PM |
Smarty errors and WAMPP | Kesstryl | Questions and Supports | 15 | 01-29-2014 09:07 PM |
Problem: smarty class 1.3.4 | draugluin | Questions and Supports | 8 | 11-15-2013 02:29 AM |
What's New? |
What's Hot? |
What's Popular? |