Service Support
« Arcade Code & Modifications List »

Welcome Guest. Please Login or Register.
Nov 28, 2009, 10:58am



News Bulletin

Important Topics:

Everyone

  1. The ProBoards Arcade is loading.
  2. The ProBoards ShoutBox is loading.

Premium ShoutBox Users

  1. GamingMedley is loading.
  2. CharlesStover is loading.
  3. OfflineGamers is loading.
  4. ProWebForums is loading.
  5. If you are not already in the Premium User membergroup, please post in the support topic so that you may be added. This will give you access to a new, Premium-only forum.
  6. A new backup server has been added. You can find it in the Backup Servers topic.

Service Support :: Service Support :: ProBoards Arcade :: Arcade Code & Modifications List
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Arcade Code & Modifications List (Read 2,309 times)
Charles Stover
The Creator (Clone)
*****
member is offline

[avatar]

[yim] [msn] [aim]
[homepage]

Joined: Jun 2008
Gender: Male
Posts: 305
Location: California
Karma: 6
 Arcade Code & Modifications List
« Thread Started on Oct 17, 2008, 5:16am »

Title: ProBoards Arcade
Creator: Charles Stover (a.k.a. GAMEchief, SegaDragon)
Cross-Browser: Yes
Placement: Global Footer
Code:
<script src="http://proboards.gamingmedley.com/arcade.js" type="text/javascript">
/*
ProBoards Arcade (C) Charles Stover (a.k.a. GAMEchief, SegaDragon)
This notice may not be removed for any reason.
[url]http://www.gamingmedley.com[/url]
*/
</script>




Modifications List:
« Last Edit: Dec 17, 2008, 3:15am by Charles Stover »Link to Post - Back to Top  IP: Logged

This account is no longer in use. Please direct all support to this account.
Charles Stover
The Creator (Clone)
*****
member is offline

[avatar]

[yim] [msn] [aim]
[homepage]

Joined: Jun 2008
Gender: Male
Posts: 305
Location: California
Karma: 6
 Change the Arcade Menu Icon
« Reply #1 on Oct 17, 2008, 5:18am »

Title: Change the Arcade Menu Icon
Creator: Charles Stover (a.k.a. GAMEchief, SegaDragon)
Cross-Browser: Yes
Placement: Directly Above the ProBoards Arcade
Code:
<script type="text/javascript"><!--
var arcadeIcon = "http://proboards.gamingmedley.com/images/arcade.gif";
//--></script>

Set arcadeIcon to the URL of the new icon.

If you are using the Quick-Load the Arcade Menu Icon code, this code must be placed above that code.
« Last Edit: Jan 4, 2009, 9:40pm by Charles Stover »Link to Post - Back to Top  IP: Logged

This account is no longer in use. Please direct all support to this account.
Charles Stover
The Creator (Clone)
*****
member is offline

[avatar]

[yim] [msn] [aim]
[homepage]

Joined: Jun 2008
Gender: Male
Posts: 305
Location: California
Karma: 6
 Create a Topic That Lists All Arcade Games
« Reply #2 on Oct 18, 2008, 5:45am »

Code removed.
« Last Edit: Nov 1, 2008, 6:09am by Charles Stover »Link to Post - Back to Top  IP: Logged

This account is no longer in use. Please direct all support to this account.
Charles Stover
The Creator (Clone)
*****
member is offline

[avatar]

[yim] [msn] [aim]
[homepage]

Joined: Jun 2008
Gender: Male
Posts: 305
Location: California
Karma: 6
 Members-Only Arcade
« Reply #3 on Oct 23, 2008, 9:44pm »

Title: Members-Only Arcade
Creator: Charles Stover (a.k.a. GAMEchief, SegaDragon)
Cross-Browser: Yes
Placement: Directly Above the ProBoards Arcade
Code:
<script type="text/javascript"><!--
var arcadeMembersOnly = true;
//--></script>
« Last Edit: Nov 26, 2008, 5:15pm by Charles Stover »Link to Post - Back to Top  IP: Logged

This account is no longer in use. Please direct all support to this account.
Charles Stover
The Creator
*****
member is offline

[avatar]

[yim] [msn] [aim]
[homepage]

Joined: Jun 2008
Gender: Male
Posts: 1,039
Location: California
Karma: 19
 Re: Arcade Code & Modifications List
« Reply #4 on Dec 17, 2008, 3:13am »

Title: Quick-Load the Arcade Menu Icon
Creator: Charles Stover (a.k.a. GAMEchief, SegaDragon)
Cross-Browser: Yes
Placement: Top of Global Headers

Code:
<script type="text/javascript"><!--
var arcadeLink = document.createElement('a'),
    offset = ((pb_username == "Guest") ? 2 : 3);
arcadeLink.setAttribute("href", "/index.cgi?action=arcade");
var m, menu = document.getElementsByTagName("font");
for (m = 0; m < menu.length; m++)
{
    if (menu[m].innerHTML.match(/\[Home\]/))
    {
        menu = menu[m];
        break;
    }
}
var arcadeImage = document.createElement("img"),
    menuItems = menu.getElementsByTagName('a');
arcadeImage.setAttribute("alt", "[Arcade]");
arcadeImage.setAttribute("border", "0");
arcadeImage.setAttribute("id", "arcadeIcon");
arcadeImage.setAttribute("src", ((typeof(arcadeIcon) != "undefined") ? arcadeIcon : "http://proboards.gamingmedley.com/images/arcade.gif"));
arcadeLink.appendChild(arcadeImage);
menu.insertBefore(arcadeLink, menuItems[menuItems.length - offset]);
menu.insertBefore(document.createTextNode(" "), menuItems[menuItems.length - offset]);
//--></script>


This will load the arcade icon in the menu bar when the Global Headers load, instead of having to wait for the Global Footers to load, which should make a noticable difference in loading speeds.

If you are using the Change the Arcade Menu Icon code, that code must be placed above this code.

This code is recommended for anyone using the arcade in order to improve loading speeds.
« Last Edit: Dec 17, 2008, 3:23am by Charles Stover »Link to Post - Back to Top  IP: Logged

Add a custom-built-for-ProBoards Arcade or ShoutBox to your forum!
flash games - video games
   [Search This Thread][Send Topic To Friend] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!