Suggestion For Site

Random irrelevance that just didn't fit into other forums. Talk about anything.

Moderator: Talkative People

User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Suggestion For Site

Post by JaxDragon »

I think these forums would benefit immensely from some syntax highlighting. Looking at all that green on white makes my eyes want to bleed. It's better than having no code system at all, but if possible, please look into this.
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Suggestion For Site

Post by GroundUpEngine »

I think this has been suggested before not sure, 100% agree though.
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Suggestion For Site

Post by JaxDragon »

Well if it was requested before, sorry for pulling a necro and reviving the request.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Suggestion For Site

Post by dandymcgee »

This deserves a necro in any case. It shouldn't be too hard to find a C++ scheme somewhere? It would certainly make posted code a thousand times easier to debug (this is the main reason I overlook people's posts that have entire class definitions in code tags).
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Suggestion For Site

Post by JaxDragon »

dandymcgee wrote:This deserves a necro in any case. It shouldn't be too hard to find a C++ scheme somewhere? It would certainly make posted code a thousand times easier to debug (this is the main reason I overlook people's posts that have entire class definitions in code tags).
My sentiments precisely.
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Suggestion For Site

Post by RyanPridgeon »

Syntax highlighting would be helpful :mrgreen:
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Suggestion For Site

Post by XianForce »

Well to speed things along, here's what wiki uses for syntax highlighting. It actually looks pretty legit to be honest:
http://coderay.rubychan.de/
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Suggestion For Site

Post by JaxDragon »

I looked at coderay, and it's really good. But I don't know how well it integrates with phpbb.
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Suggestion For Site

Post by XianForce »

JaxDragon wrote:I looked at coderay, and it's really good. But I don't know how well it integrates with phpbb.
Me neither, but hey, it's a step haha xD
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Suggestion For Site

Post by JaxDragon »

I did some googling, and it only has native highlighting for php.

Code: Select all

<?
echo "Hello world";
?>
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Suggestion For Site

Post by eatcomics »

TEH FIRST PIECE OF HIGHLIGHTED CODE ON TEH FORUMZ... this ladies and gentlemen... is history in the making lol

Now lets get some real *not PHP* text highlighting
Image
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Suggestion For Site

Post by dandymcgee »

AWESOME! I'm totally using that until we get C++ implemented. :mrgreen:
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: Suggestion For Site

Post by JaxDragon »

LOL dandy I just noticed your post was using PHP highlighting XD. At least its a start, better than no highlighting.
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: Suggestion For Site

Post by Live-Dimension »

http://www.phpbb.com/customise/db/mod/s ... ighlighter

It was the only one I could find. I'll do some preliminary testing on my phpbb localhost setup if Gyro gives the go code on giving this a shot.
Image
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: Suggestion For Site

Post by Live-Dimension »

All of these ad-bots. Elysian Shadows must be getting love.
Image
Post Reply