Raised This Month: $ Target: $400
 0% 

Plugin Modification Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
C63
Junior Member
Join Date: May 2010
Old 05-03-2011 , 15:21   Plugin Modification Help
Reply With Quote #1

I want to make quick modification for plugin: http://forums.alliedmods.net/showthread.php?t=149779

So the main thing that i want to change it's to work for phpbb3 forum not for IPB.

I think that the part which must be only changed is:
#define DB_CALL "INSERT INTO `%s` ( s_mid, s_date, s_message, s_ip ) VALUES ( '%d', '%d', '(%s) %s:%s', '%s' )"

So i want to insert the same informations to table like that:
CREATE TABLE IF NOT EXISTS `phpbb_chat` (
`message_id` int(11) unsigned NOT NULL auto_increment,
`chat_id` int(11) unsigned NOT NULL default '0',
`user_id` int(11) unsigned NOT NULL default '0',
`username` varchar(255) NOT NULL default '',
`user_colour` varchar(6) NOT NULL default '',
`message` text character set utf8 collate utf8_bin NOT NULL,
`bbcode_bitfield` varchar(255) NOT NULL default '',
`bbcode_uid` varchar( NOT NULL default '',
`bbcode_options` tinyint(1) unsigned NOT NULL default '7',
`time` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`message_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=87511 ;


Can somebody help me with this?
C63 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode