wordpress And Its simple_press The forum function of the plug-in
The development of preparation ：
Have been engaged in java And as3 Aspect development , It's the first time I've heard a colleague mention PHP Of wordpress, So I checked it on the Internet ,
Just know the power of this software , Instead, I tried to make a forum for the company .
As for the forum plug-in under it, it has been tangled for two days , In fact, my first choice is wp-forum plug-in unit , After installation and deployment , But found
There is no Sinicization of foreground theme package and background control （ Thinking about 2 Minutes later , Give up decisively ）. Later, it was bbpress, Choose it , Because
It and wordpress It's from the same company , And it can be independent of wordpress Use alone ... ok , The examples provided on the Internet are too old .
Actually 1.2 Later versions are used as plug-ins .
When you're struggling to use it or not , By the way, I went to the Chinese Forum , I saw it simple_press.
Go to http://www.simple-press.cn/ After looking at the functions and examples ,.... Don't say anything , It's just you
Development process ：
1.wordpress need PHP Operating environment , Install here WAMP5（window+apache+mysql+php)
2. After finishing the previous step , download wordpress Unzip the folder to wamp Of www Under the table of contents
（1） Because it's loaded mysql The password of the database is empty , For later use , Need to change password
Get into mysql Console , Enter without password
mysql> use mysql // Use mysql database
mysql> select host,user,password from user; // View user group information
And use it directly updata Modify what you want to use User's password （ Not detailed here ）
（2） Get into wampserver Under the phpmyadmin establish wordpress The database of It's directly called “wordpress”
（3） take wordpress Under the wp-config-sample.php Renamed as wp-config.php, And modify the database configuration inside
My configuration is as follows ：
/** WordPress Database name */
/** MySQL database username */
/** MySQL database password */
As for the background Lane switch to Chinese method ：
1. Uninstalled Go to the official website to download a Chinese version of
define('WPLANG', 'zh_CN'); This line is set to ‘zh_CN’
（ The solution on the official website is , Go straight into wordpress, You will be prompted to update and download the language pack , do not know why I can't ）
So I went to the Chinese version of Directly copied the language package into wp-content\languages Next
3. Download plug-ins
To http://www.simple-press.cn/ You can download the Chinese version directly
At the same time, it provides topics Chinese package of theme wait
Unzip the plug-in later Copied to the wordpress\wp-content\plugins Next
Log in to wordpress The control of the backstage On the plug-in Click on “ Enable ” that will do
Finally, you can change the theme , See the effect of the Forum .
Through some settings of the Forum , It can be seen that simple-press The function of the plug-in is very complete Powerful .
Because it's the next day when it's done , Organize this document . There may be some omissions . If something goes wrong , Feel free to contact me ！
First blog ：
Almost a year and a half of development , This is my first blog in the blog Garden , I'm still a little excited ！
I hope it can help some friends in the garden . There is something wrong with the article , Welcome your advice ...
- wordpress Image watermarking plug-in DX-Watermark
DX-Watermark It's a fully functional wordpress Image watermarking plug-in , Can automatically add text or image watermark to the uploaded image . Background screenshot : Text watermark : Image watermarking : Option description : type : You can choose either text or image watermark , ...
- WordPress Theme setting plug in , Let your site have computers 、 Mobile dual theme
When we build a website, we always give priority to adaptive topics , But corresponding to that , Free self-adaptive themes call foreign public resources , The access speed is not ideal . add wordpress Before optimization , It doesn't have very high access efficiency . So you can download this “ Theme design ...
- WordPress Code highlighting plug-in SyntaxHighlighter The ultimate use
Confucius said : A good workman does his work well , You must sharpen your tools first . As a magnon , Plus stationmaster this already no longer glamorous appellation , How can we not have an economic and practical . It's easy to operate . And it has to be powerful . The style has to be nice too Wordpress Code highlighting plug-in ?! As a visual code, like life ...
- 12 The best WordPress Syntax highlight plug-in recommendation
The syntax highlighting tool enhances the readability of the code , Beautify the code , Make it easier for programmers to maintain . Grammar highlighting provides various ways to improve readability and text context , Especially for code that can end across multiple pages , And let developers find errors in their own programs . In this article , ...
- 25 The best WordPress Gallery Gallery plugins
WordPress Gallery plug-ins are most suitable for work display websites , Especially for those who want to take a strange , Photographers who show their work in a modern way . If you want to install for you WordPress Gallery plug-in unit , So here's what you want . this paper ...
- WordPress Pretty Photo plug-in unit ‘hashrel’ Parameter cross site scripting vulnerability
Vulnerability name : WordPress Pretty Photo plug-in unit ‘hashrel’ Parameter cross site scripting vulnerability CNNVD Number : CNNVD-201311-405 Release time : 2013-11-28 Update time : 201 ...
- WordPress Tweet Blender Plug in cross site scripting vulnerability
Vulnerability name : WordPress Tweet Blender Plug in cross site scripting vulnerability CNNVD Number : CNNVD-201310-645 Release time : 2013-10-30 Update time : 2013-10-30 harm ...
- WordPress Cart66 Lite Plug in Cross Site Request Forgery vulnerability
Vulnerability name : WordPress Cart66 Lite Plug in Cross Site Request Forgery vulnerability CNNVD Number : CNNVD-201310-524 Release time : 2013-10-23 Update time : 2013-10-23 harm ...
- WordPress Cart66 Lite plug-in unit HTML Inject holes
Vulnerability name : WordPress Cart66 Lite plug-in unit HTML Inject holes CNNVD Number : CNNVD-201310-525 Release time : 2013-10-23 Update time : 2013-10-23 harm ...
- githup Upload code
Upload your local stuff to GitHup On . This article is from http://blog.csdn.net/yuanzichao/article/details/44922593 1. install msysgit and Torto ...
- SVN Version control tools use learning
SVN Version control tools use learning Subversion It's an excellent version control tool . 1. Download and build SVN The server http://subversion.apache.org/packages.html Type a 5 Kind of , PUSH ...
- java-String The basic chapter
One .String String understanding java String class , Contains string values and string related operations to achieve some methods 1.String String can be divided into static string and dynamic string Static initialization string :String s1 = "h ...
- Performance testing framework Locust New notes
Locust On Locust It's similar to Jmeter Open source load testing tools , The difference is that it uses python Realization , And support python Script . locust Provide web ui Interface , It is convenient for users to monitor the running status of scripts in real time . ...
- C++ Three characteristics of object-oriented -- Inheritance and encapsulation （ Two ）
Follow the content of the previous article , Let's move on to the basics of inheritance . Constructors and destructors of derived classes Derived classes inherit members of the base class , But you can't inherit the constructor and destructor of the base class , First , We understand that the order in which constructors and destructors are executed is when we create a pie ...
- Programming to realize Linux Under the ls -l
The header file #ifndef __FUNC_H__ #define __FUNC_H__ #include <stdio.h> #include <stdlib.h> #includ ...
- poj 1161 Shortest path composition
Topic link :http://poj.org/problem?id=1161 #include <cstdio> #include <cmath> #include <algo ...
- infinite-scroll Plug in unlimited scrolling load data use
Online for infinite-scroll There are not many examples of plug-ins . But because of it , Advocated the waterfall flow form of page display , So I have to understand this new pagination method . There are some questions on the official website infinite-scroll Detailed description of , But one ...
- STL Source code analysis -- Iteration summary 、 Iterator failure summary
Vector 1. Internal data structure : Continuous storage , For example, array . 2. Random access to every element , The required time is constant . 3. The time it takes to add or remove elements at the end is independent of the number of elements , The time required to add or remove elements in the middle or at the beginning varies linearly with the number of elements ...
2. Common functions of date objects 2. Common functions of date objects Date Object methods Method describe Date() Return date and time of day . getDate() from Date Object returns a day of the month (1 ~ 31). ...