Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 2
Goto page Previous  1, 2
 
Reply with quote Download Post
Post Re: Log Actions MOD 
 
here I leave to them the querryes for if someone more can need them in case my the same happens to him

I have to do is run this code in phpmyadmin.

Code: [Download] [Hide] [Select]
CREATE TABLE `phpbb_logs` (
`id_log` MEDIUMINT(10) NOT NULL AUTO_INCREMENT,
`mode` VARCHAR(50) NULL DEFAULT '',
`topic_id` MEDIUMINT(10) NULL DEFAULT '0',
`user_id` MEDIUMINT(8) NULL DEFAULT '0',
`username` VARCHAR(255) NULL DEFAULT '',
`user_ip` CHAR(8) DEFAULT '0' NOT NULL,
`time` INT(11) NULL DEFAULT '0',
PRIMARY KEY (`id_log`)
);
CREATE TABLE `phpbb_admin_logs` (
`id_log` MEDIUMINT(10) NOT NULL AUTO_INCREMENT,
`mode` VARCHAR(50) NULL DEFAULT '',
`user_id` MEDIUMINT(8) NULL DEFAULT '0',
`username` VARCHAR(255) NULL DEFAULT '',
`user_ip` CHAR(8) DEFAULT '0' NOT NULL,
`time` INT(11) NULL DEFAULT '0',
PRIMARY KEY (`id_log`)
);
CREATE TABLE `phpbb_logs_config` (
`config_name` varchar(255) NOT NULL,
`config_value` varchar(255) NOT NULL,
PRIMARY KEY (`config_name`)
);
INSERT INTO `phpbb_logs_config` VALUES ('all_admin', 1);
ALTER TABLE `phpbb_users` ADD `user_view_log` TINYINT(2) NOT NULL DEFAULT '0';
ALTER TABLE `phpbb_forums` ADD `forum_allow_log` TINYINT(2) NOT NULL DEFAULT '1';


Remember to change the prefix, so the first line of the code looks like this insted.

for example

Code: [Download] [Hide] [Select]
CREATE TABLE `ip_logs

 



 
garaSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Post new topic  Reply to topic  Page 2 of 2
Goto page Previous  1, 2


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events