1 : Unpack and upload the files into the folder : /plugins/moderation/
2 : Go into the administration panel, then tab "Plugins", click the name of the new plugin, and at bottom of the plugin properties, select "Install all".
3 : Then in the same page, check if this plugin require new tags in the skin files (.TPL).
If yes, then open the skin file(s) with a text editor, and add the tag(s).
Notes :
Read the bundled instructions.txt file in the .zip
sql tablosunda sorun var y?kleyemiyorum yard?mc? olabilirmisiniz?
Kod:
Run the following SQL commands:
CREATE TABLE ldu_moderation (
mod_id int(11) NOT NULL auto_increment,
mod_authorid int(11) default NULL,
mod_state tinyint(1) NOT NULL default '0',
mod_type varchar(32) NOT NULL default '',
mod_url varchar(255) NOT NULL default '',
mod_reason varchar(255) NOT NULL default '?',
mod_text text NOT NULL,
mod_admintext text NOT NULL,
mod_date int(11) NOT NULL default '0',
mod_updated int(11) NOT NULL default '0',
mod_updaterid int(11) NOT NULL default '0',
PRIMARY KEY (mod_id)
) TYPE=MyISAM;
CREATE TABLE ldu_moderation_warnings (
wrn_id int(11) NOT NULL auto_increment,
wrn_userid int(11) default NULL,
wrn_type tinyint(1) NOT NULL default '',
wrn_reason varchar(255) NOT NULL default '?',
wrn_text text NOT NULL,
wrn_date int(11) NOT NULL default '0',
wrn_updaterid int(11) NOT NULL default '0',
PRIMARY KEY (wrn_id)
) TYPE=MyISAM;
Use the following tags in your .tpls:
<a href="plug.php?e=moderation&t=com&u={COMMENTS_ROW_URL}">Report to a moderator</a>
<a href="plug.php?e=moderation&t=page&u={PAGE_ID}">Report to a moderator</a>
<a href="plug.php?e=moderation&t=fpost&u={FORUMS_POSTS_ROW_ID}">Report to a moderator</a>
<a href="plug.php?e=moderation&t=user&u={USERS_DETAILS_ID}">Report to a moderator</a>