Black Desert

Black Desert in development by Pearl Abyss is a sandbox MMORPG that features castle sieging, trading, crafting, player housing, parkour, and more.
«13456710
Discussion
Started By
Replies
Views
Most Recent
21
616
7
91
8
277
13
393
23
669
6
185
134
233
0
2
17
3
156
134
0
1
144
49
5
5
12
1
19
2
10
3
64
58
91
26
7
3
61
4
«13456710
"; $(location).append(outputhtml); } function injectStylesheetIntoEditor() { // Add stuff to inline post boxes, if custom was there, find it up! var isFF = !(window.mozInnerScreenX == null); var isIE11 = !!navigator.userAgent.match(/Trident.*rv\:11\./); if($('.wysihtml5-sandbox').length){ $('.wysihtml5-sandbox').each(function(){ // check to see if it has custom ssfound = false; $parentiframe = $(this); if($(this).hasClass("customsheetadded")){ // ssfound = true; if($parentiframe.contents().find('#customcssembed').length){ ssfound = true; } } //console.log(ssfound); //if(!isIE11){ $('link[rel="stylesheet"]').each(function(){ if($(this).attr("href").indexOf("customcss") >= 0 && !ssfound){ if(isFF || isIE11){ $parentiframe.contents().find('head').append(''); } else { $parentiframe.contents().find("head").append($("", { rel: "stylesheet", href: $(this).attr("href"), type: "text/css" })); } $parentiframe.addClass("customsheetadded"); } }); //} }); } } function injectSkin() { $.ajax({ url: "http://www.mmorpg.com/adserver/fetchskin.cfm?section=forums", dataType: 'json', success: function (response) { $('#secondbase').prepend("
"+response.body+"
"); $('#Body').prepend(""); }, error: function (jqXHR, textStatus, errorThrown) { // Do nothing } }); } function injectRecentPosts() { $.ajax({ url: "http://forums.mmorpg.com/discussions.json", dataType: 'json', success: function (response) { //console.log(response); //console.log("ping"); if(response.Discussions.length > 0){ var recentPosts = ""; for(i=0;i<=6;i++){ //var postTime = Date.parse(response.Discussions[i].DateLastComment); var ago = moment((moment.utc(response.Discussions[i].DateLastComment, "YYYY-MM-DD HH:mm:ss"))).fromNow(); //"2015-08-12 15:47:29" var finalUrl = response.Discussions[i].Url; if(response.Discussions[i].LastCommentID > 0){ finalUrl = 'http://forums.mmorpg.com/discussion/comment/'+response.Discussions[i].LastCommentID+'/#Comment_'+response.Discussions[i].LastCommentID; } recentPosts = recentPosts + ''+ ''+ '
'+ ''+response.Discussions[i].Name+''+ ' in '+response.Discussions[i].Category+''+ '
'+ ''+ ''+ '
'+response.Discussions[i].FirstName+''+response.Discussions[i].FirstName+'
'+ ''+ ''+ '
'+response.Discussions[i].CountComments+'
'+ ''+ ''+ '
'+response.Discussions[i].CountViews+'
'+ ''+ ''+ '
'+response.Discussions[i].LastName+''+response.Discussions[i].LastName+' '+ago+'
'+ ''+ ''; } var postsHead = ""+ ""+ "
Thread
"+ ""+ ""+ "
OP
"+ ""+ ""+ "
Comments
"+ ""+ ""+ "
Views
"+ ""+ ""+ "
Latest Post
"+ ""+ ""; if($("#CategoryRecentPosts").length){ $('#recentpostsbody').replaceWith(recentPosts); } else { $('#Content').prepend("

Recent Posts(Updates every 10 seconds)

"+postsHead+""+recentPosts+"
"); } setTimeout(injectRecentPosts,10000); } }, error: function (jqXHR, textStatus, errorThrown) { // Do nothing } }); } function forumsLandingUpdates() { // Pull skin into forums injectSkin(); // Global changes $('.FilterMenu .Reactions-BestOf').hide(); // Rename activities link var $actlink = $('.FilterMenu .Activities a'); try { if(typeof $actlink !== undefined){ var newstring = $actlink.html().replaceAll(" Activity", " Leaderboard"); $actlink.html(newstring); } } catch(err) {} // Remove bestof link $('.BestOf','#Head').closest('li').remove(); // Add header to page. var forumheader = "

"; $('#Panel').prepend(forumheader); // Move new disussion button down var $BoxDiscussionFilter = $('.BoxDiscussionFilter'); $BoxDiscussionFilter.detach(); $('.vhinside', '.vanillaHeader').append($BoxDiscussionFilter); // Move breadcrumbs var $Breadcrumbs = $('.Breadcrumbs'); $Breadcrumbs.detach(); $('.vanillaHeader').prepend($Breadcrumbs); $('.HomeCrumb a span','.Breadcrumbs').html("Discussions"); // Remove some stuff, case we can $('.Participated,.MyDiscussions,.QnA-UnansweredQuestions','.BoxDiscussionFilter').hide(); // Replace username links //$('a.Username,a.UserLink').each(function(){ //$(this).attr('href', 'http://www.mmorpg.com/profile.cfm/username/'+$(this).html()); //}); // Copy rank information into other places var rankCss = "rankOne"; var $rankcontainer = $('.MeBox .PhotoWrap'); if($rankcontainer.hasClass('rankTwo')){ rankCss = 'rankTwo'; } else if($rankcontainer.hasClass('rankThree')){ rankCss = 'rankThree'; } else if($rankcontainer.hasClass('rankFour')){ rankCss = 'rankFour'; } else if($rankcontainer.hasClass('rankFive')){ rankCss = 'rankFive'; } $('.WhoIs','.MeBox').addClass(rankCss); $('.MItem.AuthorLocation','.MessageList').remove(); setTimeout(injectStylesheetIntoEditor,1000); var isHome = false; var isCategoryList = false; if($('#vanilla_categories_index').length && $('#vanilla_categories_index').hasClass('Section-CategoryList')){ // check for other category lists var classtring = $('#vanilla_categories_index').attr("class"); if((classtring.indexOf("Section-Category-") > -1)){ isHome = false; isCategoryList = true; } else { isHome = true; } } // Ad the 300x250 ad to the top right corner of vanillaHeader if($('.MeBox','#Head').hasClass('MeBox-SignIn') || $('.SignInLinks','#Head').length){ $('.vanillaHeader').addClass('hasvhab'); $('.vanillaHeader').append("
"); $('.vhinside','.vanillaHeader').append("
Don’t like that big ad over to the right? Login to disable the ad.
"); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1349395187216-2'); }); } // Page specific things if(isHome){ injectCPALinks('.popularGames'); // HOMEPAGE $('.vanillaHeader h1').html("Discussion Forums"); var gameblock = "
"+ ""+ "
"+ "
"; if($('.DismissMessage.InfoMessage').length){ $(gameblock).insertBefore($('.DismissMessage.InfoMessage')); } else { $('#Panel').append(gameblock); } var recentpostsblock = "
Recent Posts
"; //$(recentpostsblock).insertBefore($('.popularGames')); $('.gamebanner.swtor').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_swtor_banner_r0.jpg?cb=3")'}); $('.gamebanner.gw2').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_gw2_banner_r0.jpg?cb=1")'}); $('.gamebanner.ffxiv').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_ffxiv_banner_r0.jpg?cb=1")'}); $('.gamebanner.teso').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_teso_banner_r0.jpg?cb=1")'}); $('.gamebanner.sf').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_sf_banner_r0.jpg?cb=1")'}); $('.gamebanner.sc').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_sc_banner_r0.jpg?cb=1")'}); $('.gamebanner.aa').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_aa_banner_r0.jpg?cb=1")'}); $('.gamebanner.eqn').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_eqn_banner_r0.jpg?cb=1")'}); $('.gamebanner.wow').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_wow_banner_r0.jpg?cb=1")'}); $('.gamebanner.h1z1').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_h1z1_banner_r0.jpg?cb=1")'}); $('.gamebanner.bd').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_bd_banner_r0.jpg?cb=1")'}); $('.gamebanner.ws').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_ws_banner_r0.jpg?cb=1")'}); $('.gamebanner.eve').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_eve_banner_r0.jpg?cb=1")'}); $('.gamebanner.bladesoul').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_bladesoul_banner_r0.jpg?cb=1")'}); $('.gamebanner.cf').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_cf_banner_r0.jpg?cb=1")'}); $('.gamebanner.pan').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_pan_banner_r0.jpg?cb=1")'}); $('.gamebanner.cu').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_cu_banner_r0.jpg?cb=1")'}); $('.gamebanner.repop').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_repop_banner_r0.jpg?cb=1")'}); $('.gamebanner.sota').css({'background-image':'url("http://images.mmorpg.com/images/vanilla/radiance/game_sota_banner_r0.jpg?cb=2")'}); $('.HomepageTitle,.PageDescription,.CategoryFilter,.NewDiscussion,.Breadcrumbs').hide(); $('.Participated,.MyDiscussions,.QnA-UnansweredQuestions','.BoxDiscussionFilter').hide(); $('.PanelColumn').css({"padding-top":"0px"}); $('.CategoryGroup', '#Content').each(function(){ $(this).find('h2.H').addClass('collapsebox'); }); $('#Content').addClass('categoryHomepageContent'); // Remove reported-posts box, add link to top. if($('#CategoryGroup-reported-posts').length){ $('.vhinside .FilterMenu').append('
  • Reported Posts
  • '); $('#CategoryGroup-reported-posts').remove(); } // Add collapseable sections /* $("body").off("click", ".collapsebox").on("click", ".collapsebox", function (e) { e.preventDefault(); var $parentBox = $(this).closest('.CategoryGroup'); if($parentBox.hasClass('closed')){ $parentBox.removeClass('closed'); } else { $parentBox.addClass('closed'); } }); */ injectRecentPosts(); } else if(isCategoryList){ // SUB-CATEGORIES PAGE $('.vanillaHeader h1').html("Discussions / "+$('h1.HomepageTitle').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); $('.Participated,.MyDiscussions,.QnA-UnansweredQuestions','.BoxDiscussionFilter').hide(); $('.NewDiscussion.Big.Primary','#Panel').hide(); $('.HomepageTitle,.PageDescription','#Content').addClass('Hidden'); // Move New Discussion Button //var $newButton = $('.NewDiscussion.Big.Primary','#Panel').hide(); //$newButton.detach().addClass('movedNewDiscussion'); //$('.vhinside').prepend($newButton); // Remove highlight icon from navigation buttons $('.BoxDiscussionFilter .FilterMenu li','.vanillaHeader').removeClass('Active'); // Move top pager stuff around var $pagerControl = $('.PageControls.Top'); $pagerControl.detach().addClass('movedtoppager'); $('.vhinside','.vanillaHeader').append($pagerControl); // Check to see if there are any posts/whatever, if just one sub, move to that. //var countSubs = $('li','.ChildCategoryList').length; //if(countSubs == 1){ // window.location.assign($('.ChildCategoryList li h3 a').attr("href")); //} // cpa links $('#Content').addClass('hasPushSidebar'); $("
    ").insertBefore('#Content'); injectCPALinks('.popularGames'); } else if($('#vanilla_categories_index').length && $('h2.ChildCategories-Title').length){ // SUB-CATEGORIES PAGE $('.vanillaHeader h1').html("Discussions / "+$('h1.HomepageTitle').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); $('.Participated,.MyDiscussions,.QnA-UnansweredQuestions','.BoxDiscussionFilter').hide(); $('.NewDiscussion.Big.Primary','#Panel').hide(); $('.HomepageTitle,.PageDescription','#Content').addClass('Hidden'); // Move New Discussion Button //var $newButton = $('.NewDiscussion.Big.Primary','#Panel').hide(); //$newButton.detach().addClass('movedNewDiscussion'); //$('.vhinside').prepend($newButton); // Remove highlight icon from navigation buttons $('.BoxDiscussionFilter .FilterMenu li','.vanillaHeader').removeClass('Active'); // Move top pager stuff around var $pagerControl = $('.PageControls.Top'); $pagerControl.detach().addClass('movedtoppager'); $('.vhinside','.vanillaHeader').append($pagerControl); // Check to see if there are any posts/whatever, if just one sub, move to that. //var countSubs = $('li','.ChildCategoryList').length; //if(countSubs == 1){ // window.location.assign($('.ChildCategoryList li h3 a').attr("href")); //} // cpa links $('#Content').addClass('hasPushSidebar'); $("
    ").insertBefore('#Content'); injectCPALinks('.popularGames'); } else if($('#vanilla_categories_index.Section-DiscussionList').length){ // THREAD LIST VIEW eg. /categories/the-pub-at-mmorpg-com // Move new disussion button down var $newDiscussion = $('.NewDiscussion.ButtonGroup.Primary.Multi.Big', '.BoxNewDiscussion'); $newDiscussion.detach().addClass('movedNewDiscussionButton movedisbutton'); $('.P.PageDescription,.H.HomepageTitle').hide();//('frameitmmo'); // Set header $('.vanillaHeader h1').html("Discussions / "+$('.H.HomepageTitle').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); // Move top pager stuff around var $pagerControl = $('.PageControls.Top'); $pagerControl.detach().addClass('movedtoppager'); $('.vhinside','.vanillaHeader').append($pagerControl); // Remove highlight icon from navigation buttons $('.BoxDiscussionFilter .FilterMenu li','.vanillaHeader').removeClass('Active'); $('.AuthorLocation').remove(); // cpa links $('#Content').addClass('hasPushSidebar'); $("
    ").insertBefore('#Content'); injectCPALinks('.popularGames'); } else if($('.BoxProfileFilter').length || $('#dashboard_profile_edit').length){ // PROFILE PAGE $('.vanillaHeader h1').html("Profile / "+$('.User H1.H').html()).addClass('profileheader'); if($('.Rank', '.profileheader').length){ $('.Rank', '.profileheader').html("("+$('.Rank', '.profileheader').html()+")"); } var $temp = $('.User .About .About'); $('.vanillaHeader .info').html($temp.clone()); $temp.remove(); // Move edit up there if($('.-EditProfile').length){ var $editprofile = $('.-EditProfile'); $editprofile.detach().addClass('movedEdit'); $('.profileheader','.vanillaHeader').append($editprofile); } if($('.NavButton.MemberButtons','.ProfileOptions').length){ var $sendmessage = $('.NavButton.MemberButtons','.ProfileOptions'); $sendmessage.detach().addClass('movedSend'); $('.profileheader','.vanillaHeader').append($sendmessage); } $('.vanillaHeader .vhinside').hide(); $('#Content').addClass('profileinside'); // Move stuff around to sidebar var $badges = $('#Badges','#Panel'); $badges.detach().addClass('movedBadges'); $('.ProfileOptions','#Content').prepend($badges); var $boxprofilefilter = $('.BoxFilter.BoxProfileFilter','#Panel'); $boxprofilefilter.detach().addClass('movedFilter'); $('.ProfileOptions','#Content').prepend($boxprofilefilter); if($('#SharedFingerprint').length){ var $sharedFingerprint = $('#SharedFingerprint'); $sharedFingerprint.detach().addClass('movedShared'); $('.ProfileOptions','#Content').prepend($sharedFingerprint); } // Edit profile only areas if($('#dashboard_profile_edit').length){ var $sidemenu = $('.SideMenu','#Panel'); $sidemenu.detach().addClass('movedFilter'); $('.ProfileOptions','#Content').prepend($sidemenu); $('.vanillaHeader h1').html("Profile / "+$('.UserBox .Username','#Panel').html()).addClass('profileheader'); $('#Content').addClass('profileedit'); $( "
    " ).insertAfter( ".profileedit" ); } // Add profile information to the sidebar. if($('.About','.vanillaHeader').length){ var $profileinfo = $('.About','.vanillaHeader').clone(); $('.ProfileOptions','#Content').prepend($('
    ', {class: 'movedProInfo'})); $('.movedProInfo','#Content').prepend($profileinfo); $('.movedProInfo','#Content').prepend('

    About

    '); $('.movedProInfo','#Content').append('
    '); $('.Email,.Roles,.IP,.ProfileExtend','.vanillaHeader .About').hide(); } if($('.Points','.vanillaHeader').length){ var rankclass = 'rankOne'; var $profilephotocontainer = $('.PhotoWrap','#Panel'); if($profilephotocontainer.hasClass('rankTwo')){ rankclass = 'rankTwo'; } else if($profilephotocontainer.hasClass('rankThree')){ rankclass = 'rankThree'; } else if($profilephotocontainer.hasClass('rankFour')){ rankclass = 'rankFour'; } else if($profilephotocontainer.hasClass('rankFive')){ rankclass = 'rankFive'; } $('.ProfileOptions','#Content').prepend($('
    ', {class: 'movedpoints '+rankclass})); $('.movedpoints','.ProfileOptions').html('

    Points

    '+$('dd.Points','.vanillaHeader').html()+''); } // Add photo last to sidebar var $profilephoto = $('.PhotoWrap','#Panel'); $profilephoto.detach().addClass('movedPhoto'); $('.ProfileOptions','#Content').prepend($profilephoto); // Move to primary bar var $reactions = $('.ReactionsWrap'); $reactions.detach().addClass('movedReactions'); $('.Profile','#Content').prepend($reactions); // Remove about parts from header $('.Badges, .Name, .Visits, .Points','.vanillaHeader .About').remove() // remove duplicate username header $('.User','.Profile').remove(); // Add clear to prevent long floats, especially sidebar $('#Content').append($('
    ', {class: 'clear'})); // Edit profile only areas if($('#dashboard_profile_edit').length){ $('.UserBox,.vanillaHeader .info','#Panel').remove(); } } else if($('#ConversationForm').length){ // FORM FOR NEW CONVERSATION $('.vanillaHeader h1').html($('.ConversationForm .H').html()); $('.vanillaHeader .info').html(""); $('.vanillaHeader .vhinside').hide(); $('#Panel,#Content').addClass('newmessagemoved'); } else if($('#conversations_messages_inbox').length || $('#conversations_messages_all').length){ // INBOX PAGE $('.vanillaHeader h1').html("Inbox"); $('.vanillaHeader .info, #Content h1.H').hide(); // Move new disussion button down var $newDiscussion = $('.NewConversation.Primary', '#Panel'); $newDiscussion.detach().addClass('movedNewDiscussionButton movedisbutton'); $('.vhinside').prepend($newDiscussion); $('.PageControls','#Content').hide(); } else if($('#conversations_messages_index').length){ // PRIVATE MESSAGE VIEW $('.vanillaHeader h1').html("Private Message"); $('.vanillaHeader .info, #Content h1.H').hide(); // Move buttons into top area var $headerButtons = $('.Button.BigButton', '#Panel'); $headerButtons.detach().addClass('movedHeaderConversationButtons'); $('.vhinside').prepend($headerButtons); $('#Panel, #Content').addClass('movedLeaderboard movedconversationview'); $('#Content').prepend($('
    ', {class: 'movedleaderboardboxes'})); // Move stuff around to sidebar var $peopleboxes = $('.Box.InThisConversation,.Box.AddPeople','#Panel'); $peopleboxes.detach().addClass('movedLeaderboardbox'); $('.movedleaderboardboxes', '#Content').prepend($peopleboxes); } else if($('.DataTable.DiscussionsTable').length){ // THREAD LIST VIEW // Move new disussion button down var $newDiscussion = $('.NewDiscussion.ButtonGroup.Primary.Multi.Big', '.BoxNewDiscussion'); $newDiscussion.detach().addClass('movedNewDiscussionButton movedisbutton'); $('.vhinside').prepend($newDiscussion);//.insertAfter('.P.PageDescription'); var $pageControlls = $('.PageControls.Top').hide(); //pageControlls.detach(); //$('.P.PageDescription').append($pageControlls); $('.P.PageDescription,.H.HomepageTitle,.Breadcrumbs').hide();//('frameitmmo'); $('.vanillaHeader h1').html("Discussions / "+$('.H.HomepageTitle').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); // if tagged list, adjust the new discussion button if($('body').hasClass('tagged') && !$('body').hasClass('vanilla_categories_index')){ var pathname = window.location.pathname; var parts = pathname.split("/"); if(parts.length){ var tag = parts[parts.length-1]; if(tag != "tagged" && tag != "discussions" && tag != "undefined"){ $('a','.movedNewDiscussionButton').each(function(){ $(this).attr("href", $(this).attr('href')+"/other-games?tags="+tag); }); } } } // cpa links $('#Content').addClass('hasPushSidebar'); $("
    ").insertBefore('#Content'); injectCPALinks('.popularGames'); injectTower('.pushtower'); } else if($('.MessageList.Discussion','#Content').length){ // POSTS VIEW $('.vanillaHeader h1').html("Discussion / "+$('.PageTitle H1').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); $('#Content').addClass('mmoTightThreadPosts'); var $newDiscussion = $('.NewDiscussion.Big', '.BoxNewDiscussion'); $newDiscussion.hide(); var $threadControlls = $('.Options','#Item_0'); $threadControlls.detach().addClass('topPostThreadControls'); $('.vanillaHeader').prepend($threadControlls); // cpa links $('#Content').addClass('hasPushSidebar').addClass('psposts'); $("
    ").insertBefore('#Content'); injectCPALinks('.popularGames'); } else if($('.ActivityFormWrap').length){ // ACTIVITY/LEADERBOARDS $('.vanillaHeader h1').html("Leaderboard / Activity"); $('.vanillaHeader .vhinside').hide(); $('#Panel, #Content').addClass('movedLeaderboard'); $('#Content').prepend($('
    ', {class: 'movedleaderboardboxes'})); // Move stuff around to sidebar var $leaderboarda = $('.Box.Leaderboard','#Panel'); $leaderboarda.detach().addClass('movedLeaderboardbox'); $('.movedleaderboardboxes', '#Content').prepend($leaderboarda); // Move stuff around to sidebar var $leaderboardb = $('.Box.Leaderboard','#Panel'); $leaderboardb.detach().addClass('movedLeaderboardbox'); $('.movedleaderboardboxes', '#Content').prepend($leaderboardb); } else if($('#DiscussionForm').length){ // NEW DISCUSSION PAGE $('#Panel').show(); $('.vanillaHeader h1').html("New Discussion"); var $pageControlls = $('.BoxButtons.BoxNewDiscussion'); $pageControlls.detach(); } else if($('.Badge-Details','#Content').length){ // BADGE DETAILS PAGE $('.vanillaHeader h1').html("Badge Details"); $('.vanillaHeader .info').hide();//.html($('.Badge-Details p').html()); $('.vanillaHeader .vhinside, #Badges').hide(); $('#Content').addClass('movedBadgesPage'); } else if($('#dashboard_search_index').length){ // SEARCH LIST PAGE $('.vanillaHeader h1').html("Discussions Search");// / "+$('.PageTitle H1').html()); //$('.vanillaHeader .info').html($('.PageDescription').html()); $('.info','.vanillaHeader').hide(); var $searchform = $('.SearchForm','#Content'); $searchform.detach().addClass('movedSearchForm'); $('.vhinside', '.vanillaHeader').append($searchform); } else { // ANY OTHER PAGE $('.vanillaHeader h1').html("Discussion / "+$('.PageTitle H1').html()); $('.vanillaHeader .info').html($('.PageDescription').html()); $('#Content').addClass('mmoTightThreadPosts'); var $newDiscussion = $('.NewDiscussion.Big', '.BoxNewDiscussion'); $newDiscussion.hide(); } } function checkForEditor(){ injectStylesheetIntoEditor(); } $(function () { forumsLandingUpdates(); $('#Body').bind("DOMSubtreeModified", injectStylesheetIntoEditor); }); function Rndm(max) { return 1 + Math.floor(Math.random() * max); } function mmoSessionKeepAlive(){ var strReq = 'http://www.mmorpg.com/pSession/index.cfm?random=' + Rndm(10000); var imgObj = document.getElementById('sesHolder'); if(imgObj){ imgObj.src = strReq; } }