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":23,"imageUrl":"http://resource.smsgupshup.com/webimages/profile/0/61/61298_1216902144379.png","profileName":"Moksh rana","displayAge":true,"description":"Hi friend i m moksh rana join my group and recive daily new sms. . . . . . . . .frends if u want promot ur group in my group of nisha23 members. pls contect me on my email id. . . . . . nsh.kohli@gmail.com ","location":"Your girl friend heart","id":61298}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"WEBAROOUSER","needTotalForPg":true,"entityId":"1140431"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
var entityDetailsJsonStr = '{"info":[{"isDefault":"false","totalSubscribers":13756,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/1/140/1140431_1218082397192.png","totalPosts":1115,"userId":1140447,"isPremium":false,"isPrivate":false,"status":"ENABLED","id":1140431,"description":"Join me and get daily new sms. ","groupUrl":"http://www.smsgupshup.com/groups/NISHA23","name":"NISHA23","isPartner":false,"orgName":"NISHA23"}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"SMSENTITY","needTotalForPg":true,"entityId":"1140431"},"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 NISHA23
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":"1140431"},"message":"","totalForPg":220,"entityReplies":[{"fromPublisher":false,"srcUser":6265431,"text":"BHASKAR HOW TO IMPRESS A GIRL? Respect Her Love Her Protect Her Listen toHer Care 4Her Stand 4Her HOW TO IMPRESS A BOY? Just Smile Once Sale Paagal ho Jate hain ","image":"http://resource.smsgupshup.com/webimages/images/channels/4.3.3.78600.gif","timestamp":"4 minutes ago","nick":"Bhaskar","id":182048},{"fromPublisher":false,"srcUser":6265431,"text":"BHASKAR SHARMA Ek bar santa bina jali bidi pi raha tha. banta ne pucha are yar bidi se koi dhuaa(smoke) nhi aa raha h. santa bola-Sale ye CNG bidi hai. ","image":"http://resource.smsgupshup.com/webimages/images/channels/4.3.3.78600.gif","timestamp":"6 minutes ago","nick":"Bhaskar","id":182046},{"fromPublisher":false,"srcUser":6265431,"text":"BHASKAR Chor pakadne ki machine bani USA me-1 din me 9 pkde gaye CHINA me-30 UK me-50 aur INDIA me 1 ghnte me machine chori ho gai East or west India is d best. ","image":"http://resource.smsgupshup.com/webimages/images/channels/4.3.3.78600.gif","timestamp":"9 minutes ago","nick":"Bhaskar","id":182042},{"fromPublisher":false,"srcUser":6265431,"text":"BHASKAR SHARMA Dosti ka rishta kabhi purana nahi hota Is se bada koi khajana nahi hota Dosti to pyar se bhi pavitra hai Kyuki Isme koi pagal ya diwana nahi hota ","image":"http://resource.smsgupshup.com/webimages/images/channels/4.3.3.78600.gif","timestamp":"12 minutes ago","nick":"Bhaskar","id":182037},{"fromPublisher":false,"srcUser":5762380,"text":"Hi baby ","image":"http://resource.smsgupshup.com/webimages/profile/0/380/380104_1214373332090.png","timestamp":"1 hour ago","nick":"D_KOMPANY","id":181971}],"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);
}
$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.