marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/09/2009 10:12 AM |
|
Hi,
Is it possible that we can show the blogs and articles of the logged in User's Friends ?
I am using SmartSocial and because its free now a days many ppl are trying to use it and make most it.
If this can be done then i'll really help smartSocial community too.
And suggestions regarding this ? |
|
|
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/11/2009 7:09 AM |
|
| any suggestion regarding this ? |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/11/2009 9:02 AM |
|
| Not without modifications to news articles because the module doesn't know who the user's friends are. |
|
Scott McCulloch Site Administrator |
|
|
SimonTurner Registered Users
Posts:10

 |
| 4/12/2009 5:02 AM |
|
Hi Scott,
Just thought I´d give you a heads up... i might well be sponsering this one in the future. I´m guessing its quite complex, any idea how much dev time would be needed?
Cheers,
Simon |
|
WorkoutBOX - make your fitness simple |
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/14/2009 7:04 AM |
|
| It's not really complex, just the module will need to be aware of what smart-thinker is doing. |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/14/2009 7:31 AM |
|
Similiar extension is developed by Mark Hollas for Ultra Media Gallery module (bizmodules.net)
Below is the query that retireves recent photos(Utra media gallery module) uploaded by a friend (smartsocial module).
By seeing this query you can get an idea of how one can retirve records based on smart-thinker profile module.
Note: '[DNN:UserId]' is a token for that extension and it replaces with the logged in user ID. So you need to provide here the user's loggedin ID.
SELECT TOP 10 BizModules_UPG_Photo.CreatedByUser, Users.DisplayName, SmartThinker_UserProfileFriend.UserId AS PUserId, SmartThinker_UserProfileFriend.FriendUserId AS FriendsId, SmartThinker_UserProfileFriend.InviteStatusId, BizModules_UPG_Photo.ItemId, BizModules_UPG_Photo.CreatedDate, BizModules_UPG_Photo.AlbumId, BizModules_UPG_Photo.Src, BizModules_UPG_Photo.Title, BizModules_UPG_Photo.TnHeight, BizModules_UPG_Photo.TnWidth From BizModules_UPG_Photo JOIN SmartThinker_UserProfileFriend ON BizModules_UPG_Photo.CreatedByUser=SmartThinker_UserProfileFriend.FriendUserId JOIN Users ON Users.UserId=SmartThinker_UserProfileFriend.FriendUserId WHERE SmartThinker_UserProfileFriend.UserId=[DNN:UserId] AND InviteStatusId=1 ORDER BY CreatedDate DESC;
So your query can be like :
SELECT TOP 10 [Ventrian.CreatedByUser], Users.DisplayName, SmartThinker_UserProfileFriend.UserId AS PUserId, SmartThinker_UserProfileFriend.FriendUserId AS FriendsId, SmartThinker_UserProfileFriend.InviteStatusId, Ventrian.ItemId, [Ventrian.some more fields depending on ur logic] From [Ventrian table] JOIN SmartThinker_UserProfileFriend ON ventrian.CreatedByUser=SmartThinker_UserProfileFriend.FriendUserId JOIN Users ON Users.UserId=SmartThinker_UserProfileFriend.FriendUserId WHERE SmartThinker_UserProfileFriend.UserId=[DNN:UserId] AND InviteStatusId=1 ORDER BY CreatedDate DESC;
I am not sure about ur table structure so i have used 'ventrian' as an example. |
|
|
|
|
avi a Registered Users
 Ventrian Master Posts:765

 |
| 4/14/2009 7:45 AM |
|
Hi Marbab, Would you like to know what your friends wrote on your site only? or you wouldn't mind to know what they wrote on other sites as well, what they were commenting or rating, what are they favorite links, what sites they have joined, see what they share with their rss reader and probably more? Same way, would you like your friends' friends at other sites see they have joined your site, and what they wrote etc" and probably get to know your site/s that way? I'm not sure ( at all) what would take Scott more time to do. implementing your idea, or implementing that: http://code.google.com/intl/iw/apis/friendconnect/serverside_integration.html |
|
Avi A takeslides
Nukedesigners.com W3C valid skins for dotnetnuke |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/14/2009 7:56 AM |
|
I don't know much about google connect. Thouh google connect is really cool and i will definately like a module to enable google connect feature for me. But i think google connect should be implemented aat dnn level or at smart-thinker profile module's level.
As far as blogs from a friend is concerend, it can be implemented by a simple SQL query that retireves those blogs that are blogs of logged in users friend.
I think scott can tell us more on this.
But no doubt this google connect idea is supurb! |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/15/2009 7:03 AM |
|
Okay, thanks for the query, if you are interested in sponsoring it, contact me at support@ventrian.com You want this for latest articles? |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/19/2009 1:45 PM |
|
| An email is sent for the expect quote of the enhancement. |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/19/2009 4:58 PM |
|
| Thanks - I got the email and replied. I think I need more information on where you are going to use it, e.g. just latest articles? |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/19/2009 10:17 PM |
|
No email at my inbox regarding this :( yes, i am only interested in recent blogs from loggedin user's friends. |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/19/2009 10:35 PM |
|
I think you misunderstood my question. Do you only want the changes for "News Articles Latest". |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/22/2009 4:01 AM |
|
i have replied your email. Here is my actual requirement. I just simply want to show the user at his home page that these articles has been recently written by your friends (if there is any). Now its up to you. Either you make this modification is news article latest or create a new module or what you think better and easy. My only concern is recently written articles from friends based on count and paging support. If I am still unable to convey me requirements properly then plz ask question with an example. May be this'll help me to understand it. My one requirment is also for Private Messages. But i'll dicuss it later. Let us get finished with News Article first. |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/22/2009 4:10 AM |
|
| I have responded to your email, I would make the change to latest articles. |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/23/2009 6:41 AM |
|
unfortunately i didn't got your this email too :( I have checked the spam as well. Can u plz send it again. Thanks. |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/23/2009 6:51 AM |
|
I'll reply here. I said that the change could happen to "LATEST ARTICLES". It could be available as an additional filter and is at least a few hours work. |
|
Scott McCulloch Site Administrator |
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/23/2009 7:20 AM |
|
| As its not a very complicated enhancement. So can u plz share the estimates ? |
|
|
|
|
marbab Registered Users
 Ventrian Addict Posts:60

 |
| 4/23/2009 10:16 AM |
|
| I am new to this enhancement thing here at ventrian modules so unaware of the estimates. Thats y asking for it. |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18313


 |
| 4/24/2009 4:48 AM |
|
| I've responded to your email. |
|
Scott McCulloch Site Administrator |
|
|