Login

russian armor

COH2.ORG new features/fixes

PAGES (7)down
27 Nov 2012, 11:22 AM
#1
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

Here's a thread where we will keep you up-to-date on what the coders are innovating for your coh2.org experience :) Have at it, coders....
27 Nov 2012, 11:37 AM
#2
avatar of hicksi
Admin Black Badge

Posts: 983 | Subs: 3

Code
Livestream
* added: save last view (livestreams drop down menu) as default view
* added: duration (in minutes) line chart to mixed view
todo: polish legend, add viewer line chart
29 Nov 2012, 18:31 PM
#3
avatar of hicksi
Admin Black Badge

Posts: 983 | Subs: 3

Code
Livestream
* added: viewer tracking
* added: viewer line chart to mixed view
todo: polish legend
30 Nov 2012, 00:26 AM
#4
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

Ah, so blue is "duration" and "red" is viewers. What is the x-axis? I know it's time but in what steps? Is it each time they start and stop their streams?

Is viewers "max concurrent viewers"? Or average?

:wub: Love these hicksi, really love them. We'll add a legend soon.
30 Nov 2012, 06:51 AM
#5
avatar of hicksi
Admin Black Badge

Posts: 983 | Subs: 3

x-axis: day
duration: blue, total minutes of the day (increased after stream stopped)
viewers: red, total viewers of the day
30 Nov 2012, 09:27 AM
#6
avatar of Marcus2389
Developer Relic Badge
Donator 11

Posts: 4559 | Subs: 2

u should write it, like in a legend. :)
Seb
11 Dec 2012, 23:05 PM
#7
avatar of Seb
Admin Black Badge

Posts: 3709 | Subs: 2

Code
* Added thread lock.
* Added user board option to open links in new tab (last week).
11 Dec 2012, 23:10 PM
#8
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

The VODS tab is now live. It's only a temporary thing that we added to link directly to the SNF channel and our new COH2.ORG YouTube channel, and to support some of the great contributors to the COH YouTube community ("Featured Channels"). Eventually we plan to include a full VODs system where all users can submit their shoutcasts/vods and fans can upvote and sort by a variety of variables.

Look for a post by our Lead Caster, Tommy, about how you can submit your YouTube channel for inclusion in that "Featured Channels" menu list.
15 Dec 2012, 07:10 AM
#9
avatar of TychoCelchuuu
Senior Caster Badge

Posts: 1620 | Subs: 2

Awesome!
18 Dec 2012, 21:04 PM
#10
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

We now have spoiler tags and flags! W00t. Thanks to Seb & yours truly.

Results



bbcode example:


Code
[spoiler]all the secret stuff goes here[/spoiler]


Flags


Country flags go by the 2-digit ISO country code, and must be in caps.

PTPT
Code
[flag]PT[/flag]


Faction flags are as follows:

amisamis wehrwehr pepe britsbrits

Code

[flag]amis[/flag] [flag]wehr[/flag] [flag]pe[/flag] [flag]brits[/flag]


same as SNF S4 intro ^^ ;)
18 Dec 2012, 21:18 PM
#11
avatar of vio88mm

Posts: 42

Nice keep them coming. Like the fading of the spoiler.
I suggest you add the Russian (Soviet) and German Ostheer flags as well
: rus :
: ost :
18 Dec 2012, 23:34 PM
#12
avatar of TychoCelchuuu
Senior Caster Badge

Posts: 1620 | Subs: 2

Sweet! This site rocks.
19 Dec 2012, 06:48 AM
#13
avatar of JAnx
Coder Red Badge

Posts: 487 | Subs: 1

Will provide a snippet soon to make showing and hiding nicer ;)

jump backJump back to quoted post18 Dec 2012, 21:18 PMvio88mm
Nice keep them coming. Like the fading of the spoiler.
I suggest you add the Russian (Soviet) and German Ostheer flags as well
: rus :
: ost :
Those flags look quite bad tbh :P
19 Dec 2012, 08:13 AM
#14
avatar of WiFiDi
Honorary Member Badge

Posts: 3293

jump backJump back to quoted post19 Dec 2012, 06:48 AMJAnx
Will provide a snippet soon to make showing and hiding nicer ;)

Those flags look quite bad tbh :P


looks like the ones from eastern front mod i agree especially the Russian one.
Seb
19 Dec 2012, 16:34 PM
#15
avatar of Seb
Admin Black Badge

Posts: 3709 | Subs: 2

Code
* Deleting the last post of a topic (admin) now correctly updates the "last post" on forum index, instead of displaying none.
20 Dec 2012, 18:45 PM
#16
avatar of JAnx
Coder Red Badge

Posts: 487 | Subs: 1

Sorry if i am soiling this thread with my another code snippet, but here goes.

Replace this:
Code
$(function () {
$('.spoiler').css('display', 'none');
$('.spoiler_trigger').click(function () {
var hideText = 'Hide Spoiler', showText = 'Show Spoiler';
var $this = $(this);
var $thisSpoiler = $this.next('.spoiler');
var text = $this.text();
var newText = text === showText ? hideText : showText;
$thisSpoiler.toggle('blind');
$this.text(newText);
});
});


With this (remove comments :P):
Code
$(function () {
// should be in css, should use hide() function instead (faster)
$('.spoiler').css('display', 'none');

// new-ish good practice is to use on() instead of click(), on() allows easy event namespacing and deferring if needed
$('.spoiler_trigger').on('click', function () {
// cleaned up declared variables that are used only once
var hideText = 'Hide Spoiler', showText = 'Show Spoiler',
$this = $(this),
newText = $this.text() === showText ? hideText : showText;

// this animate thingy should be in, for example UI, namespace and share logic with livestreams one
$this.next('.spoiler').stop().animate({ height:'toggle', opacity:'toggle'}, 'fast');
$this.text(newText);
});
});
26 Dec 2012, 06:19 AM
#17
avatar of Bewbz

Posts: 111

Moar code, moar flags.
28 Dec 2012, 11:06 AM
#18
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

Livestream flag code improved, "unknown" flag added to replace "?". Streamers will get this grey "unknown" flag if their "Nationality" is not set, set to "None", or their "Nationality Visibility" is set to "Private."
5 Jan 2013, 14:41 PM
#19
avatar of JAnx
Coder Red Badge

Posts: 487 | Subs: 1

We had a release today, list of changes is following:

Code
* Minor bug and optmization fixes, like aligning the pixels in index entries, improving .js, etc.
* Moderating tools were added (bulk actions for lock, unlock, move topic)
* You can now mark multiple threads as read from any index view
* Styled the "Add Livestream" page

5 Jan 2013, 15:14 PM
#20
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

also:
Code
* InverseTV added to the Featured Channels list on the navbar menu


Remember that applications to be included in this list should be sent to Tommy.
PAGES (7)down
1 user is browsing this thread: 1 guest

Livestreams

Germany 294
unknown 6
unknown 5

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

624 users are online: 624 guests
0 post in the last 24h
8 posts in the last week
37 posts in the last month
Registered members: 49090
Welcome our newest member, BrubeckDeclarkBurche
Most online: 2043 users on 29 Oct 2023, 01:04 AM