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#: 510--------------------------------------------------
       [Code] Add Box to Stats
   DIR By: Agent Moose
       Date: August 2, 2010, 9:43 am
       ---------------------------------------------------------
       Footers: (Admin > Style Manager > Headers and Footers > Footers)
       --- Code ---
       <script type="text/javascript">
       function AddBoxToStats(Title, Info){
       //Created by Agent Moose
       if(document.getElementById("upshrinkHeaderIC") !== null)
       document.getElementById("upshrinkHeaderIC").innerHTML += "<div
       class='title_barIC'><h4 class='titlebg'><span class='ie6_header
       floatleft'><img
       src='
  HTML http://www.createaforum.com/Themes/default/images/icons/online.gif'<br
       />/> " + Title + "</span></h4></div><p class='inline'>" + Info +
       "</p>";
       };
       AddBoxToStats("TITLE","INFORMATION");
       </script>
       --- End Code ---
       TITLE = The Title of the box.
       INFORMATION = The information for the box (you may use HTML,
       just use single quotes instead of double quotes)
       To add more boxes, add more of these lines:
       --- Code ---
       AddBoxToStats("TITLE","INFORMATION");
       --- End Code ---
       Enjoy :)
       #Post#: 607--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: DMVA
       Date: August 4, 2010, 10:12 am
       ---------------------------------------------------------
       What's an example of something you would put in a box, and an
       example code maybe?
       For those of us who also aren't that html sassy, would it be
       possible to add things like daily best poster or something?
       #Post#: 608--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Representation
       Date: August 4, 2010, 10:44 am
       ---------------------------------------------------------
       I agree with DMVA completely... I am also one of the people who
       doesn't understand HTML that well... Could you make that code
       give me top poster of the day and top topic starter of the day??
       #Post#: 609--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Fate
       Date: August 4, 2010, 2:33 pm
       ---------------------------------------------------------
       A preview can be found on my site using simple html. This is the
       code I used:
       --- Code ---
       <script type="text/javascript">
       function AddBoxToStats(Title, Info){
       //Created by Agent Moose
       if(document.getElementById("upshrinkHeaderIC") !== null)
       document.getElementById("upshrinkHeaderIC").innerHTML += "<div
       class='title_barIC'><h4 class='titlebg'><span class='ie6_header
       floatleft'><img
       src='
  HTML http://www.createaforum.com/Themes/default/images/icons/online.gif'<br
       />/> " + Title + "</span></h4></div><p class='inline'>" + Info +
       "</p>";
       };
       AddBoxToStats("Featured Members","<a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=1'>Fate</a>,<br
       /><a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=3'>Nick</a>,<br
       /><a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=2'>Agent<br
       />Moose</a>");
       </script>
       --- End Code ---
       If you wish to use the Featured Members thing, just replace
       "cfcoding" with your Forum. Replace the names above to the names
       of your members that you want to display. Replace the "u=1" (or
       whatever number is shown above) with the user number of that
       person.
       #Post#: 611--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Representation
       Date: August 4, 2010, 3:42 pm
       ---------------------------------------------------------
       Lol, Fate... Usually when you help me you make it REALLY simple
       to understand... I don't get this at all!!
       #Post#: 635--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Fate
       Date: August 4, 2010, 10:21 pm
       ---------------------------------------------------------
       Mmm. Which don't you get? The code I used or html?
       (I'll make the code I used easier to follow if you choose to use
       this one):
       --- Quote ---
       > <script type="text/javascript">
       > function AddBoxToStats(Title, Info){
       > //Created by Agent Moose
       > if(document.getElementById("upshrinkHeaderIC") !== null)
       document.getElementById("upshrinkHeaderIC").innerHTML += "<div
       class='title_barIC'><h4 class='titlebg'><span class='ie6_header
       floatleft'><img
       src='
  HTML http://www.createaforum.com/Themes/default/images/icons/online.gif'<br
       />/> " + Title + "</span></h4></div><p class='inline'>" + Info +
       "</p>";
       > };
       > AddBoxToStats("Featured Members","<a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=1'>Fate</a>,<br
       /><a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=3'>Nick</a>,<br
       /><a
       href='
  HTML http://cfcoding.createaforum.com/index.php?action=profile;u=2'>Agent<br
       />Moose</a>");
       > </script>
       --- End Quote ---
       Replace the Red text with your Forum.
       Replace the Blue number(s) with the "User ID" of the member.
       Replace the Green text with the Name of the member.
       To find out the User ID's of your members, use the following
       link:
  HTML http://YOURFORUMNAMEHERE.createaforum.com/index.php?action=admin;area=viewmembers
       #Post#: 636--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Representation
       Date: August 4, 2010, 10:27 pm
       ---------------------------------------------------------
       Ohhhhhhhhh!!!! I understand what you meant now. Can you make a
       box stat
       code for keeping track of the player with the highest karma?
       #Post#: 638--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Fate
       Date: August 4, 2010, 10:41 pm
       ---------------------------------------------------------
       Not entirely sure how that would be done with just a box stat
       code. For now you can do it manually if you'd like: replace
       "Featured Members" with whatever you'd like it to be.
       #Post#: 639--------------------------------------------------
       Re: [Code] Add Box to Stats
   DIR By: Representation
       Date: August 4, 2010, 10:50 pm
       ---------------------------------------------------------
       Ok, thanks. I know a way it can be done. It'll basically be your
       version of the code..
       *****************************************************
       Page 1 of 1