- Fixed a bug where newly registered users were unable to create new threads in certain cases (About a week ago) This caused a lot of empty threads (no first post)
- Fixed a redirect loop
- Fixed a bug where in some situations users would receive notifications of them quoting themselves
COH2.ORG new features/fixes
Posts: 3421 | Subs: 11
Posts: 3709 | Subs: 2
- Attempt to improve site stability (sorry for all the downtime recently !), hopefully the next few days will show if that turns out better (or not, in which case further improvements will be considered)
- Fixed players and armies info for replay section on the previous patch... (yes, new patch is today and replays aren't working, we'll fix that ASAP)
Posts: 3709 | Subs: 2
- Fixed parsing for latest replays as well (unfortunately it seems the SteamID is not present on the replay file anymore - since 3 month or something already - so we can't link automatically the player name to its player card anymore... If anyone knows more?)
Posts: 16697 | Subs: 12
http://www.coh2.org/site/mediakit
I put it together and Janne252 banged out the code. There is a new permanent link to this kit in our footer. Thx Janne!
Posts: 3421 | Subs: 11
- Added snow
- Added snowball fights (art created by our very own senior artist StrummingBird)
Posts: 16697 | Subs: 12
Posts: 3421 | Subs: 11
- Fixed some issues with notifications and improved notification tools & performance
- Notifications will now work with subscribed Replay/News/Guide threads
- Notifications will now work with subscribed Replay/News/Guide threads
Posts: 3421 | Subs: 11
New BBCode tag: sourcecode
- Can be accessed in the full BBCode editor via code button (between quote and spoiler)
- Supports:
- Lua/SCAR
- HTML
- CSS
- JavaScript
- PHP
- Lua/SCAR
Examples:
[sourcecode=lua]function OnInit()
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
Player_SetPopCapOverride(player, 200)
end
end
Scar_AddInit(OnInit)[/sourcecode]
function OnInit()
for i = 1, World_GetPlayerCount() do
local player = World_GetPlayerAt(i)
Player_SetPopCapOverride(player, 200)
end
end
Scar_AddInit(OnInit)
[sourcecode=html]<html>
<head>
<title>My site</title>
<meta charset="UTF-8" />
</head>
<body>
<h1 id="mainHeader">Welcome</h1>
</body>
</html>[/sourcecode]
<html>
<head>
<title>My site</title>
<meta charset="UTF-8" />
</head>
<body>
<h1 id="mainHeader">Welcome</h1>
</body>
</html>
[sourcecode=css]html, body {
font-family: arial;
background-color: rgba(255, 0, 0, 0.1);
}[/sourcecode]
html, body {
font-family: arial;
background-color: rgba(255, 0, 0, 0.1);
}
[sourcecode=js]$(document).ready(function()
{
$('a').click(function(e)
{
alert("link clicked!");
});
}[/sourcecode]
$(document).ready(function()
{
$('a').click(function(e)
{
alert("link clicked!");
});
}
[sourcecode=php]echo "<ul>";
for ($i = 1; $i <= 10; $i++)
{
echo "<li>{$i}</li>";
}
echo "</ul>";[/sourcecode]
echo "<ul>";
for ($i = 1; $i <= 10; $i++)
{
echo "<li>{$i}</li>";
}
echo "</ul>";
Posts: 16697 | Subs: 12
- Seb has fixed the REPLAYS parser yet again!
Posts: 3709 | Subs: 2
- Site speed improved significantly during this week : first by using nginx instead of Apache for serving static files and reverse proxy, and then by removing Apache entirely and using HHVM for PHP
Posts: 3421 | Subs: 11
- Fixed a z-index related issue with OCF prize pool overlay
- Updated OCF Progress page flag with a new version, created by TM.Dutchy
- Added support for crowd-funded events; contribution page, prize pool counter, top contributors, contribution level badges
Posts: 3421 | Subs: 11
[bandcamp album="albumID" track="trackID"]
For example:
[bandcamp album="528738492" track="1763589514"]
Result:
How to obtain the IDs:
- Click "Share / Embed" on a track page on Bandcamp.com
- Click "Embed this track"
- Select any of the available player sizes
- Copy the code (Make sure html is checked)
- Find the 2 required ID numbers from the code:
<iframe style="border: 0; width: 100%; height: 42px;" src="http://bandcamp.com/EmbeddedPlayer/album=528738492/size=small/bgcol=ffffff/linkcol=0687f5/track=1763589514/transparent=true/" seamless><a href="http://lynskey.bandcamp.com/album/snf">SNF by Lynskey</a></iframe>
- Place them in the BBCode, don't forget the quotes!
- Done!
Posts: 3421 | Subs: 11
- Updated ladders and playercards to support The British Forces.
Signature version is yet to be updated.
Posts: 871
Posts: 16697 | Subs: 12
- REPLAYS section now supports The British Forces (Seb)
Posts: 16697 | Subs: 12
Posts: 11
New improvements to playercard BBCode:
In addition to previous syntax, you can now specify 4 stats to display in your playercard.
Here's the new syntax:
Playercard of Jesulin
2v2: P streak: + 14 with Marcus2389 2v2: P streak: - 3 with Marcus2389 2v2: P streak: + 1 with Milk Please! 2v2: P streak: + 6 with Shrillo
Code[playercard name="jesulin" stats="1373125:21,1373125:20,1200392:20,1201547:20"]
- playercard id=COH2.ORG userId OR Steam64 Id are also supported, just like in the previous update
You might wonder where do you get these magical numbers.
I'm using Jesulin's full playercard in this example. To get started with adding 4 stats of your choice to the playercard BBCode, visit your playercard on COH2.ORG by moving your mouse over LADDERS in the top navigation bar and select My Playercard.
Move your mouse over any row in the statistics. You'll notice how a small white box appears next to the row. Move your mouse over the the textbox in the appearing box and press Control + C to copy the text. The code will be automatically selected in the textbox.
Image #1: Mouse over a stat row
Image #2: Mouse over a stat Id textbox
Paste that code to your playercard BBCode. Separate multiple Ids with commas, i.e.
Code
Theoretical example:
[playercard name="Jesulin" stats="code1,code2,code3,code4"]
Working example:
[playercard name="jesulin" stats="1373125:21,1373125:20,1200392:20,1201547:20"]
If one of the stats codes are invalid, it will be displayed in the playercard.
Note! You cannot display stat rows from multiple playercards. All 4 selected stats must be from the same Playercard as the id = COH2.ORG user Id / Steam64 Id OR name = "COH2.ORG Username"
This customization is mainly for displaying arranged team stats but it can also display normal ranked / random ranked statistics. You don't have to fill in all 4.
Hey, how could I add my playercard (like it is in my signature) to my twitch panel?
Posts: 3421 | Subs: 11
- Added Twitch-like highlight effect on shoutbox when someone says @YOURNAME
- Added autocomplete feature to the shoutbox
- How to use:
- Start by typing @, followed by at least one character
- You can autocomplete the name of the user by either pressing Tab or scrolling the list with arrow keys (Press enter to complete)
- Start by typing @, followed by at least one character
Posts: 830 | Subs: 3
Livestreams
3 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.586215.732+1
- 4.1098613.642+2
- 5.280162.633+8
- 6.305114.728+1
- 7.916405.693-2
- 8.271108.715+22
- 9.721440.621+3
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
6 posts in the last week
38 posts in the last month
Welcome our newest member, rinaixxx
Most online: 2043 users on 29 Oct 2023, 01:04 AM