URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Create A Forum - Support Forums
  HTML https://support.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Create a Forum Codes and Support
       *****************************************************
       #Post#: 15222--------------------------------------------------
       Forum is broken, Possibly something to do with code.
       By: CyanProductions Date: February 5, 2015, 12:53 pm
       ---------------------------------------------------------
       When I go to any page on my forums it goes to this:
  HTML http://cyanproductions.createaforum.com/NaN
       page and constantly
       refreshes. I tried disabling JavaScript but that didn't work.
       #Post#: 15223--------------------------------------------------
       Re: Forum is broken, Possibly something to do with code.
       By: CreateAForum Date: February 5, 2015, 3:08 pm
       ---------------------------------------------------------
       Cleared your footer codes here is the old codes
       [code]
       <script>
       //Created by xboi209
       //Version: Beta 02.06.13
       if (location.href == smf_scripturl + "?action=shop") {
       $("#main_content_section").html("<center><div
       id='shop'><table frame='box' cellspacing='10'
       width='600'><tr><th>Item</th><th>Description</th><th>Price</th><
       th>Buy</th></tr><tbody
       id='row'></tbody></table><></center>");
       }
       if (location.href == smf_scripturl + "?action=shop;page=buy") {
       $("#main_content_section").html("<center><div
       id='shop_buy'><table frame='box' cellspacing='10' width='600'
       id='shop_table'><tr><th>Are you sure?</th></tr><tr><td><tbody
       id='buy_formtest'></tbody></td></tr></table><div
       id='buy_button'><><></center><br>");
       purchase();
       }
       if (location.href == smf_scripturl +
       "?action=profile;area=forumprofile;updated" &&
       localStorage.getItem("purchased") == "true") {
       localStorage.setItem("purchased","false")
       window.location = smf_scripturl +
       "?action=shop;page=purchased";
       }
       if (location.href == smf_scripturl +
       "?action=shop;page=purchased") {
       $("#main_content_section").html("<center><div
       class='windowbg' id='profile_success'>You have successfully
       purchased " + localStorage.getItem("item") + "!<br><a
       href='"+smf_scripturl+"?action=shop'>Return to
       Shop</a><br><br><a
       href='"+smf_scripturl+"?action=pm;sa=send;u=1'>Notify
       CyanGaming</a></center>");
       }
       if (location.href >= smf_scripturl + "?action=profile") {
       $.get(smf_scripturl + "?action=shop", function(data){
       //        console.log($(data).find("#row"));
       //        localStorage.setItem("item1",$("#shop >
       a").attr("data-item"));
       });
       }
       function purchase(){
       
       $("#buy_button").load(smf_scripturl+"?action=profile;area=forump
       rofile
       #main_admsection", function() {
       $("#creator").appendTo("#main_content_section").wrap("<div
       id='center_purchase' style='margin: 0 auto;width: 67px;' />");
       $("div.righttext").prependTo("#creator");
       $("input[value='Change profile']").attr("value","Purchase");
       
       $("input[value='Purchase']").click(function(){localStorage.setIt
       em("purchased","true")});
       $("#buy_formtest").prepend("<b>Item:</b>
       "+localStorage.getItem("item")+"<br><b>Description:</b>
       "+localStorage.getItem("description")+"<br><b>Price:</b>
       "+localStorage.getItem("price"));
       $("#creator >
       div.cat_bar,p.windowbg.description,div.windowbg2:not(input[value
       ='Purchase'])").hide();
       $("input[name='customfield[cust_items]']").val(
       $("input[name='customfield[cust_items]']").val() + "{" +
       localStorage.getItem("item") + "}" );
       $("input[name='customfield[cust_cyanco]']").val(
       $("input[name='customfield[cust_cyanco]']").val() -
       localStorage.getItem("price"));
       $("input[name='karma_good']").val(
       $("input[name='karma_good']").val() -
       localStorage.getItem("amount"));
       $(smf_scripturl+"?action=profile;area=account
       #main_admsection", function() {
       $("input[name='customfield[cust_purcha]']").val(
       $("input[name='customfield[cust_purcha]']").val() +
       localStorage.getItem("code"));
       });
       });
       }
       function main_shop(amount, item, description, price, code) {
       $("#row").append("<tr><td align='middle' id='"+item+"'>" +
       item + "</td><td align='middle' id='"+description+"'>" +
       description + "</td><td align='middle' id='"+price+"'>" + price
       + "</td></td><td align='middle'><a
       href='"+smf_scripturl+"?action=shop;page=buy'
       data-item='"+item+"' data-description='"+description+"'
       data-price='"+price+"' data-amount='"+amount+"'
       data-code='"+code+"'>Purchase</a></tr>");
       $("td > a").click(function(){
       localStorage.setItem("item",$(this).attr("data-item"));
       
       localStorage.setItem("description",$(this).attr("data-descriptio
       n"));
       
       localStorage.setItem("price",$(this).attr("data-price"));
       
       localStorage.setItem("amount",$(this).attr("data-amount"));
       localStorage.setItem("code",$(this).attr("data-code"));
       });
       }
       main_shop("-1", "1 Thank", "Increase your reputation by 1",
       "250", "(:#001:)");
       main_shop("-10", "10 Thanks", "Increase your reputation by 10",
       "2000", "(:#002:)");
       main_shop("-100", "100 Thanks", "Increase your reputation by
       100", "17500", "(:#003:)");
       main_shop("0", "Background Image", "Gives your profile a custom
       image", "5000", "(:#004:)");
       </script>
       <script>/*Created by Xboi209 -
       11.13.12*/$("input:not(:password)").attr("x-webkit-speech","x-we
       bkit-speech");$("textarea[name='message']").each(function(){var
       $this=$(this);$(this).after("<form
       action='javascript:void(0);'><input type='text'
       class='copy_speech' size='100'
       x-webkit-speech='x-webkit-speech'></form><a href='javascript:;'
       class='append_speech'>Copy text to
       textarea</a>");$("a.append_speech").click(function(){$this.appen
       d($(this).closest("div").children("form").children("input.copy_s
       peech").val())})});</script>
       <script>if(/action=admin/i.test(location.href)||/action=admin;ar
       ea=index;*/i.test(location.href)){$("#smfAnnouncements").html(""
       );$.ajax({url:"
  HTML http://xboi209.comule.com/server/caf_announcements.php",success:function(data){$("#smfAnnouncements").wrap("<div<br
       />id='proxy_content'
       />").replaceWith($(data).find("td.subject.windowbg2 > div >
       span:lt(8)"));$("#proxy_content > span > a
       ").append("<br>")}})}</script>
       <script>function
       xboi209_refreshwhosonline(seconds){if(location.href==smf_scriptu
       rl+"?action=who"){setInterval(function(){$("#whos_online").load(
       smf_scripturl+"?action=who
       #whos_online")},seconds)}}xboi209_refreshwhosonline("5");</scrip
       t>
       <script type="text/javascript">
       function GroupImage(Group, Image){
       var PostGroup = document.getElementsByTagName("li");
       for(x=0;x<PostGroup.length;x++){
       if(PostGroup[x].className === "membergroup" &&
       PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
       
       $(PostGroup[x]).parent().prev().find("a:last").prepend("<img
       src='" + Image + "' />");
       };
       if(PostGroup[x].className !== "membergroup" &&
       PostGroup[x].className === "postgroup" &&
       PostGroup[x].innerHTML.toLowerCase() === Group.toLowerCase()){
       
       $(PostGroup[x]).parent().prev().find("a:last").prepend("<img
       src='" + Image + "' />");
       };
       };
       };
       //GroupImage("Owner", "
  HTML http://oi57.tinypic.com/2wmj5ev.jpg");
       //GroupImage("Co-Owner",
       "
  HTML http://png-5.findicons.com/files/icons/1243/hello_kitty/16/bow_pink.png");
       //GroupImage("Helper", "
  HTML http://oi58.tinypic.com/18hc3o.jpg");
       </script>
       <script type="text/javascript">
       $('<img class="inline" src="/Images/Icons/info.png" />')
       
       .prependTo('a.color[href$='
  HTML http://cyanproductions.createaforum.com/index.php?action=profile;u=1']');
       </script>
       <script type="text/javascript">
       $('<img />').attr({
       
       src:'
  HTML http://fc08.deviantart.net/fs25/f/2008/101/c/5/war_skull_16x16__by_Xicidal.gif',
       width:'16',
       height:'16'
       }).prependTo($('<a />').attr({
       
       href:'http=//cyanproductions.createaforum.com/index.php?action=p
       rofile;u=1'
       })
       </script>
       <script type='text/javascript'>
       /* Image Changes on Page
       SMF For Free 2009 - WWX */
       function swap_img(){
       var forumurl = "cyanproductions";
       var img_b = new Array();
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/smiley.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/smiley.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/wink.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/wink.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/cheesy.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/cheesy.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/grin.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/grin.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/angry.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/angry.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/sad.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/sad.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/shocked.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/shocked.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/cool.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/cool.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/huh.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/huh.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/rolleyes.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/rolleyes.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/tongue.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/tongue.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/lipsrsealed.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/lipsrsealed.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/undecided.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/undecided.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/kiss.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/kiss.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/cry.gif" ,
       "
  HTML http://smfsupport.com/support/Smileys/smfnew/cry.gif"
       ]
  HTML img_b[img_b.length++] = [ "http://" + forumurl +
       ".createaforum.com/Smileys/default/embarrassed.gif" ,
       "
  HTML http://support.createaforum.com/Smileys/smfnew/embarrassed.gif"<br
       />]
       var a_i = document.getElementsByTagName('IMG');
       for(i=a_i.length-1;i>=0;i--) for(j=0;j<img_b.length;j++)
       if(a_i[i].src == img_b[j][0]) a_i[i].src = img_b[j][1];
       }
       swap_img();
       </script>
       <script type="text/javascript">
       function NAB(real, owned){
       for(i in document.links){
       if(document.links[i].innerHTML === real){
       document.links[i].innerHTML = owned;
       };};};
       NAB("CyanGaming", "<img
       src='
  HTML http://oi57.tinypic.com/2wmj5ev.jpg'
       /><font
       color='#00aaff'><b>Cy&#945;nG&#945;ming</b></font>");
       NAB("Herosimah", "<img src='
  HTML http://oi58.tinypic.com/18hc3o.jpg'<br
       />/><font color='#6c2dc7'><b>Herosimah</b></font>");
       NAB("Sorry_Error", "<img
       src='
  HTML http://oi58.tinypic.com/18hc3o.jpg'
       /><font
       color='#6c2dc7'><b>Sorry_Error</b></font>");
       NAB("Milk__101", "<img
       src='
  HTML http://png-5.findicons.com/files/icons/1243/hello_kitty/16/bow_pink.png'<br
       />/><font color='#ff33cc'><b>Milk__101</b></font>");
       NAB("Notepad", "<img
       src='
  HTML http://cdn.iconsmash.com/Content/icons/crown/iconpreviews/16/king.png'<br
       />/><font color='#04B486'><b>NotePad</b></font>");
       NAB("OLD NAME", "NEW NAME");
       </script>
       <script type="text/javascript">
       var Name = "NAME";
       var Sign = "SIGN";
       var Amount = 1;
       var Aug_02_2010 = document.getElementsByTagName("li");
       //Created by Agent Moose
       for(x=0;x<Aug_02_2010.length;x++){
       if(Aug_02_2010[x].className === "karma" &&
       Aug_02_2010[x].innerHTML.match(/posts: (.*)/i)){
       var li = document.createElement("li");
       li.className = "money";
       li.innerHTML = RegExp.$1;
       Aug_02_2010[x].parentNode.insertBefore(li,
       Aug_02_2010[x].nextSibling);
       };
       };
       </script>
       <script>
       $('li.greeting').filter(function () {
       return $(this).text() === 'Hello CyanGaming';
       }).after($('<span class="test">').text("This is a test
       message"));
       </script>
       <script>
       if (location.href == smf_scripturl + "?action=Control_Panel") {
       if ($("li.greeting").text() == "Hello CyanGaming") {
       $("#main_content_section").html("<center><a
       href='"+smf_scripturl+"?action=Control_Panel'>Go to the Control
       Panel</a> <p></p> </center>")
       var str = $( "div.news" ).text(); $(
       "div#main_content_section p" ).after( str );
       }
       }
       </script>
       <script>
       if(window.location.href ==
       "
  HTML http://cyanproductions.createaforum.com/index.php?action=profile;u=1"){
       $('body').css("background-image",
       "url(
  HTML http://thumbs.gograph.com/gg58405835.jpg)");
       }
       </script>
       <script>
       if ($("li.greeting").text() == "Hello CyanGaming") {
       if(window.location.href ==
       "
  HTML http://cyanproductions.createaforum.com/index.php?action=profile"){
       $('body').css("background-image",
       "url(
  HTML http://thumbs.gograph.com/gg58405835.jpg)");
       }
       }
       </script>
       <script>
       var imgurl = $('a.vglnk');
       if(window.location.href ==
       "
  HTML http://cyanproductions.createaforum.com/index.php?action=profile;u=0"){
       $('body').css('background-image', 'url("' + imgurl + '")');
       }
       </script>
       <script>
       if ($("li.greeting").text() != "Hello CyanGaming") {
       var tab="cus3"; $("li#button_"+tab).remove()
       }
       var tab="search"; $("li#button_"+tab).remove()
       $("div#footer_section div.frame").remove()
       $("div[align=center] span.smalltext").remove()
       </script>
       <script>
       if (location.href == smf_scripturl + "?action=mlist") {
       if ($("li.greeting").text() == "Hello enterusernamehere") {
       $("div#main_content_section").remove();
       $( "div#footer_section div.frame" ).before(
       "<br><center><h1>This is Off Limits to you</h1></center><br>" );
       }
       }
       </script>
       <script>
       $( "p.current_news" ).after($('<span class="quotes">New feature
       on the forums! But nobody can see it.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">How do you
       make this? because i love it.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Where
       herosimahs mistakes and dumb comments get in the
       news.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Darkfires a
       big inspiration: Im applying for moderator, Thanks to Darkfire
       for inspiring me.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Are you
       suggesting they might take our noses as souvenirs?</span>'));
       $( "p.current_news" ).after($('<span class="quotes">The trail
       Mod rank has been added!</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Lock
       request!</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Where jokes
       transform to good ideas.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Everythings
       a fail atm xD</span>'));
       $( "p.current_news" ).after($('<span class="quotes">How do users
       even read? This hurts Splodersciences head.</span>'));
       $( "p.current_news" ).after($('<span class="quotes">Where
       herosimah is so handsome and some mistakes.(When Sploderscience
       trys to be funny)</span>'));
       $("strong.hideme").remove();
       $("div.normaltext").remove();
       (function() {
       var quotes = $(".quotes");
       var quoteIndex = -1;
       
       function showNextQuote() {
       ++quoteIndex;
       quotes.eq(quoteIndex % quotes.length)
       .fadeIn(2000)
       .delay(2000)
       .fadeOut(2000, showNextQuote);
       }
       
       showNextQuote();
       
       })();
       </script>
       <script>
       if ($("li.greeting").text() != "Hello CyanGaming") {
       $('dt:contains("Reputation:")').hide();
       $('dd:contains("[Like]")').hide();
       $('dl:contains("CyanCoins")').hide();
       }
       </script>
       <script>
       $("[class*='show_text']").hide();
       var show_count = 0;
       $( ".show_" ).click(function() {
       show_count = $(this).attr("id");
       if ($("#" + show_count + ".show_text").is(":hidden")) {
       $("#" + show_count + ".show_text").show();
       $("#" + show_count + ".show_user").hide();
       $(this).text("Hide")
       } else {
       $("#" + show_count + ".show_text").hide();
       $("#" + show_count + ".show_user").show();
       $(this).text("Show")
       }
       });
       </script>
       <script>
       $("[id*='msg_'] a:contains('[Accepted]')").before('<img id="AT"
       src="
  HTML https://cdn2.iconfinder.com/data/icons/aspneticons_v1.0_Nov2006/ok_16x16.gif"/>');
       $("[id*='msg_'] a:contains('[Accepted]')").html(function(i, htm)
       {
       return htm.split("]")[1];
       });
       $("[id*='msg_'] a:contains('[Question]')").before('<img id="QM"
       src="
  HTML http://img4.wikia.nocookie.net/__cb20080212060109/wowwiki/images/c/c9/Quest_Complete_16x16.png"/>');
       $("[id*='msg_'] a:contains('[Question]')").html(function(i, htm)
       {
       return htm.split("]")[1];
       });
       $("[id*='msg_'] a:contains('[Denied]')").before('<img id="DT"
       src="
  HTML https://cdn2.iconfinder.com/data/icons/aspneticons_v1.0_Nov2006/delete_16x16.gif"/>');
       $("[id*='msg_'] a:contains('[Denied]')").html(function(i, htm) {
       return htm.split("]")[1];
       });
       $("[id*='msg_'] a:contains('[Star]')").before('<img id="ST"
       src="
  HTML http://img1.wikia.nocookie.net/__cb20091124122226/mafiawars/images/8/82/Icon_star_16x16_gold_01.gif"/>');
       $("[id*='msg_'] a:contains('[Star]')").html(function(i, htm) {
       return htm.split("]")[1];
       });
       </script>
       <script type="text/javascript">
       $(document).ready(function() {
       $('#QM,#QM').click(function() {
       $('#QM,#QM').each(function() {
       $("tr td div
       span").parent("div").parent("td").parent("tr").hide();
       $("tr td div strong
       span").parent("strong").parent("div").parent("td").parent("tr").
       hide();
       
       $('#QM').parent("span").parent("div").parent("td").parent("tr").
       show();
       
       $('#QM').parent("span").parent("strong").parent("div").parent("t
       d").parent("tr").show();
       });
       });
       });
       $(document).ready(function() {
       $('#AT,#AT').click(function() {
       $('#AT,#AT').each(function() {
       $("tr td div
       span").parent("div").parent("td").parent("tr").hide();
       $("tr td div strong
       span").parent("strong").parent("div").parent("td").parent("tr").
       hide();
       $('tr td div span
       #AT').parent("span").parent("div").parent("td").parent("tr").sho
       w();
       $('tr td div span
       #AT').parent("span").parent("strong").parent("div").parent("td")
       .parent("tr").show();
       });
       });
       });
       $(document).ready(function() {
       $('#DT,#DT').click(function() {
       $('#DT,#DT').each(function() {
       $("tr td div
       span").parent("div").parent("td").parent("tr").hide();
       $("tr td div strong
       span").parent("strong").parent("div").parent("td").parent("tr").
       hide();
       $('tr td div span
       #DT').parent("span").parent("div").parent("td").parent("tr").sho
       w();
       $('tr td div span
       #DT').parent("span").parent("strong").parent("div").parent("td")
       .parent("tr").show();
       });
       });
       });
       $(document).ready(function() {
       $('#ST,#ST').click(function() {
       $('#ST,#ST').each(function() {
       $("tr td div
       span").parent("div").parent("td").parent("tr").hide();
       $("tr td div strong
       span").parent("strong").parent("div").parent("td").parent("tr").
       hide();
       $('tr td div span
       #ST').parent("span").parent("div").parent("td").parent("tr").sho
       w();
       $('tr td div span
       #ST').parent("span").parent("strong").parent("div").parent("td")
       .parent("tr").show();
       });
       });
       });
       </script>
       <script>
       $("li#button_pm a.firstlevel span.firstlevel
       strong").css("color", "orange");
       if (location.href *= smf_scripturl +
       "?action=profile;area=groupmembership;u=") {
       $("body").hide();
       }
       </script>
       [/code]
       #Post#: 15224--------------------------------------------------
       Re: Forum is broken, Possibly something to do with code.
       By: CyanProductions Date: February 5, 2015, 3:30 pm
       ---------------------------------------------------------
       kk, thanks
       *****************************************************