Multiple Dede message books

Source: Internet
Author: User

Use the "module"-"module generation wizard" in the background, and enter the required information.


PS: complaints is the meaning of a "report complaint" message book previously created. It is used as the name of many files and the name of the new data table, so you can replace it.

Note that you must change the name guest_book_pos → complaints_pos In the cookies when modifying the following two files (this is the project change)

File | ../plus/guestbook. php
File | ../plus/guestbook/edit. Inc. php



Installer:

Drop table if exists '##__ complaints'; Create Table '##__ complaints' ('id' mediumint (8) unsigned not null auto_increment, 'title' varchar (60) not null default '', 'tid' mediumint (8) Not null default '0', 'mid 'mediumint (8) unsigned default '0', 'posttime' int (10) unsigned not null default '0', 'uname' varchar (30) not null default '', 'email 'varchar (50) not null default '', 'homepage' varchar (50) N Ot null default '', 'qq' varchar (15) not null default'', 'face' varchar (10) Not null default '', 'IP' varchar (20) not null default '', 'dtime' int (10) unsigned not null default '0', 'ischeck' smallint (6) Not null default '1 ', 'msg 'text null, primary key ('id'), key 'ischeck' ('ischeck') type = MyISAM; delete from '# @__ plus' Where plusname like 'complaint reporting module'; insert into '# @__ plus' ('plusname', 'menustri Ng ', 'mainurl', 'write', 'isshow', 'filelist') values ('report a complaint', '<m: item Name = ''report complaint'' link = ''catalog _ do. PHP? Dopost = complaints ''rank = ''plus _ report complaint ''target = ''main''/> ', '', 'ming group', 1 ,''); delete from '##__ arctype' Where typename = 'reporting complaint 'and ispart = '2'; insert into' ##__ arctype '(Reid, topid, sortrank, typename, typedir, isdefault, defaultname, issend, channeltype, tempindex, templist, temparticle, modname, namerule, namerule2, ispart, corank, description, keywords, moresite, siteurl, sitepath, ishidden, 'Cross ', 'crossid', 'content') values ('0', '0', '000000', 'complaint reporting ',' _ rooturl _/plus/complaints. PHP ', '1', 'Complaints. php', '0', '1', '', 'default','', '', '2', '0 ', '','', '0', '','', '0', '0', '0 ','');


Delete a program:

Drop table if exists '##__ complaints'; delete from '###__ plus' Where plusname = 'report complaint module '; delete from '# @__ arctype' Where typename = 'report a complaint 'and ispart = '2 ';


File List:

../plus/complaints.php../plus/complaints../templets/plus/complaints.htm../templets/plus/complaints-admin.htm../templets/plus/complaints-user.htm






Multiple Dede message books

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.