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

Source: Internet
Author: User
Tags mysql code apache log

Main functions:
1. almost all program codes can be highlighted in 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 (ui Ckdeskbasic1_robots.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]
[Syntax Ge = xml] Here is the XML Code [/language]
[Languge = css] Here is the CSS code [/language]
[Merge Ge = javascript] Here is the Javascript code [/language]
[Merge Ge = asp] Here is the ASP code [/language]
[Merge Ge = php] Here is the PHP code [/language]
[Mongoge = java] Here is the Java code [/language]
[Merge Ge = cpp] C ++ code [/language]
[Merge Ge = csharp] Here is C # code [/language]
[Mongoge = mysql] Mysql code [/language]
2. If you only want to run a piece of code, you can use the defaultCopy codeThe Code is as follows: format.

Installation Method:
1. Download and decompress the compressed 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 decompressed file to the root directory of the website. Other templates can be modified by referring to the subsequent modification method.
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
Find:
[Code]
$ 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']);

Change
Copy 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.