The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Code Formatting Hack?? C#/Visual Basic
There is a really nice php bbcode for vB that does a very good job of highlighting syntax for the code. The [ code ] tag really sucks. Is there a hack or custom bbcode or something that will do the same thing for C# or vb.net languages?
It really makes my forum look like crap and its hard to read the code people post because its all black and white and syntax or other errors just dont stand out like they would if you viewed the code in VS IDE. Also when you copy and paste code from VS IDE into vB it completely destroys the formatting of the code, and truncates the spaces in key words, is there a way to fix this? Right now I have to copy the code into notepad and then back into vB and its really annoying. For example: private static readonly uint? becomes privatestaticreadonlyuint? when you cut and paste directly from VS IDE. |
#2
|
|||
|
|||
*bump*
So there is nothing like this? With all these hacks, some of them pretty outragious. A lot of forums use code in their posts. I can't believe there isn't a .Net Code Box. Thanks. |
#3
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=93071" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=93071</a>
|
#4
|
||||
|
||||
That's because we have to develop functions to highlight the code. PHP already has a function built-in to highlight PHP code.
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Quote:
My site is based around people submitting code so this is a really big problem for me!! Can you let me know if you manage to fix this? Thanks!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|