EvilZone
Community => News and Announcements => : Stackprotector April 20, 2012, 11:31:05 AM
-
Hello people :) ,
I just installed a code highlight mod for the forum now we can all benefit of cool code :)
How to use:
Simple C++ example
[code=cpp] MY AWESU"M CODE [/code ]
#include <iostream>
int main()
{
std::cout << "Hello, Evilzone!\n";
}
Code example for PHP highlight line 4
[code=php ,4] CODEE[/code ]
public function __construct() {
if(!isset($_POST['action']) || is_array($_POST['action']) || trim($_POST['action']) == "")
{
die(json_encode(array('status' => '404')));
}
else
{
$this->action = strtolower(trim(htmlentities($_POST['action'])));
}
}
There are over 200 programming/scripting/code highlight templates included ;)
I may do a little color change but for now, feel free to edit your existing posts to higher the evilzone experience.
Have a good weekend :D
-
:O that's awesome! great job :) +1
-
Thank you, Factionwars.
-
Current members are asked to modify their posts that include code with new code tags... it would be beneficial for all of us and very kind from your side :)
-
<3
-
Nice one, I do remember having this at EZ at one point, defiantly good when trying to get help and posting sources ;) Great edition to EZ
-
Nice one, I do remember having this at EZ at one point, defiantly good when trying to get help and posting sources ;) Great edition to EZ
Yes it is :), tough i am not 100% good with the whiteness at method declaring.
-
just like to point out that "."'s are very difficult to see which could cause some confusion.
Other than that looks much cleaner :)
-
Great feature. The grey lettering is a bit hard to see as well, but great job none the less.
-
I really like those, but why there is no Visual Basic?
-
lol
code=vb]
-
Oh, didnt noticed. Thanks :)
-
Someone should look into changing the colors a bit :P can't read the code when I can't see it.
-
Someone should look into changing the colors a bit :P can't read the code when I can't see it.
Same here, bump for admin's eyes.
-
Same here, bump for admin's eyes.
Issue's been resolved. Also scrollbars were added so that codes with 100 lines doesn't take up all of the screen.
-
Great job, but C'mon! I wish this was Black & Green instead of White & Black would you do that for me please, FactionWarz? ;D