1 of 32
• Run DMC, Bob Mould and Val Kilmer: Fun Fun Fun Fest 2012 Day 1
• PiL, Refused, A$AP Rocky: Fun Fun Fun Fest 2012 Day 2
• Run DMC memorialize Jam Master J
• 5){
VVM.debug.p('LF Login Failed');
VVM.delCookie(me.cookieName);
}else{
VVM.debug.p('LF Login Check Attempt: '+attempt);
window.setTimeout(function(){me.clean(true, attempt)}, 1000);
}
}
}
// ANON Clean Up
if(me.anon == true){
$('li > a[title="Edit Profile"]', '.fyre-box-list').parent('li').remove();
}
// Create Account Button
if (!MVN.user && !VVM.getCookie(MVN.LF.anonName)) {
var $el = $('div.fyre-login-bar', '#livefyre');
if($el.length && $el.children().length == 1 && !$('.fyre-user-loggedin', $el).length){
$el.append(' or Create Account');
}
}
// Each Comment/Reply
$('.fyre-comment-wrapper').each(function(){
var $el = $('.fyre-comment-user[data-author-id^="anon_"]', this);
if($el.length){
// Comment Avatar
$('a', $el).replaceWith($('a img', $el)
.attr('title', 'Anonymous User')
);
// Comment Author
$el = $el.parent().find('header a');
$el.replaceWith($('')
.addClass('anon_username')
.text($el.text())
.attr('title', 'Anonymous User')
);
}
// Comment Mentions
$('a.fyre-mention[resource^="acct:anon_"]', this).each(function(){
$(this).replaceWith($('')
.addClass('anon_username')
.text('@' + $('span[property="name"]', this).text())
.attr('title', 'Anonymous User')
);
});
// Comment Likes
$('.fyre-avatar', this).filter(function(){
return ($('img[src*="/anon/"]', this).length) ? true : false;
}).each(function(){
$('a', this).replaceWith($('a img', this)
.attr('title', 'Anonymous User')
);
})
$(this).filter('[class*="fyre-comment-author-tag-"]').each(function () {
var classes = this.className.split(' '), tags, i,
$this = $(this), $name = $this.find('.fyre-comment-username');
if ($name.next().is('.fyre-moderator')) {
$name.next().remove();
}
for(i = 0; i < classes.length; i++) {
if (classes[i].indexOf('fyre-comment-author-tag-') === 0) {
tag = classes[i].split('-').pop();
$this.addClass('has-mvn-badge').removeClass(classes[i])
$name.after('');
}
}
});
});
});
},
getSID: function(){
var src_desc = '';
if(window.OAS_query_category||false){
switch(OAS_query_category.toLowerCase().replace(/\s/,'')){
case 'arts':
src_desc = 1188;
break;
case 'film':
case 'movies':
src_desc = 1189;
break;
case 'music':
src_desc = 1190;
break;
case 'news':
src_desc = 1191;
break;
case 'restaurants':
case 'dining':
case 'food':
src_desc = 1192;
break;
}
}
return '8|53|'+src_desc;
}
}
MVN.load({
'LF':{
component: LF_Component,
params: {}
}
});
var page_title = $(document.getElementsByTagName('head')).find('meta[property="og:title"], meta[name="webtitle"]').attr('content');
if (!page_title) {
page_title = $(document.getElementsByTagName('title')).text();
}
window.conv = fyre.conv.load({
network: 'myvoicenation.fyre.co',
authDelegate: MVN.LF.binds(),
strings: {
shareDefaultText: page_title ? "Check out %s's post on \"" + page_title + "\"!" : "Check out %s's post!"
}
}, [{
'articleId': 'MzgxMTMyMzEtMQ==',
'checksum': '78732d13db13dd0881522d5fb9bbac49',
'collectionMeta': 'eyJ0eXAiOiJqd3QiLCJhbGciOiJIUzI1NiJ9.eyJ0aXRsZSI6IlR1cmJvbmVncm8sIERlIExhIFNvdWwgYW5kIEVkd2FyZCBTaGFycGU6IEZ1biBGdW4gRnVuIEZlc3QgMjAxMiBEYXkgMyAtIEhvdXN0b24gLSBTbGlkZXNob3dzIiwidXJsIjoiaHR0cDpcL1wvd3d3LmhvdXN0b25wcmVzcy5jb21cL3NsaWRlc2hvd1wvdHVyYm9uZWdyby1kZS1sYS1zb3VsLWFuZC1lZHdhcmQtc2hhcnBlLWZ1bi1mdW4tZnVuLWZlc3QtMjAxMi1kYXktMy0zODExMzIzMVwvMVwvIiwidGFncyI6ImhvdSxzbGlkZXNob3csbXVzaWMsaG91X3NsaWRlc2hvdyxob3VfbXVzaWMsc2xpZGVzaG93X211c2ljLGhvdV9zbGlkZXNob3dfbXVzaWMiLCJjaGVja3N1bSI6Ijc4NzMyZDEzZGIxM2RkMDg4MTUyMmQ1ZmI5YmJhYzQ5IiwidHlwZSI6IkxpdmVDb21tZW50cyIsImFydGljbGVJZCI6Ik16Z3hNVE15TXpFdE1RPT0ifQ.Zum1G0ujbGd3soY2xF-2x4Uh4X13gYwRCSYGfRWNOlg',
'el': 'livefyre',
'siteId': '304534',
'authPageReload': true
}], function(widget){
MVN.LF.login();
widget.on('initialRenderComplete', MVN.LF.clean);
widget.on('commentPosted', MVN.LF.clean);
widget.on('commentFlagged', MVN.LF.clean);
widget.on('commentLiked', MVN.LF.clean);
widget.on('commentShared', MVN.LF.clean);
widget.on('commentCountUpdated', function(data){
MVN.LF.clean();
MVN.queue(function(){
$('[data-lfv3-counter]').text(data);
})
});
MVN.LF.change = function(conv){
MVN.queue(function(){
widget.changeCollection(conv);
})
}
MVN.queue(function(){
// Register Button
$('.lfreg', '#livefyre').live('click', function(){
if(!MVN.user){
MVN.omni.actionSrc = 'lf';
MVN.omni.action(MVN.omni.buildAction('join', {sid: MVN.LF.getSID()}));
}else{
MVN.LF.login();
}
});
// hack our hovercards onto the livefyre user imgs/links
var de_live_gate = function($el, sel, ev, cb) {
if ($el.delegate) {
$el.delegate(sel, ev, cb);
} else if ($el.live) {
$el.find(sel).live(ev, cb);
}
};
de_live_gate($('#livefyre'), '.fyre-comment-wrapper', 'mouseenter', function(){
if (this.attributes.hasOwnProperty('mvn-hovercard-en')) return;
var $this = $(this),
$user = $this.find('.fyre-comment-user'),
uid = $user.data('author-id');
if (!uid || uid.indexOf('anon_') === 0) {
$this.attr('mvn-hovercard-en', false);
return;
}
$user.add($this.find('.fyre-comment-username[href]'))
.attr('data-omni-user', uid.split('@').slice(0,1).join())
.data('omni-username', $user.data('from'))
.data('omni-userphoto', $user.find('img').attr('src'));
$this.attr('mvn-hovercard-en', true);
});
// Move Notification Window
var setNotifyPosition = function(){
$('.fyre-notifier-container').css('right', function(){
return ($('body').width() - $('#livefyre').offset().left - parseInt($(this).css('width').replace('px', '')));
}
);
}
setNotifyPosition();
$(window).bind('resize scroll', setNotifyPosition);
})
});
});
Find everything you're looking for in your city
Find the best happy hour deals in your city
Get today's exclusive deals at savings of anywhere from 50-90%
Check out the hottest list of places and things to do around your city
