vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - MK Syntax Hightlighter For Multiple Programming Languages (https://vborg.vbsupport.ru/showthread.php?t=199819)

dothanhtrung 12-25-2008 10:00 PM

MK Syntax Hightlighter For Multiple Programming Languages
 
/*================================================= =====================*\
########### MK Syntax Highlighter For Multiple Programming Languages
########### Author : Moonlight Knight (MK) +++++++++++++.COM
########### Feel free to contact me Y! : demtuyettrang_vangem
\*================================================ ======================*/

This mod will provide new syntax highligh for multiple programming languages.It's very helpful for programming boards .
Support :
  • C++
  • C#
  • CSS
  • JAVA
  • JAVASCRIPT
  • PYTHON
  • RUBY
  • SQL
  • DELPHI
  • VB
INSTALL :
  • Upload files to the server
  • Import mk_syntax_highligher.xml
  • Change options in ACP ->vbulletin options ->MK Syntax Highlighter For Multiple Programming Languages
How to use : In this release,you can use the following tab to display Syntax highlight
  • C++ -> [*c++][/c++]
  • C# -> [*c#][/c#]
  • CSS -> [*css][/css]
  • JAVA -> [*java][/java]
  • JAVASCRIPT -> [*javascript][/javascript]
  • DELPHI -> [*delphi][/delphi]
  • PYTHON -> [*python][/python]
  • RUBY -> [*ruby][/ruby]
  • SQL -> [*sql][/sql]
  • VB -> [*vb][/vb]
Next release :
  • Intergrate bbcode in vbb editor
  • override syntax highlight on php and html tags of Vbb.

dengbej 12-26-2008 11:58 AM

thanks. i will try :)

ry215 12-26-2008 01:29 PM

https://vborg.vbsupport.ru/showthread.php?t=93071 << work fine with vBulletin 3.7.x :D

Mike-D 12-26-2008 04:25 PM

Two same AddOns in using with two different Coders? See: MK Syntax Hightlighter For Multiple Programming Languages

Marco van Herwaarden 12-27-2008 09:30 AM

Are you the original coder of this modification? Or do you have permission from the author to redistribute his work?

dothanhtrung 12-27-2008 10:56 PM

Quote:

Are you the original coder of this modification? Or do you have permission from the author to redistribute his work?
Yes,im original coder :)
Quote:

https://vborg.vbsupport.ru/showthread.php?t=93071 << work fine with vBulletin 3.7.x
This mod used dp.SyntaxHighlighter

beduino 12-29-2008 04:42 PM

Well ...
I upload clientscript folder, import xml, turn all mk on and ... nothing happens!
No syntaxhighlighter appears :(
beduino

beduino 12-29-2008 05:57 PM

still not working ...
Quote:

Originally Posted by dothanhtrung (Post 1695143)
This mod used dp.SyntaxHighlighter

we need upload the google package too? :confused:

@edit : unintalling [for now] and installed https://vborg.vbsupport.ru/showthread.php?t=93071

TriggerHappy123 01-08-2009 10:41 PM

Uploaded everything, installed. Doesn't work. I try wrapping the codes with the tags, nothing happens.

Zyphrus 01-16-2009 04:56 AM

I am having difficulties using/installing this as well, it seems to wrap the text, however it wont add any syntax highlighting.

Could anyone help me?

Simon Lloyd 02-25-2009 06:11 AM

Doesn't work!

Dietrich.Walger 04-25-2009 11:13 AM

Quote:

Originally Posted by Simon Lloyd (Post 1753971)
Doesn't work!


Yes, doesn't work with vBulletin 3.8.2!!

stanleys 05-13-2009 02:33 AM

Great mod, thanks for releasing it. SyntaxHighlighter is much nicer than GeSHi imho.

In your next release, could you please create a dropdown for languages, akin to the one used on SitePoint forums?
It would also be great to have additional styles, for those of us using darker themes.
Maybe you could add the styles available in this WordPress mod? http://wordpress.org/extend/plugins/...r/screenshots/


All times are GMT. The time now is 04:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01765 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete