$ENTITY_NAME$
Permalink:
This is permanent url of this group. It will never change. Copy and paste this link into an email to share this group.
Use this url to link to this group from your blog or website.
Group created by
$PROFILE_NAME$
Age: $USER_AGE$
GupShup.html.dynamic.groupOwnerDetails = {};
GupShup.html.dynamic.groupOwnerDetails.vars = {};
GupShup.html.dynamic.groupOwnerDetails.vars.entityDetails = {};
GupShup.html.dynamic.groupOwnerDetails.vars.webarooUserDetails = {};
GupShup.html.dynamic.groupOwnerDetails.vars.loggedInUserId = -1;
GupShup.html.dynamic.groupOwnerDetails.vars.groupOwnerUserId = -1;
GupShup.html.dynamic.groupOwnerDetails.methods = {};
GupShup.html.dynamic.groupOwnerDetails.methods = {
updateForEntityDetails : function (htmlContent)
{
var status = false;
var entityDetails = GupShup.html.dynamic.groupOwnerDetails.vars.entityDetails;
if((typeof(entityDetails) == 'object') && (typeof(entityDetails.status) != 'undefined') && (entityDetails.status == 'SUCCESS'))
{
var map = [{key:'$ENTITY_NAME$', dataMember: 'name'}];
htmlContent.content = GupShup.util.expandTemplate(htmlContent.content, map, entityDetails.info);
status = true;
}
return status;
},
updateForWebarooUserDetails : function(htmlContent)
{
var status = false;
var webarooUserDetails = GupShup.html.dynamic.groupOwnerDetails.vars.webarooUserDetails;
if((typeof(webarooUserDetails) == 'object') && (typeof(webarooUserDetails.status) != 'undefined') && (webarooUserDetails.status == 'SUCCESS'))
{
if(GupShup.util.trim(webarooUserDetails.info[0].profileName) == "")
{
webarooUserDetails.info[0].profileName = 'anonymous';
}
var map =
[
{key:'http://resource.smsgupshup.com/webimages/$WEBAROO_USER_IMG_SRC$.jpg', dataMember: 'imageUrl'},
{key:'$PROFILE_NAME$', dataMember: 'profileName'},
{key:'$USER_AGE$', dataMember: 'age'},
{key:'$USER_ID$', dataMember: 'id'}
];
htmlContent.content = GupShup.util.expandTemplate(htmlContent.content, map, webarooUserDetails.info);
GupShup.html.dynamic.groupOwnerDetails.vars.groupOwnerUserId = webarooUserDetails.info[0].id;
status = true;
}
return status;
},
updateDetails : function()
{
var innerHTML = GupShup.util.getInnerHTML('groupOwnerDetailsJsp_webarooUserDetailsTemplate_RIGHT');
var htmlContent = {'content': innerHTML};
var entityDetails = GupShup.html.dynamic.groupOwnerDetails.vars.entityDetails;
var webarooUserDetails = GupShup.html.dynamic.groupOwnerDetails.vars.webarooUserDetails;
if(GupShup.html.dynamic.groupOwnerDetails.methods.updateForEntityDetails(htmlContent, entityDetails)
&& GupShup.html.dynamic.groupOwnerDetails.methods.updateForWebarooUserDetails(htmlContent, webarooUserDetails))
{
GupShup.util.setInnerHTML('groupOwnerDetailsJsp_webarooUserDetailsContainerRIGHT', htmlContent.content);
var ageId = 'groupOwnerDetailsJsp_AgeDiv_RIGHT_' + webarooUserDetails.info[0].id;
if(webarooUserDetails.info[0].displayAge && (webarooUserDetails.info[0].age > 0))
GupShup.html.util.showElement(ageId);
else
GupShup.html.util.hideElement(ageId);
/* Check if we have a valid logged in user and the current group owner is same as the logged in user. */
var sendMessageDivId = 'sendMessageDiv_' + GupShup.html.dynamic.groupOwnerDetails.vars.groupOwnerUserId;
if ((GupShup.html.dynamic.groupOwnerDetails.vars.groupOwnerUserId > 0)
&& (GupShup.html.dynamic.groupOwnerDetails.vars.groupOwnerUserId == GupShup.html.dynamic.groupOwnerDetails.vars.loggedInUserId))
{
GupShup.html.util.hideElement(sendMessageDivId);
}
else
{
GupShup.html.util.showElement(sendMessageDivId);
}
GupShup.html.util.showElement('groupOwnerDetailsJsp_webarooUserDetailsContainerRIGHT');
}
else
{
GupShup.html.util.hideElement('groupOwnerDetailsJsp_webarooUserDetailsContainerRIGHT');
}
},
initPage : function()
{
var webarooUserDetailsJSONStr = '{"info":[{"gender":"MALE","age":31,"imageUrl":"http://resource2.smsgupshup.com/webimages/profile/0/90/90969_1214350766114.png","profileName":"EditPoint","displayAge":true,"description":"I am Video Editor,My Bussines Complete Computers & Editing Solutions
 www.editpoint.in ","location":"Secundrabad","id":90969}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"WEBAROOUSER","needTotalForPg":true,"entityId":"873389"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
var entityDetailsJsonStr = '{"info":[{"isDefault":"false","totalSubscribers":387,"totalPosts":38,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/0/873/873389_1214338668845.png","userId":873405,"isPrivate":false,"description":"Compleate Computer & Video Editing Solutions ","groupUrl":"http://www.smsgupshup.com/groups/Editpoint","name":"Editpoint","isPartner":false,"id":873389,"orgName":"Editpoint"}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"SMSENTITY","needTotalForPg":true,"entityId":"873389"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
GupShup.html.dynamic.groupOwnerDetails.vars.entityDetails = GupShup.util.getJsonFromResponse(entityDetailsJsonStr);
GupShup.html.dynamic.groupOwnerDetails.vars.webarooUserDetails = GupShup.util.getJsonFromResponse(webarooUserDetailsJSONStr);
GupShup.html.dynamic.groupOwnerDetails.methods.updateDetails();
}
};
try
{
GupShup.html.dynamic.groupOwnerDetails.methods.initPage();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process groupOwnerDetailsJsp dynamic module : error-' + error);
}
$POSTS_COUNT$ posts, $SUBSCRIBER_COUNT$ members
function favGroupsJsp_process()
{
var favGroupsJSONStr = '{"subscriptions":[{"isDefault":"false","totalSubscribers":134,"totalPosts":9,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/5/888/5888879_1214346250596.png","userId":5888969,"isPrivate":false,"description":"computers & Video Editing Cards Sales & Service
 www.editpoint.in ","groupUrl":"http://www.smsgupshup.com/groups/EditpointRamesh","name":"EditpointRamesh","isPartner":false,"id":5888879,"orgName":"EditpointRamesh"},{"isDefault":"false","totalSubscribers":8398,"totalPosts":803,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/2/385/2385228_1214341446466.png","userId":2385252,"isPrivate":false,"description":"Hilarious & naughty jokes in english! ","groupUrl":"http://www.smsgupshup.com/groups/FuNNy_wOrLd","name":"FuNNy_wOrLd","isPartner":false,"id":2385228,"orgName":"FuNNy_wOrLd"},{"isDefault":"false","totalSubscribers":14381,"totalPosts":201,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/0/242/242057_1214337183110.png","userId":242057,"isPrivate":false,"description":"Welcome! This Group is dedicated 2 Non-Veg & Adult sms. Njoy Only @ hotTY_naughTY. 4 Fun, Entertainment & Masti Visit My New Site www.maujmasti.co.cc ","groupUrl":"http://www.smsgupshup.com/groups/hotTY_naughTY","name":"hotTY_naughTY","isPartner":false,"id":242057,"orgName":"hotTY_naughTY"},{"isDefault":"false","totalSubscribers":2110,"totalPosts":280,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/0/122/122897_1214336975893.png","userId":122897,"isPrivate":false,"description":"Our aim is to spread positive thoughts in society. We send daily one inspiring sms to mobiles at 8a.m. ","groupUrl":"http://www.smsgupshup.com/groups/Life_Positive","name":"Life_Positive","isPartner":false,"id":122897,"orgName":"Life_Positive"},{"isDefault":"false","totalSubscribers":22875,"totalPosts":210,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/0/349/349172_1214337424642.png","userId":349172,"isPrivate":false,"description":"This Group is dedicated 2 Luv sms 2 My Dearest Frnds Aditi & Pankti. Njoy ur luv life With Sms. Keep Smilin!! 4 Fun & Masti Visit www.maujmasti.co.cc ","groupUrl":"http://www.smsgupshup.com/groups/Dill_Mill_Gaye","name":"Dill_Mill_Gaye","isPartner":false,"id":349172,"orgName":"Dill_Mill_Gaye"}],"userDetails":{"globalUserId":90969,"name":"RamshaILU","id":873405},"params":{"limit":5,"start":0,"type":"MY_FAV_SUBSCRIPTIONS","userId":"873405","showLatestMsg":"false","needTotalForPg":false,"showAll":false},"message":"","webarooUserDetails":{"gender":"MALE","age":31,"imageUrl":"http://resource2.smsgupshup.com/webimages/profile/0/90/90969_1214350766114.png","profileName":"EditPoint","displayAge":true,"description":"I am Video Editor,My Bussines Complete Computers & Editing Solutions
 www.editpoint.in ","location":"Secundrabad","id":90969},"status":"SUCCESS","errorCode":"NO_ERROR"}';
if (GupShup.util.isInitialized(GupShup.conf.currentModule))
{
if (GupShup.util.trim(GupShup.conf.currentModule.refreshUrl) == '')
{
GupShup.conf.currentModule.refreshUrl
= GupShup.conf.readUrl + "&type=" + 'MY_FAV_SUBSCRIPTIONS'
+ '&userId=873405' + '&showAll=false' + '&showLatestMsg=false'
+ '&start=0' + '&limit=' + '5' + '&needTotalForPg=false';
}
else
{
favGroupsJSONStr = GupShup.conf.currentModule.refreshArgs;
}
}
var favGroups = GupShup.util.getJsonFromResponse(favGroupsJSONStr);
if((typeof(favGroups.status) != 'undefined') && (favGroups.status == 'SUCCESS') && (favGroups.subscriptions.length > 0))
{
var tmplMap =
[
{key:'http://resource2.smsgupshup.com/webimages/$GROUP_IMG_SRC$.jpg', dataMember:'imageUrl'},
{key:'$GROUP_NAME$', dataMember:'name'},
{key:'http://resource2.smsgupshup.com/webimages/$GROUP_PAGE_URL$.jpg', dataMember:'groupUrl'},
{key:'$POSTS_COUNT$', dataMember:'totalPosts'},
{key:'$SUBSCRIBER_COUNT$', dataMember:'totalSubscribers'}
];
var containerDivId = 'favGroupsListContainerRIGHT';
var templateDivId = 'favGroupTemplateRIGHT';
GupShup.util.expandTemplateInDiv(containerDivId, templateDivId, tmplMap, favGroups.subscriptions);
document.getElementById('favGroupsBlockContainerRIGHT').style.display = "block";
}
}
try
{
favGroupsJsp_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process favGroupsJsp module : error-' + error);
}
function subscribeOnMobileShouldShowDiv(entityDetails) {
if(GupShup.util.isInitialized(entityDetails) && (entityDetails.status == 'SUCCESS'))
{
if(entityDetails.info[0].isPrivate || entityDetails.info[0].isPartner)
return false;
if(GupShup.util.isInitialized(entityDetails.info[0].subscriptionDetails))
return (!entityDetails.info[0].subscriptionDetails.isSubscribed);
return true;
}
else
{
return false;
}
}
function subscribeOnMobile_process()
{
var entityDetailsJsonStr = '{"info":[{"isDefault":"false","totalSubscribers":387,"totalPosts":38,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/0/873/873389_1214338668845.png","userId":873405,"isPrivate":false,"description":"Compleate Computer & Video Editing Solutions ","groupUrl":"http://www.smsgupshup.com/groups/Editpoint","name":"Editpoint","isPartner":false,"id":873389,"orgName":"Editpoint"}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"SMSENTITY","needTotalForPg":true,"entityId":"873389"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
var entityDetails = GupShup.util.getJsonFromResponse(entityDetailsJsonStr);
var moduleId = 'subscribeOnMobileModule_RIGHT';
if (subscribeOnMobileShouldShowDiv(entityDetails))
{
GupShup.html.util.showElement(moduleId);
}
else
{
GupShup.html.util.hideElement(moduleId);
}
}
try
{
subscribeOnMobile_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process subscribeOnMobile module : error-' + error);
}
var innerScriptDiv = "";
var innerScriptText = "";
var orientation = "RIGHT";
var modules = GupShup.conf[orientation + '_Modules'] = new Array();
GupShup.conf.currentModule = modules[0] = {name : 'errorMsg.jsp', rank : 0,
orientation : 'right', refreshUrl : '', refreshArgs : ''};
GupShup.html.dynamicBar.executeJavaScript('errorMsg.jsp_RIGHT_javaScript');
GupShup.conf.currentModule = modules[1] = {name : 'groupOwnerDetails.jsp', rank : 1,
orientation : 'right', refreshUrl : '', refreshArgs : ''};
GupShup.html.dynamicBar.executeJavaScript('groupOwnerDetails.jsp_RIGHT_javaScript');
GupShup.conf.currentModule = modules[2] = {name : 'favGroups.jsp', rank : 2,
orientation : 'right', refreshUrl : '', refreshArgs : ''};
GupShup.html.dynamicBar.executeJavaScript('favGroups.jsp_RIGHT_javaScript');
GupShup.conf.currentModule = modules[3] = {name : 'subscribeOnMobile.jsp', rank : 3,
orientation : 'right', refreshUrl : '', refreshArgs : ''};
GupShup.html.dynamicBar.executeJavaScript('subscribeOnMobile.jsp_RIGHT_javaScript');
GupShup.conf.currentModule = null;