Page 2 of 3

Back to Xenforo2!

Posted: Sat Apr 21, 2018 7:09 pm
by TimFun13
So I have a question about the languages of the code blocks, does this use language files. Basically I'm wondering if it's possible to add a custom "CEA" language with nested Lua and what not, may be even a custom "CE Lua" as well. If it has language files I'd bet the HTML with CSS would be a way to see how to set it up.

Back to Xenforo2!

Posted: Sat Apr 21, 2018 7:13 pm
by STN
[QUOTE="ShyTwig16, post: 42923, member: 91"]So I have a question about the languages of the code blocks, does this use language files. Basically I'm wondering if it's possible to add a custom "CEA" language with nested Lua and what not, may be even a custom "CE Lua" as well. If it has language files I'd bet the HTML with CSS would be a way to see how to set it up.[/QUOTE]



XF2 uses PrismJS for the code editor - [URL]http://prismjs.com/#languages-list[/URL]



They most definitely can be edited.

Back to Xenforo2!

Posted: Sat Apr 21, 2018 7:45 pm
by ZigmaS
YAY! BACK TO XEN!:D

Back to Xenforo2!

Posted: Sat Apr 21, 2018 7:54 pm
by Kalas
Update [URL='https://xenforo.com/community/resources/th-reactions.5656/']Reactions[/URL] btw ;)

Back to Xenforo2!

Posted: Sat Apr 21, 2018 8:05 pm
by TimFun13
[QUOTE="STN, post: 42924, member: 1"]XF2 uses PrismJS for the code editor - [URL]http://prismjs.com/#languages-list[/URL]



They most definitely can be edited.[/QUOTE]

So it's definitely doable, I'll have to do some messing around and testing but I'll PM you the code I come up with.

Back to Xenforo2!

Posted: Sat Apr 21, 2018 9:34 pm
by BoehserOnkel
:confused: :rolleyes:

Back to Xenforo2!

Posted: Sat Apr 21, 2018 9:41 pm
by mac4500
Hey



i really miss the phpbb board alot

Back to Xenforo2!

Posted: Sun Apr 22, 2018 12:57 am
by ZigmaS
[CENTER][IMG]http://3.bp.blogspot.com/_D_Z-D2tzi14/S8TffVGLElI/AAAAAAAACxA/trH1ch0Y3tI/s320/ALOT6.png[/IMG][/CENTER]

Back to Xenforo2!

Posted: Sun Apr 22, 2018 9:03 am
by CompactDisc
STN, I appreciate your honesty and I'm happy to see us go back to the clearly superior Xenforo2 ;)

You have done good for the community and I'm happy about it, thanks.



[QUOTE="mac4500, post: 42955, member: 348"]Hey



i really miss the phpbb board alot[/QUOTE]

Have you considered using one of the other available themes?

Back to Xenforo2!

Posted: Mon Apr 23, 2018 12:20 am
by danielyee
hi adm n community..you all been good ..please carry on..the new site remake is great..but please let it run on course..from there if anything wrong ..it can be retify..tq to all create.. founder..n community

sir..i don't hav a credit card but I can bank in..by money gram that exist there..any help sir..how to donate..ya lastly..perhaps the new site need a very friendly app that can be donate directly..openly n freely..tq

Back to Xenforo2!

Posted: Mon Apr 23, 2018 8:18 am
by SunBeam
[QUOTE="ShyTwig16, post: 42923, member: 91"]So I have a question about the languages of the code blocks, does this use language files. Basically I'm wondering if it's possible to add a custom "CEA" language with nested Lua and what not, may be even a custom "CE Lua" as well. If it has language files I'd bet the HTML with CSS would be a way to see how to set it up.[/QUOTE]

You suddenly don't like Notepad++ anymore? :P



The basic formatting I'd say is enough, as it already comes with syntax highlighting. Adjusting it to CEA (Lua + ASM) would be tricky, as you have superposed languages and highlighter doesn't know how to consider a symbol which for ASM says "comment", while for Lua it's a different mark-up. Simplest example: /* */ doesn't exist in ASM, nor Lua; -- doesn't exist in ASM, just Lua, etc. Wonder how you'd tweak a single engine to treat multiple programming language syntaxes at the same time...

Back to Xenforo2!

Posted: Mon Apr 23, 2018 9:12 am
by hysspy
I thought sir [USER=12587]@SunBeam[/USER] still on a vacation today :D

Back to Xenforo2!

Posted: Mon Apr 23, 2018 10:40 am
by SunBeam
[USER=8069]@hysspy[/USER]: Sir SunBeam got back last night :p However, Sir SunBeam didn't get a notification when you used '@'. Time to find out why. Can you tag me some more? Please do it here: [URL]https://fearlessrevolution.com/threads/testing.6545/[/URL]

Back to Xenforo2!

Posted: Mon Apr 23, 2018 11:27 am
by hysspy
[USER=12587]@SunBeam[/USER] : On the next vacation, try to go here sir : [URL]http://www.indonesia.travel/gb/en/home[/URL];)

Notification shows up