We are Settings up things for you
Check back later !
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
We are Settings up things for you
Unlock your Speaking Opportunity
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
We are Settings up things for you
Unlock your Exhibiting Slot
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
Speaker Name
Company & Designation
Short Bio loreum ipsum donor amit.. Short Bio loreum ipsum donor amit Loreum ipsum Read more...
You don't have any saved list.
'+eventdetailBaseInfoKey);
getEventBaseInfo({eventtoken: eve_tok},true);
}
});
}
function getEventsHallList(response){
let event_output = response.output;
let conttoken_data = event_output.conttoken;
console.log(response);
let exhibitor_halls = conttoken_data.exhibitor_halls;
/* let allowed_exhibitor_halls = Array.isArray(exhibitor_halls)
? exhibitor_halls.filter(hall => (hall.status === '1' && event_organizer_ptokens.includes(my_pToken)) || hall.status === '2')
: []; */
let allowed_exhibitor_halls = Array.isArray(exhibitor_halls) ? exhibitor_halls : [];
let speaker_halls = conttoken_data.speaker_halls;
/* let allowed_speaker_halls = Array.isArray(speaker_halls)
? speaker_halls.filter(hall => (hall.status === '1' && event_organizer_ptokens.includes(my_pToken)) || hall.status === '2')
: []; */
let allowed_speaker_halls = Array.isArray(speaker_halls) ? speaker_halls : [];
// let allowed_agenda_halls = allowed_speaker_halls;
// let allowed_agenda_halls = $.merge(allowed_exhibitor_halls,allowed_speaker_halls);
let allowed_agenda_halls = $.merge([], allowed_speaker_halls.concat(allowed_exhibitor_halls))
// console.log(allowed_speaker_halls);
// console.log(allowed_agenda_halls);
$('#exh_hall_list').empty();
var sponsor_type = $('#sponsor_type').val();
var is_organizer = $("#is_organizer").val();
var user_profile_type = $("#user_profile_type").val();
var rsvp_sponsor_title = $("#rsvp_sponsor_title").val();
let hall_option_exh = `
Select Exhibitor Hall `;
$('#exh_hall_list').append(hall_option_exh);
// console.log('Process exhibitor hall list');
var exh_allowed_list = {};
var spk_allowed_list = {};
allowed_exhibitor_halls.forEach(hall => {
let hall_name = hall.name;
let hall_token = btoa(hall.name);
var showhall = 0;
// console.log(hall);
exh_allowed_list[hall_name] = {};
$.each(hall.profiletype, function(pfkey,pftype){
exh_allowed_list[hall_name][pftype] = {};
// console.log(hall_name+'==='+pftype+'==='+pfkey+'===='+hall.hallcount[pfkey]);
exh_allowed_list[hall_name][pftype]['max'] = hall.hallcount[pfkey];
exh_allowed_list[hall_name][pftype]['allowed'] = hall.hallcount[pfkey];
});
// console.log(sponsor_type);
if(typeof hall.viewaccess !== "undefined" && hall.viewaccess !== ""){
if(hall.viewaccess.includes("all")){
showhall = 1;
}
if(is_organizer == 1){
showhall = 1;
if(hall.viewaccess.includes("organizer")){
showhall = 1;
}
}
if(sponsor_type != '' && sponsor_type != 'undefined'){
if(hall.viewaccess.includes(sponsor_type)){
showhall = 1;
}
}
if(user_profile_type != ''){
if(hall.viewaccess.includes(user_profile_type)){
showhall = 1;
}
}
if(rsvp_sponsor_title != ''){
if(hall.viewaccess.includes(rsvp_sponsor_title)){
showhall = 1;
}
}
}
if(showhall == 1){
let hall_option = `
${hall_name} `;
$('#exh_hall_list').append(hall_option);
}
});
$('.spk_hall_list').empty();
var u = 0;
var sponsor_type = $('#sponsor_type').val();
var is_organizer = $("#is_organizer").val();
var user_profile_type = $("#user_profile_type").val();
var rsvp_sponsor_title = $("#rsvp_sponsor_title").val();
let hall_option_speaker = `
Select Speaker Hall `;
$('.spk_hall_list').append(hall_option_speaker);
allowed_speaker_halls.forEach(hall => {
let hall_name = hall.name;
let hall_token = hall.name; // btoa
var showhall = 0;
spk_allowed_list[hall_name] = {};
$.each(hall.profiletype, function(pfkey,pftype){
spk_allowed_list[hall_name][pftype] = {};
spk_allowed_list[hall_name][pftype]['max'] = hall.hallcount[pfkey];
spk_allowed_list[hall_name][pftype]['allowed'] = hall.hallcount[pfkey];
});
color = shuffledColorArray[u % shuffledColorArray.length];
hall_color_array[hall_name] = color;
u++;
if(typeof hall.viewaccess !== "undefined" && hall.viewaccess !== ""){
if(hall.viewaccess.includes("all")){
showhall = 1;
}
if(is_organizer == 1){
showhall = 1;
if(hall.viewaccess.includes("organizer")){
showhall = 1;
}
}
if(sponsor_type != '' && sponsor_type != 'undefined'){
if(hall.viewaccess.includes(sponsor_type)){
showhall = 1;
}
}
if(user_profile_type != ''){
if(hall.viewaccess.includes(user_profile_type)){
showhall = 1;
}
}
if(rsvp_sponsor_title != ''){
if(hall.viewaccess.includes(rsvp_sponsor_title)){
showhall = 1;
}
}
}
// console.log(hall_name+'==='+showhall);
if(showhall == 1){
let hall_option = `
${hall_name} `;
$('.spk_hall_list').append(hall_option);
}
});
// if(Object.keys(exh_allowed_list).length > 0){
var eventHallAccessKey = `event_hall_access_${eventtoken}`;
response = {'success':true,output:{'exhibitor':exh_allowed_list,'speaker':spk_allowed_list}};
IntaoDB.setItem(objStores.event_store.name, {
taoh_data: eventHallAccessKey,
values: response,
timestamp: Date.now()
});
// }
//console.log('----hall_color_array---1----',hall_color_array)
$('.agenda_hall_list').empty();
// const hallColorMap = {};
let hall_option_agenda = `
Select Hall `;
$('.agenda_hall_list').append(hall_option_agenda);
allowed_agenda_halls.forEach(hall => {
let hall_name = hall.name;
let hall_token = (hall.name); // btoa
// hallColorMap[hall.name] = getRandomColor();
let hall_option = `
${hall_name} `;
$('.agenda_hall_list').append(hall_option);
});
// $("#hallcolor").val(JSON.stringify(hallColorMap));
// console.log($("#hallcolor").val());
}
async function getEventMetaInfo(eventtoken,type='',search='',tab_name='') {
var eventMetaInfoBaseInfoKey = `event_MetaInfo_${eventtoken}`;
// console.log('getEventMetaInfo : '+eventtoken+'===='+type+'===='+search);
if(type !='' && search !=''){
var eventMetaInfoBaseInfoKey = `event_MetaInfo_${eventtoken}_${type}_${search}`;
}
// console.log(objStores.event_store.name);
// console.log(eventMetaInfoBaseInfoKey);
IntaoDB.getItem(objStores.event_store.name, eventMetaInfoBaseInfoKey).then((data) => {
if (data?.values) {
// console.log('---------exists----------'+data.values);
// console.log(data.values);
getEventExhibitors(eventtoken,data.values,search);
getEventSpeakers(eventtoken,data.values,hall_color_array,search);
getEventAgenda(eventtoken,data.values,hall_color_array,search);
getEventRooms(eventtoken,data.values,search);
// getEventLobbyDashboard(eventtoken,data.values,search);
} else {
// console.log('call updateEventMetaInfo');
updateEventMetaInfo(eventtoken, true,type,search,tab_name);
updateDashboardInfo(eventtoken);
}
});
}
async function updateEventMetaInfo(eventtoken, serverFetch = true, type='',search='',tab_name='') {
// console.log('---------updateEventMetaInfo----------'+eventtoken+'==='+serverFetch+'==='+type+'==='+search);
var eventMetaInfoBaseInfoKey = `event_MetaInfo_${eventtoken}`;
if(type !='' && search!=''){
var eventMetaInfoBaseInfoKey = `event_MetaInfo_${eventtoken}_${type}_${search}`;
}
const handleResponse = (response) => {
// console.log('handleResponse : '+response);
// console.log(response);
if (response.success) {
IntaoDB.setItem(objStores.event_store.name, {
taoh_data: eventMetaInfoBaseInfoKey,
values: response,
timestamp: Date.now()
});
console.log('---------Updateeventmeta-----1-----'+response);
getEventExhibitors(eventtoken,response);
getEventSpeakers(eventtoken,response,hall_color_array);
getEventAgenda(eventtoken,response,hall_color_array);
getEventRooms(eventtoken,response);
// getEventLobbyDashboard(eventtoken,response);
} else {
var content = 'No Result Found';
$('#agenda_list').html(content);
$('#speaker_list').html('No Speakers found');
$('#exhibitors_list').html('No Exhibitors Found');
$('#rooms_list').html('No Rooms Found');
var event_status = $('#event_status_hidden').val();
if(search == ''){
if (event_status == 1 || event_status == 0) {
$('#speaker_desc').remove();
$('#speaker_top').remove();
$('#exhibitor_desc').remove();
$('#exhibitor_top').remove();
$('#agenda_desc').remove();
$('#agenda_top').remove();
$('#dashboard_desc').remove();
}
else{
$(".agenda_block,.speaker_block,.exhibitor_block").addClass("align-self-start lblur");
$("#speaker_default_list,#speaker_default_banner").show();
$("#agenda_default_list,#agenda_default_banner,#my_agenda_default_banner").show();
$("#exhibitor_default_banner,#exhibitor_default_list").show();
}
}
loader(false, $("#agenda_loaderArea"));
loader(false, $("#speaker_loaderArea"));
loader(false, $("#exhibitors_loaderArea"));
console.log('Failed to fetch event meta details! Try Again');
}
};
if (serverFetch) {
// console.log('---------serverFetch---------');
$.ajax({
url: _taoh_site_ajax_url,
type: 'POST', // changed to post to avoid caching issues in flexible domain
data: {
action: 'get_event_MetaInfo',
taoh_action: 'get_event_MetaInfo',
token: _taoh_ajax_token,
eventtoken: eventtoken,
type: type,
search: (type == 'event_speaker' && tab_name != 'agenda') ? $("#dropdownMenuLink_speaker").text().replace('Select Speaker Hall','') : search,
search_speaker_name : (type == 'event_speaker') ? $("#speaker_search").val() : ''
},
dataType: 'json',
success: handleResponse,
error: (xhr) => console.error('Error:', xhr.status)
});
} else {
//alert(eventMetaInfoBaseInfoKey);
IntaoDB.getItem(objStores.event_store.name, eventMetaInfoBaseInfoKey).then((data) => {
if (data?.values) {
console.log('---------Updateeventmeta-----2-----'+data.values);
getEventExhibitors(eventtoken,data.values);
getEventSpeakers(eventtoken,data.values,hall_color_array);
getEventAgenda(eventtoken,data.values,hall_color_array);
getEventRooms(eventtoken,data.values);
// getEventLobbyDashboard(eventtoken,data.values);
} else {
updateEventMetaInfo(eventtoken, true);
}
});
}
}
function LoadMetaWithHall(type,search,search_name,tab_name){
loader(true, $("#agenda_loaderArea"),30);
loader(true, $("#speaker_loaderArea"),30);
loader(true, $("#exhibitors_loaderArea"),30);
// loader(true, $("#rsvpdir_loaderArea"),30);
getEventMetaInfo(eventtoken,type,search,tab_name);
/* Display Select hall dropdown value */
if(type == 'event_speaker'){
curid = 'dropdownMenuLink_speaker';
}
if(tab_name == 'agenda'){
curid = 'dropdownMenuLink_agenda';
}
if(type == 'event_exhibitor'){
curid = 'dropdownMenuLink_exh';
}
$("#"+curid).text(search_name);
/* Display Select hall dropdown value */
}
function delete_events_meta_into(eventtoken) {
var eventKey = `event_MetaInfo_${eventtoken}`;
getIntaoDb(dbName).then((db) => {
let dataStoreName = EVENTStore;
const transaction = db.transaction(dataStoreName, 'readwrite');
const objectStore = transaction.objectStore(dataStoreName);
const request = objectStore.openCursor();
request.onsuccess = (event) => {
const cursor = event.target.result;
if (cursor) {
const index_key = cursor.primaryKey;
if (index_key.includes(eventKey)) {
objectStore.delete(index_key);
}
cursor.continue();
}
};
}).catch((err) => {
console.log('Error in deleting data store');
});
}
function updateDashboardInfo(eventtoken){
var eventSavedKey = `event_Saved_${eventtoken}`;
loader(true, $("#dashboard_loaderArea"));
IntaoDB.getItem(objStores.event_store.name, eventSavedKey).then((data) => {
if (data?.values) {
getEventLobbyDashboard(eventtoken,data?.values,hall_color_array);
}else{
const handleDashboardResponse = (response) => {
// console.log('handleResponse : '+response);
// console.log(response);
if (response.success) {
IntaoDB.setItem(objStores.event_store.name, {
taoh_data: eventSavedKey,
values: response,
timestamp: Date.now()
});
getEventLobbyDashboard(eventtoken,response,hall_color_array);
console.log('---------Updateeventsaved-----1-----'+response);
} else {
//var content = 'No Result Found';
$('#dashboard_list').html('');
$('#my_agenda_default_banner').show();
loader(false, $("#dashboard_loaderArea"));
}
};
$.ajax({
url: _taoh_site_ajax_url,
type: 'POST', // changed to post to avoid caching issues in flexible domain
data: {
action: 'get_event_saved_list',
taoh_action: 'get_event_saved_list',
token: _taoh_ajax_token,
eventtoken: eventtoken,
/* search: (type == 'event_speaker' && tab_name != 'agenda') ? $("#dropdownMenuLink_speaker").text().replace('Select Speaker Hall','') : search,
search_speaker_name : (type == 'event_speaker') ? $("#speaker_search").val() : '' */
},
dataType: 'json',
success: handleDashboardResponse,
error: (xhr) => console.error('Error:', xhr.status)
});
}
});
}
function performSpeakerSearch(){
loader(true, $("#speaker_loaderArea"),30);
search = $("#speaker_search").val();
updateEventMetaInfo(eventtoken, true,'event_speaker',search);
}
/* function getRandomColor() {
const letters = '0123456789ABCDEF';
let color = '#';
for (let i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
} */
function taoh_add_video_chat() {
let data = {
'taoh_action': 'taoh_add_video_chat',
// 'my_token': ntw_room_key,
// 'guest_token': ntw_room_key,
// 'parent_keyslug': ntw_room_key,
'my_pToken': my_pToken,
'network_title': 'Video-Chat'
};
$.post(_taoh_site_ajax_url, data, function (response) {
$('#video_room_join_now_btn i').removeClass('la-spinner la-spin').addClass('fa-video-camera');
$("#video_room_join_confirmation").modal('hide');
// loadCustomRooms();
if (response.my_link) window.open(response.my_link);
}).fail(function () {
$('#video_room_join_now_btn i').removeClass('la-spinner la-spin').addClass('fa-video-camera');
});
}
function readmore(i) {
var dots = document.getElementById("dots_"+i);
var moreText = document.getElementById("more_"+i);
var btnText = document.getElementById("morebtn_"+i);
if (dots.style.display === "none") {
dots.style.display = "inline";
btnText.innerHTML = "Read more";
moreText.style.display = "none";
} else {
dots.style.display = "none";
btnText.innerHTML = "Read less";
moreText.style.display = "inline";
}
}
$(document).ready(function () {
$('#rsvp_search').on('keydown', function (event) {
if (event.key === 'Enter' || event.which === 13) {
event.preventDefault(); // Prevent form submission
performRSVPSearch();
}
});
$('#speaker_search').on('keydown', function (event) {
if (event.key === 'Enter' || event.which === 13) {
event.preventDefault(); // Prevent form submission
performSpeakerSearch();
}
});
$('a[data-toggle="tab"]').on('shown.bs.tab', function (event) {
$('#dropdownMenuLink_agenda').text('Select Hall');
$('#dropdownMenuLink_speaker').text('Select Speaker Hall');
$('#dropdownMenuLink_exh').text('Select Exhibitor Hall');
$("#speaker_search").val("");
updateEventMetaInfo(eventtoken, false);
updateDashboardInfo(eventtoken);
});
});
-->
Or