Discuz5.5.0 code highlighted + run code box merging plug-in download page 1/4

Source: Internet
Author: User

Main functions:
1. Almost all Program Code Including the following languages: actionScript, Ada, Apache Log, applescript, ASM, ASP, autoit, Backus-Naur Form, Bash, blitzbasic, C, C for Macs, C #, C ++, CAD DCl, cadlisp, cfdg, cfdg, ColdFusion, CSS, Delphi, Div, DOS, Eiffel, Fortran, Fortran, freebasic, GML, groovy, HTML, Inno, Io, Java, Java 5, JavaScript, latex, lisp, Lua, microprocessor ASM, mIRC, MySQL, NSIs, Objective C, ocaml, OpenOffice basic, Oracle 8 SQL, Pascal, Perl, PHP, PL/SQL, Python, q (uick) basic, Rob Ots.txt, Ruby, SAS, scheme, sdlbasic, smalltalk, smarty, SQL, T-SQL, TCL, thinbasic, uno IDL, VB. net, Visual Basic, Visual Fox Pro, winbatch, X ++, XML, Z80 ASM, and so on.
2. The code run box contains three functions: Copy code, run code, and save code.

usage:
1. if you want to highlight a language code, you can use the following format:
[merge Ge = HTML] Here is the HTML code [/language]
[merge Ge = xml] Here is the XML Code [/language]
[merge Ge = CSS] here is the CSS code [/language]
[using GE = JavaScript] Here is the JavaScript code [/language]
[using GE = Asp] Here is the ASP code [/Language]
[merge Ge = PHP] Here is the PHP code [/language]
[merge Ge = Java] Here is the Java code [/language]
[merge Ge = CPP] here is the c ++ code [/language]
[wide Ge = CSHARP] Here is the C # code [/language]
[Lang Uge = MySQL] Here is the MySQL code [/language]
2. if you only want to run a piece of code, you can use the default copy Code : format.

Installation Method:
1. download and decompress the package. If you are using the default template and have not modified the following files before:
/viewthread. php
/include/discuzcode. func. php
/include/global. func. php
/include/JavaScript/Common. JS
then, you can directly upload the extracted files to the root directory of the website. Other templates can be modified by referring to the subsequent modification methods.
2. if you have modified some or all of these files before, you can follow the instructions below to modify the files you have modified before. If you have not modified the files, you can directly upload and overwrite them:
(1)/viewthread. php
found:
[Code]
$ post ['message'] = discuzcode ($ post ['message'], $ post ['smileyoff'], $ post ['bbcodeoff'], $ post ['htmlon'], $ Forum ['allowsmilies '], $ Forum ['allowbbcode'], ($ Forum ['allowimgcode'] & $ showimages? 1: 0), $ Forum ['allowhtml '], ($ Forum ['jammer'] & $ post ['authorid']! = $ Discuz_uid? 1: 0), $ pasetype, $ post ['authorid']);

ChangeCopy codeThe Code is as follows: $ post ['message'] = discuzcode ($ post ['message'], $ post ['smileyoff '], $ post ['bbcodeoff'], $ post ['htmlon'], $ Forum ['allowscloud'], $ Forum ['allowbucketcodes '], ($ Forum ['allowimgcode'] & $ showimages? 1: 0), $ Forum ['allowhtml '], ($ Forum ['jammer'] & $ post ['authorid']! = $ Discuz_uid? 1: 0), $ pasetype, $ post ['authorid'], $ thread ['subobject']); // ----- The zouql code starts running ------ $ post ['message'] = preg_replace ("/\ s * id = \" cmsmb_htmlcode \"(. + ?) Textarea \ s */ies "," cmsmb_no_br ('$ 1') ", $ post ['message']); // ------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.