SELECT COUNT(1) FROM `sls_social_apps` AS `a` WHERE `a`.`state` = '1' AND `a`.`type` = 'apps' AND `a`.`group` = 'user' OR `a`.`default` = '1'
SELECT `a`.* FROM `sls_social_apps` AS `a` WHERE `a`.`state` = '1' AND `a`.`type` = 'apps' AND `a`.`group` = 'user' OR `a`.`default` = '1'
SELECT * FROM `sls_social_access_rules` WHERE `group` = 'user' AND `state` = '1'
SELECT `params` FROM `sls_social_access` WHERE `uid` = NULL AND `type` = 'profiles'
SELECT * FROM `sls_social_themes` WHERE `element` = 'wireframe'
SELECT `id`,`name`,`rules`,`parent_id`
FROM `sls_assets`
WHERE `name` IN ('root.1','com_actionlogs','com_admin','com_admintools','com_ajax','com_akeeba','com_associations','com_banners','com_cache','com_categories','com_checkin','com_config','com_contact','com_content','com_contenthistory','com_cpanel','com_creativecontactform','com_easyblog','com_easydiscuss','com_easysocial','com_fields','com_finder','com_gantry','com_gsd','com_installer','com_joomlaupdate','com_languages','com_login','com_mailto','com_media','com_menus','com_messages','com_modules','com_newsfeeds','com_plugins','com_postinstall','com_privacy','com_redirect','com_route66','com_search','com_tags','com_templates','com_users','com_weblinks','com_wrapper')
SELECT a.* , l.id as loc_id, l.uid as loc_uid, l.type as loc_type, l.user_id as loc_user_id, l.created as loc_created, l.short_address as loc_short_address ,l.address as loc_address, l.longitude as loc_longitude, l.latitude as loc_latitude, l.params as loc_params ,md.id as md_id, md.namespace as md_namespace,md.namespace_uid as md_namespace_uid, md.icon as md_icon, md.verb as md_verb, md.subject as md_subject, md.custom as md_custom ,md.text as md_text, md.user_id as md_user_id, md.created as md_created ,0 as bookmarked ,FLOOR( ( UNIX_TIMESTAMP( now() ) - UNIX_TIMESTAMP( a.`modified`) ) / 60 ) AS `min` ,FLOOR( ( UNIX_TIMESTAMP( now() ) - UNIX_TIMESTAMP( a.`modified`) ) / 60 / 60 ) AS `hour` ,FLOOR( ( UNIX_TIMESTAMP( now() ) - UNIX_TIMESTAMP( a.`modified`) ) / 60 / 60 / 24 ) AS `day` FROM `sls_social_stream` AS a LEFT JOIN `sls_social_locations` AS l ON a.`location_id` = l.`id` LEFT JOIN `sls_social_moods` AS md ON a.`mood_id` = md.`id` WHERE a.`state` = 1 AND ( (a.`cluster_id`= 0) OR (a.`cluster_id` > 0 and a.`cluster_access` = 1) ) AND a.`id`='3939' ORDER BY a.`modified` DESC
SELECT * FROM `sls_social_stream_item` as a WHERE `uid` IN ( 3939) AND `context_type`='links'
SELECT b.`user_id`, b.`group_id` AS `id`, a.`title` FROM `sls_usergroups` AS a INNER JOIN `sls_user_usergroup_map` AS b ON a.`id` = b.`group_id` WHERE b.`user_id` IN (1769,0)
SELECT `a`.*,`b`.`small`,`b`.`medium`,`b`.`large`,`b`.`square`,`b`.`avatar_id`,`b`.`photo_id`,`b`.`storage` AS `avatarStorage`,`d`.`profile_id`,`e`.`state`,`e`.`type`,`e`.`alias`,`e`.`completed_fields`,`e`.`permalink`,`f`.`id` AS `cover_id`,`f`.`uid` AS `cover_uid`,`f`.`type` AS `cover_type`,`f`.`photo_id` AS `cover_photo_id`,`f`.`cover_id` AS `cover_cover_id`,`f`.`x` AS `cover_x`,`f`.`y` AS `cover_y`,`f`.`modified` AS `cover_modified`,SUM(`g`.`points`) AS `points` FROM `sls_users` AS `a` LEFT JOIN `sls_social_avatars` AS `b` ON `b`.`uid` = `a`.`id` AND `b`.`type` = 'user' LEFT JOIN `sls_social_profiles_maps` AS `d` ON `d`.`user_id` = `a`.`id` LEFT JOIN `sls_social_users` AS `e` ON `e`.`user_id` = `a`.`id` LEFT JOIN `sls_social_covers` AS `f` ON `f`.`uid` = `a`.`id` AND `f`.`type` = 'user' LEFT JOIN `sls_social_points_history` AS `g` ON `g`.`user_id` = `a`.`id` WHERE `a`.`id` = '1769' GROUP BY `a`.`id`
SELECT *
FROM sls_social_default_avatars
WHERE `id` = '1'
SELECT COUNT(1) AS `count` FROM `sls_social_users` WHERE `user_id` = '1769'
SELECT * FROM `sls_social_stream_tags` WHERE `stream_id` IN('3939') ORDER BY `stream_id`, `offset` DESC
SELECT a.* FROM `sls_social_likes` AS a INNER JOIN `sls_users` AS b ON a.`created_by` = b.`id` WHERE a.stream_id IN (3939) AND b.`block` = '0'
select `uid`, `element`, `user_id` from `sls_social_shares` where `uid` IN (3939) and `element` = 'stream.user'
select count(1) as `cnt`, x.`uid`, x.`element`, x.`stream_id` from `sls_social_comments` as x where stream_id IN (3939) group by x.`element`, x.`uid`, x.`stream_id`
select x.* from `sls_social_comments` as x where x.stream_id IN (3939)
select a.`id`, a.`value` as `default`, a.`options`, b.`user_id`, b.`uid`, b.`type`, b.`value`,b.`id` as `pid` from `sls_social_privacy` as a inner join `sls_social_privacy_items` as b on a.`id` = b.`privacy_id` where b.uid IN (3939) and b.type = 'links'
SELECT * FROM `sls_menu` WHERE `published` = '1' AND `link` LIKE 'index.php?option=com_easysocial%'
SELECT * FROM `sls_social_stream_assets` WHERE `stream_id` = '3939' AND `type` = 'links'
SELECT *
FROM sls_social_links
WHERE `hash` = '92705f31d73b73396b260e4cccbebe7d'
SELECT * FROM `sls_social_apps`
SELECT template FROM `sls_template_styles` AS s LEFT JOIN `sls_extensions` AS e ON e.type = `template` AND e.element=s.template AND e.client_id=s.client_id WHERE s.client_id = '0' AND home = 1
SELECT *
FROM sls_social_photos
WHERE `id` = '747'
SELECT * FROM `sls_social_photos_meta` WHERE `photo_id` = '747' AND `group` = 'path'
SELECT COUNT(1) FROM `sls_session` WHERE `userid`='1769'
SELECT COUNT(1) FROM `sls_social_apps` AS `a` LEFT JOIN `sls_social_apps_map` AS `b` ON `b`.`app_id` = `a`.`id` AND `b`.`uid` = '1769' AND `b`.`type` = 'user' INNER JOIN `sls_social_apps_views` AS `c` ON `c`.`app_id` = `a`.`id` AND `c`.`view` = 'profile' WHERE `a`.`state` = '1' AND ( `a`.`default` = '1' OR `b`.`id` IS NOT NULL )
SELECT `a`.* FROM `sls_social_apps` AS `a` LEFT JOIN `sls_social_apps_map` AS `b` ON `b`.`app_id` = `a`.`id` AND `b`.`uid` = '1769' AND `b`.`type` = 'user' INNER JOIN `sls_social_apps_views` AS `c` ON `c`.`app_id` = `a`.`id` AND `c`.`view` = 'profile' WHERE `a`.`state` = '1' AND ( `a`.`default` = '1' OR `b`.`id` IS NOT NULL )
SELECT * FROM `sls_social_apps_views`
select a.`id`, a.`type`, a.`rule`, a.`options`, b.`value` from `sls_social_privacy` as a inner join `sls_social_privacy_map` as b on a.`id` = b.`privacy_id` where b.`uid` = '1' and b.`utype` = 'profiles' and a.`state` = '1' order by a.`type`
select a.`type`, a.`rule`, b.`value`, a.`id`, b.`id` as `mapid` from `sls_social_privacy` as a inner join `sls_social_privacy_map` as b on a.`id` = b.`privacy_id` where b.`uid` = '1769' and b.`utype` = 'user' and a.`state` = '1' order by a.`type`
SELECT `id` FROM `sls_social_subscriptions` WHERE `uid` = '1769' AND `type` = 'user.user' AND `user_id` = '0'
SELECT *
FROM sls_social_profiles
WHERE `id` = '1'
SELECT `a`.*,`b`.`element` AS `element`,`d`.`uid` AS `profile_id` FROM `sls_social_fields` AS `a` LEFT JOIN `sls_social_apps` AS `b` ON `b`.`id` = `a`.`app_id` LEFT JOIN `sls_social_fields_steps` AS `d` ON `a`.`step_id` = `d`.`id` WHERE ( `a`.`core` = '1' OR `a`.`state` = '1' ) AND `d`.`uid` = '1' AND `d`.`type` = 'profiles' ORDER BY `d`.`sequence` ASC,`a`.`ordering` ASC
SELECT * FROM `sls_social_fields_options` WHERE `parent_id` IN ('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '165', '167', '14', '15', '16', '17', '18', '19') ORDER BY `parent_id` ASC,`key` ASC,`ordering` ASC