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#: 14954--------------------------------------------------
       I have code problems...
   DIR By: SomeHandsomeGuy
       Date: December 15, 2014, 1:36 pm
       ---------------------------------------------------------
       The codes don't work on my forum, I tried several of them. My
       friend on some forum even told me how to put the code, but
       nothing happened, and yet, those codes work on his forum.
       #Post#: 14955--------------------------------------------------
       Re: I have code problems...
   DIR By: CreateAForum
       Date: December 15, 2014, 1:52 pm
       ---------------------------------------------------------
       What code?
       #Post#: 14958--------------------------------------------------
       Re: I have code problems...
   DIR By: SomeHandsomeGuy
       Date: December 16, 2014, 3:50 pm
       ---------------------------------------------------------
       This
  HTML http://support.createaforum.com/5/(code)-money-code-(simple)/
       And a new smiley set code.
       #Post#: 14975--------------------------------------------------
       Re: I have code problems...
   DIR By: SomeHandsomeGuy
       Date: December 22, 2014, 3:19 am
       ---------------------------------------------------------
       Please help.
       #Post#: 14977--------------------------------------------------
       Re: I have code problems...
   DIR By: xboi209
       Date: December 22, 2014, 9:36 pm
       ---------------------------------------------------------
       You modified the code which caused it to stop working. Change
       --- Code ---
       li.innerHTML = RegExp.$1;
       --- End Code ---
       to
       --- Code ---
       li.innerHTML = Name + ": " + Sign + (RegExp.$1 * Amount);
       --- End Code ---
       #Post#: 14979--------------------------------------------------
       Re: I have code problems...
   DIR By: SomeHandsomeGuy
       Date: December 23, 2014, 8:14 am
       ---------------------------------------------------------
       --- Quote from: aIURbliS link ---
       >
       > You modified the code which caused it to stop working. Change
       --- Code ---
       li.innerHTML = RegExp.$1;
       --- End Code ---
       to
       --- Code ---
       li.innerHTML = Name + ": " + Sign + (RegExp.$1 * Amount);
       --- End Code ---
       >
       --- End Quote ---
       Got it, thanks. Will do now.
       #Post#: 14980--------------------------------------------------
       Re: I have code problems...
   DIR By: SomeHandsomeGuy
       Date: December 23, 2014, 8:22 am
       ---------------------------------------------------------
       Tried. Doesn't w.ork
       #Post#: 14987--------------------------------------------------
       Re: I have code problems...
   DIR By: xboi209
       Date: December 24, 2014, 12:01 pm
       ---------------------------------------------------------
       You've changed it once again.....
       Change
       --- Code ---
       li.innerHTML = AwesomeCoins + ": " + $ + (RegExp.$1 * Amount);
       --- End Code ---
       to
       --- Code ---
       li.innerHTML = Name + ": " + Sign + (RegExp.$1 * Amount);
       --- End Code ---
       #Post#: 15038--------------------------------------------------
       Re: I have code problems...
   DIR By: CyanProductions
       Date: January 3, 2015, 7:13 pm
       ---------------------------------------------------------
       Flyzer, this is what you want:
       --- Code ---
       
       <script type="text/javascript">
       var Name = "AwesomeCoins";
       var 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 === "postcount" &&
       Aug_02_2010[x].innerHTML.match(/posts: (.*)/i)){
       var li = document.createElement("li");
       li.className = "money";
       li.innerHTML = Name + ": " + Sign + (RegExp.$1 * Amount);
       Aug_02_2010[x].parentNode.insertBefore(li,
       Aug_02_2010[x].nextSibling);
       };
       };
       </script>
       
       --- End Code ---
       The only thing you might want to change is: "var Amount = 1;"
       Where the 1 is replaced with the amount you want per post.
       #Post#: 15292--------------------------------------------------
       Re: I have code problems...
   DIR By: SomeHandsomeGuy
       Date: February 19, 2015, 12:49 pm
       ---------------------------------------------------------
       --- Quote from: CyanProductions link ---
       >
       > Flyzer, this is what you want:
       >
       >
       --- Code ---
       
       > <script type="text/javascript">
       > var Name = "AwesomeCoins";
       > var 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 === "postcount" &&
       Aug_02_2010[x].innerHTML.match(/posts: (.*)/i)){
       > var li = document.createElement("li");
       > li.className = "money";
       > li.innerHTML = Name + ": " + Sign + (RegExp.$1 * Amount);
       > Aug_02_2010[x].parentNode.insertBefore(li,
       Aug_02_2010[x].nextSibling);
       > };
       > };
       > </script>
       >
       --- End Code ---
       >
       > The only thing you might want to change is: "var Amount = 1;"
       > Where the 1 is replaced with the amount you want per post.
       >
       --- End Quote ---
       Thanks.
       *****************************************************
       Page 1 of 2
   DIR Next Page