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":21,"imageUrl":"http://resource2.smsgupshup.com/webimages/profile/0/310/310667_1214371422135.png","profileName":"chiral","displayAge":true,"description":"Hi i m from: bharuch ","location":"ind","id":310667}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"WEBAROOUSER","needTotalForPg":true,"entityId":"5098100"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
var entityDetailsJsonStr = '{"info":[{"isDefault":"false","totalSubscribers":1993,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/5/98/5098100_1214345339760.png","totalPosts":843,"userId":5098182,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":5098100,"description":"hi... all of u ","groupUrl":"http://www.smsgupshup.com/groups/love_gyan","name":"love_gyan","isPartner":false,"orgName":"love_gyan"}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"SMSENTITY","needTotalForPg":true,"entityId":"5098100"},"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);
}
Member Responses
Reply to my messages and let me know your thoughts and comments. Just hit reply to SMS on mobile, type your message and send!
To join my group click on the JOIN button or send SMS to 567678JOIN love_gyan
Recent Replies
No replies yet!
$NICK_NAME$ says:
$REPLIES$
GupShup.html.dynamic.replies = {};
GupShup.html.dynamic.replies.map = [
{key:'http://resource.smsgupshup.com/webimages/$GROUP_IMG_SRC$.jpg', dataMember:'image'},
{key:'$NICK_NAME$', dataMember:'nick'},
{key:'$REPLIES$', dataMember:'text'}
];
GupShup.html.dynamic.replies.methods = {};
GupShup.html.dynamic.replies.methods.repliesJsp_process = function()
{
var repliesJsonStr = '{"params":{"limit":5,"start":0,"type":"REPLIES","needTotalForPg":true,"entityId":"5098100"},"message":"","totalForPg":7,"entityReplies":[{"fromPublisher":false,"srcUser":13025438,"text":"Today is sai baba's birthday. Ignore mat karna nahi to 12 saal tak unlucky ho jaoge. 12 logo ko Ye Sms bhejo.Subh tak achi khabar ayegi. JAI MATA DI ","image":"http://resource.smsgupshup.com/webimages/images/channels/1.3.3.78600.gif","timestamp":"2 days ago","nick":"parveend","id":166332},{"fromPublisher":false,"srcUser":12204856,"text":"J ","image":"http://resource.smsgupshup.com/webimages/images/channels/3.3.3.78600.gif","timestamp":"10 days ago","nick":"Shayer","id":137720},{"fromPublisher":false,"srcUser":12589559,"text":"Life is start with violence but ends with silence. Love is start with fear but ends with tear, Friendship is start any where & end no where..!vishu ","image":"http://resource.smsgupshup.com/webimages/profile/0/940/940401_1228314556870.png","timestamp":"24 days ago","nick":"VISHU","id":85285},{"fromPublisher":false,"srcUser":12589559,"text":"G-o to bed O-ff the lights O-ut of tensions D-reams come N-ice sleep I-gnore worries G-et up early H-ave a nice day T-hank God always. ","image":"http://resource.smsgupshup.com/webimages/profile/0/940/940401_1228314556870.png","timestamp":"28 days ago","nick":"VISHU","id":70231},{"fromPublisher":false,"srcUser":12641962,"text":"Ash:> @_@ ","image":"http://resource.smsgupshup.com/webimages/profile/1/29/1029391_1226676573497.png","timestamp":"30 days ago","nick":"Gopal","id":62235}],"status":"SUCCESS","errorCode":"NO_ERROR"}';
var replies = GupShup.util.getJsonFromResponse(repliesJsonStr);
if((typeof(replies.status) != 'undefined') && (replies.status == 'SUCCESS'))
{
if(replies.entityReplies.length > 0)
{
var containerDivId = 'repliesListContainerRIGHT';
var templateDivId = 'repliesTemplateRIGHT';
GupShup.util.expandTemplateInDiv(containerDivId, templateDivId, GupShup.html.dynamic.replies.map, replies.entityReplies);
document.getElementById('repliesBlockContainerRIGHT').style.display = "block";
}
else
{
document.getElementById('norepliesBlockContainerRIGHT').style.display = "block";
}
}
};
try
{
GupShup.html.dynamic.replies.methods.repliesJsp_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process repliesJsp module : error-' + error);
}
GupShup.html.dynamic.favGroups = {};
GupShup.html.dynamic.favGroups.methods = {
getClassForImg : function(isPremium)
{
return (isPremium)? "goldframe" : "frame";
},
favGroupsJsp_process : function()
{
var favGroupsJSONStr = '{"subscriptions":[{"isDefault":"false","totalSubscribers":1981,"imageUrl":"http://resource.smsgupshup.com/webimages/images/channels/2.3.3.78600.gif","totalPosts":392,"userId":1162883,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":11514929,"description":"Hi, ","groupUrl":"http://www.smsgupshup.com/groups/Adult_Shayri_18","name":"Adult_Shayri_18","isPartner":false,"orgName":"Adult_Shayri_18"},{"isDefault":"false","totalSubscribers":5085,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/7/238/7238808_1228323468788.png","totalPosts":661,"userId":6067670,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":7238808,"description":"WELCOME THIS IS A SMS SERVICE TO RECEIVED ADULT MESSAGES IF YOU LIKE THAT MESSAGE THEN SUBSCRIBED MADE BY SOMEONE YOU CAN CHECK SAMPLE POSTED BY ME IN THIS GROUP SO TRY TO SUBSCRIBE...... ","groupUrl":"http://www.smsgupshup.com/groups/SEXYMASALA","name":"SEXYMASALA","isPartner":false,"orgName":"SEXYMASALA"},{"isDefault":"false","totalSubscribers":6740,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/3/703/3703670_1228198563423.png","totalPosts":696,"userId":3703694,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":3703670,"description":"I AM SAPNA...FROM-GUWAHATI/ORRISA..I Create This Grp 5 April 08 MY HOBBY IS MAKE A NEW Frnd..DO YOU Frndship ME ?...Oh !!...Yes...OK IT'S ALL RIGHT.......JOIN MY NEW Grp DhirajPriya to 567678 ","groupUrl":"http://www.smsgupshup.com/groups/SAPNA_ORRISA","name":"SAPNA_ORRISA","isPartner":false,"orgName":"SAPNA_ORRISA"},{"isDefault":"false","totalSubscribers":41360,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/1/327/1327992_1214339599263.png","totalPosts":1921,"userId":1328009,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":1327992,"description":"Give Me the Opportunity to Entertain u With Cool Fresh Sms-es all day long. U Will Get Jokes, Romantic-Friendship Shayari, Qotes..etc. "Aur bhi bahut khuch hai dost...Jst Join it 2b Part of dis Grp" ","groupUrl":"http://www.smsgupshup.com/groups/hApPiEs_EnDiNgS","name":"hApPiEs_EnDiNgS","isPartner":false,"orgName":"hApPiEs_EnDiNgS"},{"isDefault":"false","totalSubscribers":15054,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/4/272/4272902_1214370866250.png","totalPosts":85,"userId":4272918,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":4272902,"description":"Hi. Frendz I m Software Enginear In CompuTer .I m Not A HackeR But I Know Many More Hacking TrickS Frendz Get Free Tricks In Ur Mobile Just SmS Typ: JOIN HACKING_ZONE and send to 567678. ","groupUrl":"http://www.smsgupshup.com/groups/HACKING_ZONE","name":"HACKING_ZONE","isPartner":false,"orgName":"HACKING_ZONE"}],"userDetails":{"globalUserId":310667,"name":"love_gyan","id":5098182},"params":{"limit":5,"start":0,"type":"MY_FAV_SUBSCRIPTIONS","userId":"5098182","showLatestMsg":"false","needTotalForPg":false,"showAll":false},"message":"","webarooUserDetails":{"gender":"MALE","age":21,"imageUrl":"http://resource2.smsgupshup.com/webimages/profile/0/310/310667_1214371422135.png","profileName":"chiral","displayAge":true,"description":"Hi i m from: bharuch ","location":"ind","id":310667},"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=5098182' + '&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://resource.smsgupshup.com/webimages/$GROUP_IMG_SRC$.jpg', dataMember:'imageUrl'},
{key:'$GROUP_NAME$', dataMember:'name'},
{key:'$IMG_CLASS$', dataMember:'isPremium', dataProcessor:GupShup.html.dynamic.favGroups.methods.getClassForImg},
{key:'http://resource.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
{
GupShup.html.dynamic.favGroups.methods.favGroupsJsp_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process favGroupsJsp module : error-' + error);
}
$ENTITY_NAME$ is a Premium Group,
and the 5 sample posts shown are randomly picked from all the group posts.
The monthly subscription charges for this group are Rs.$JOIN_COST$/-. Your subscription is suspended. Please click on "Renew" button for reactivating it.
$ENTITY_POSTS_COUNT$ posts, $GROUP_SUBSCRIBERS$ members |
Join
You are about to report that this message violates GupShup Terms of Service.
We will review your request and take appropriate steps as necessary. Your report will be strictly confidential.
This group contains messages that may be unsuitable for some users. By clicking on 'Proceed' you confirm that you are older than 18 years of age and agree to view messages from this group.
$ENTITY_TMPL_EXPANSION$
No group found.
$ENTITY_NAME$
$ENTITY_NAME$ is a private group. You must contact the owner of this group to join it and receive group messages.
Send a message to $ENTITY_NAME$ to join this group.
To send a message from your mobile, SMS MSG $ENTITY_NAME$ followed by the message to 567678.
This message may be unsuitable for some users. By clicking on 'Proceed' you confirm that you are older than 18 years of age and agree to view this message.
$MSG_TMPL_EXPANSION$
This member has not posted any messages yet but will surely do so soon.
No messages found for specified page.
This is SMS GupShup Premium Group: Subscription charge is Rs.$JOIN_COST$/- for $BILLING_PERIOD$ days.
You can join to receive free $TRIAL_PERIOD$ days trial, after which you will need to pay using your preferred payment method.
These are replies to your groups posts.
We will forward you the replies as we recieve them.
You can change the settings for reply notifications from the settings page.
Status: $STATUS$
Status: $STATUS$
$DAYS$ days (Rs.$COST$)
$ISDEFAULT$
$TYPE$ $ENTITY_NAME$
Mobile Number:
Select Subscription Period:
SMS updates from $ENTITY_NAME$ will be sent to this mobile number.
You can cancel any time by clicking on Manage link in Groups Joined
You do not have sufficient balance in your Prepaid Account to proceed. Please Recharge your Prepaid account first and try again.
SMS greetings will not be delivered on CDMA mobile phones and you will not be charged for those users.
Your friend(s) will receive an SMS with the content download link. A working GPRS connection is required to download the content.
Confirmation
You will be charged Rs.$COST$ for every $ITEM$.
$GREETING_DWNLD_WARNING$
Item:
$ITEM$
Sent to:
$MEMBERS$ friends
Approx. Total Cost:
Rs. $TOTAL_COST$
Available Prepaid Balance:
Rs. $BALANCE$
$WARNIG$
Leave $ENTITY_NAME$
You are about to leave the premium group $ENTITY_NAME$.
Your subscription will be cancelled immediately & you will stop
receiving SMS messages from this group. You will not be charged for
this premium group in future.
You can rejoin this group at any time
by paying Rs. $JOIN_COST$ monthly subscription fee.
Successfuly sent
$ITEM$ sent to your $MEMBERS$.
Your prepaid account balance is Rs.$BALANCE$
If you have any issues with content download, please contact us at support@smsgupshup.com.
Premium Group Confirmation
You have re-subscribed to premium group $ENTITY_NAME$. SMS updates from $ENTITY_NAME$ will be sent to your mobile phone.
Your prepaid account balance is Rs.$BALANCE$
Paid Post Confirmation
You are using our Paid Message Service. You will be charged Rs.$COST$/message.
Sending to:
$MEMBERS$ members
Approx. Total Cost:
Rs. $TOTAL_COST$
Available Prepaid Balance:
Rs. $BALANCE$
$WARNIG$
Are you a business looking for fast, Premium SMS delivery service? Please contact us at businessgroups@smsgupshup.com
Group Post Confirmation
Message has been posted to your group.
Your prepaid account balance is Rs.$BALANCE$
Send Group Post Confirmation
Your group has zero members. You must invite some members before you can send a paid message.
Send SMS Greeting Confirmation
Your group has zero members. You must invite some members before you can send a SMS Greeting.