Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 06-17-2014, 06:55 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 23,401
IntoRain is on a distinguished road
Default

Hehe it's good you are getting used to it ^^ The table friend_requests might help, status = pending means unaccepted.

The table users keeps a list of friends as a string (each friend separated by a comma). The way profile does it is to create a Friendlist object (class_friendlist), with the user object. The Friendlist object then creates an array of integers (the friends IDs) by dividing the entire string (explode(",",string)). I'd look into class_userprofile.php (getfriends() function) and class_friendlist.php depending on what you want to do. mysidia->user->getfriends() seems to return the full string with friends as well, if you want to use Explode() on it yourself. After Explode() you get an array with all the ids, you can then create a Member object using those ids.
__________________


asp.net stole my soul.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 10:52 PM.

Currently Active Users: 1128 (0 members and 1128 guests)
Threads: 4,082, Posts: 32,047, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636