free porn videos porno izle virgin porn videos anal porn videos anal porn videos anal porn videos sikis
JomSocial
porno izle mom sex sex porno izle online porn porno izle
JomSocial
The Right way to fetch media in JomSocial - Developer Blog
Friday, 07 January 2011 15:07
(3 votes)

While doing some R & D work while working on J!MailAlert plugins, we realized that majority of extensions were not using the right way..This resulted in broken image links especially when using Amazon S3. So here's some easy to use code snippets to fetch JomSocial Photo thumbnails, Video thumbnails, Group Avatar thumbnails etc..This is missing in the JomSocial Docs.. hence this blog..

Hope you find them useful.

/*TO GET THUMBNAILS FOR JOMSOCIAL PHOTOS*/
//first get photo ids from local database
$query="SELECT a.id, a.thumbnail FROM jos_community_photos AS a”;
$db->setQuery($query);
$row = $db->loadObjectList();
//JS API - this is used or getting thumbnails for JS photos
CFactory::load( 'models' , 'photos' );
$photo =& JTable::getInstance( 'Photo' , 'CTable' );
if(!empty($row))
{
foreach($row as $data)
{
$photo->load( $data->id );
$thumbnail = $photo->getThumbURI();
$data->thumbnail=$thumbnail;
}
}
//now $row will be having thumnails from local OR amazon s3 whatever applicable
/*TO GET THUMBNAILS FOR JOMSOCIAL VIDEOES*/
//first get video ids from local database
$query = "SELECT v.id,v.thumb FROM #__community_videos as v”;
$db->setQuery($query);
$video_result = $db->loadObjectList();
//JS API - this is used for getting thumbnails for JS videos
CFactory::load('models' , 'videos');
$video =& JTable::getInstance( 'Video' , 'CTable' );
if(!empty($video_result))
{
foreach($video_result as $data)
{
if(($video->load($data->id)) && ($data->thumb)){
$data->thumb=$video->getThumbnail();
}
else{
$data->thumb=JURI::root().'components'.DS.'com_community'.DS.'assets'.DS.'video_thumb.png';
}
}
}
//now $video_result will be having video thumnails from local OR amazon s3 whatever applicable
/*TO GET GROUP-AVATAR FOR JOMSOCIAL GROUPS*/
//suppose you want to get a group avatar thumbnail for a group having groupid=3
//then use following code
$gid=3;
CFactory::load( 'models' , 'groups' );
$group=& JTable::getInstance( 'Group' , 'CTable' );
$group->load( $gid);
$avatar_img_source=$group->getThumbAvatar('avatar');
//now $avatar_img_source will be having the image source for group avatar thumbnail
/*TO GET USER-AVATAR FOR JOMSOCIAL USER*/
//suppose you want to get a user avatar thumbnail for a user having userid=63
//then use following code
$userid=63;
$user=&CFactory::getUser($userid);
$uimage = $user->getThumbAvatar();
//now $uimage will be having the image source for user avatar thumbnail
Add a comment
 
Thinking of Migrating from Ning ?
Friday, 25 June 2010 17:24
(1 vote)

http://tekdi.net/images/stories/blog/jtoning.png

In the past few months, there have been some major announcements that have rocked the world of Social Networks. NING's announcement of phasing out free Social Networks have got many network admins worrying about what to do next. With the only way out being to pay to upgrade to NING's premium plans , admins have no other option than migrating to either a different system or a platform of their own.

In this blog we show you how you can use JomSocial to create a Ning Alternative & pack it with the best features for Social networks.

Read the complete Blog over at our parent company's site here.

Add a comment
 
JomSocial 1.8 is here. What does this mean for you & me
Tuesday, 22 June 2010 17:27
(3 votes)

The release of the latest version of JomSocial,V.1.8 codenamed "Wazi" (Swahili for clear, openness and clarity), opens up a whole new vista of possibilities for the average JomSocial based Social Network. I bet you have already have heard about what features have been packed into this new release.There's the amazing new Social Events Management system, then a bettered activity stream & much enhanced media handling, Ability to edit walls to name a few features. What we shall also be looking at is how this affects you & how it affects our extensions.

From my perspective , the announcement of JomSocial going GPL with this release holds much more weight than all its new features combined. On one front it proves that quality commercially supported extensions can be built & sustained while being licensed under GPL. Secondly, the best part of this is that you can now install JomSocial on any number of sites, though you may only request support for one domain. So now you can get all those cash strapped projects up & running !

 

Add a comment
Read more... [JomSocial 1.8 is here. What does this mean for you & me]
 
Jomsocial 1.6 'Brillo' is here . Whats under the hood & what does it mean for our products ?
Saturday, 23 January 2010 07:10
(2 votes)
As you might already know, the folks over at 'Azrul' have just released the latest version of JomSocial, V1.6 code named 'Brillo'. .
Whats with the code name Azrul ? Hope the cleaning guys don't sue you for using it !
Our development team has been keeping a close eye on the development & has been trying out all the Beta releases that were available & we definitely have been impressed with everything that we saw :)
Edit : Reply by JomSocial to What does Brillo mean , @techjoomla It's a spanish word for luster, shine and brilliance  http://bit.ly/bMVfo1

What does it mean for users of Techjoomla Products ?

Q : " I use a lot of Techjoomla Products. Do i need to upgrade for them to work with the new JomSocial ? "
A : The happy answer is no ! We have tested all our products & they work just fine with the new versions !

Q : "What does this mean for future releases of Techjoomla products ?"
A : Quite a lot ! The improved JomSocial API introduces a lot of new possibilities which will add quite a lot more to our extensions. Read on to know the possibilities.

Read on to know what the release of JomSocial 1.6 brings for developers & users !

 

Add a comment
Read more... [Jomsocial 1.6 'Brillo' is here . Whats under the hood & what does it mean for our products ?]
 


Newsletter Signup

Jump on to our Newsletter & stay updated on News on our Extensions, New Releases & Offers !