????? ???????? ???? ????????? ?? ????? ????? ????? (??????)
مرسل: الاثنين أغسطس 15, 2011 3:36 pm
##############################################################
## ??? ????? : ????? ????????
## ??? ????? : ???? ????? ?????? ???? ??? ?? ????? ?????? ???? ?????? ???? ??? ???? ???
## ???? ????? :0.3.4
## ???? ???? ????? ?????? :
##
## ????? ????? ????? ???
## ??? ??????? :5 ?????
##
## ??????? ??????? :
common.php,
* index.php,
* includes/constants.php,
* language/en/acp/common.php
## ??????? ???????? :
* root/adm/style/acp_smixmods_feed_news_center.html
* root/includes/acp/info/acp_smixmods_feed_news_center.php
* root/includes/acp/acp_smixmods_feed_news_center.php
* root/includes/mods/smixmods_feed_news_center.class.php
* root/language/en/mods/info_acp_smixmods_feed_news_center.php
* root/update_feeds.php
## ?????? :
##############################################################
## ?? ????? ????? ???? ?????? ?? ??? ????? ???? ????? ?? ????:
## http://www.phpbb.com
## http://www.phpbbarabia.com
##############################################################
## ??????? ??????? :This mod is formerly known as lastRSS agregator & lastRSS autoposting bot .MODs. Both
were merged, reworked and lastRSS parser class is not used anymore.##
##This is initial release of this new versio
##????? ?????: ??? ?? ??????? ????? ????? ??? agregator RSS ?????? ??????? ??? ?????? ??? RSS. MODS. ?? ##??? ??????? ??? ? ?????? ????? ?? ??? ??????? ?????? ??? ???? RSS ??? ????.
##
##??? ?? ??????? ?????? ?? ??? ??????? ??????.
## ??????? ?????? : ??? ???? ??? ??? ??????? ?? ??????? ?????? ??? ??????? ???? ???????? ????? ?????? ???
##?????
1##- ?????? ???? ?????
2##- ?????? ?????? ????
##############################################################
## ??? ??????? ? ????? ????? ??? ???? ??? ???? ???????? ?? ??????? ???????
##############################################################
??? ??? ????? ??? ????? ??????
#??? : common.php
#????
??? ????
??? : index.php
????
??? ????
??? : includes/constants.php
???? ???? ?? ??? ???
??? ????
??? : language/en/acp/common.php
????
??? ????
#-----[ ???? ? ???? ?? ??????? ]------------------------------------------
#
# ?????
## ??? ????? : ????? ????????
## ??? ????? : ???? ????? ?????? ???? ??? ?? ????? ?????? ???? ?????? ???? ??? ???? ???
## ???? ????? :0.3.4
## ???? ???? ????? ?????? :
##
## ????? ????? ????? ???
## ??? ??????? :5 ?????
##
## ??????? ??????? :
common.php,
* index.php,
* includes/constants.php,
* language/en/acp/common.php
## ??????? ???????? :
* root/adm/style/acp_smixmods_feed_news_center.html
* root/includes/acp/info/acp_smixmods_feed_news_center.php
* root/includes/acp/acp_smixmods_feed_news_center.php
* root/includes/mods/smixmods_feed_news_center.class.php
* root/language/en/mods/info_acp_smixmods_feed_news_center.php
* root/update_feeds.php
## ?????? :
##############################################################
## ?? ????? ????? ???? ?????? ?? ??? ????? ???? ????? ?? ????:
## http://www.phpbb.com
## http://www.phpbbarabia.com
##############################################################
## ??????? ??????? :This mod is formerly known as lastRSS agregator & lastRSS autoposting bot .MODs. Both
were merged, reworked and lastRSS parser class is not used anymore.##
##This is initial release of this new versio
##????? ?????: ??? ?? ??????? ????? ????? ??? agregator RSS ?????? ??????? ??? ?????? ??? RSS. MODS. ?? ##??? ??????? ??? ? ?????? ????? ?? ??? ??????? ?????? ??? ???? RSS ??? ????.
##
##??? ?? ??????? ?????? ?? ??? ??????? ??????.
## ??????? ?????? : ??? ???? ??? ??? ??????? ?? ??????? ?????? ??? ??????? ???? ???????? ????? ?????? ???
##?????
1##- ?????? ???? ?????
2##- ?????? ?????? ????
##############################################################
## ??? ??????? ? ????? ????? ??? ???? ??? ???? ???????? ?? ??????? ???????
##############################################################
??? ??? ????? ??? ????? ??????
كود: تحديد الكل
CREATE TABLE `smixmods_feed_news_center_feeds` (
`id` int(11) NOT NULL auto_increment,
`url` varchar(255) NOT NULL,
`feed_type` varchar(10) NOT NULL,
`next_update` varchar(10) NOT NULL,
`last_update` int(10) default NULL,
`available_feed_atributes` varchar(255) default NULL,
`feed_name` varchar(255) NOT NULL,
`available_item_atributes` varchar(255) default NULL,
`encoding` varchar(255) NOT NULL,
`refresh_after` varchar(5) NOT NULL,
`template_for_displaying` varchar(255) NOT NULL,
`template_for_posting` varchar(255) NOT NULL,
`poster_id` int(5) NOT NULL,
`poster_forum_destination_id` int(5) NOT NULL,
`poster_topic_destination_id` int(5) NOT NULL,
`posting_limit` int(2) NOT NULL,
`enabled_posting` int(1) NOT NULL,
`enabled_displaying` int(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
#????
كود: تحديد الكل
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
كود: تحديد الكل
// SmiX.MODs feed news center [+]
include($phpbb_root_path . 'includes/mods/smixmods_feed_news_center.class.' . $phpEx);
// SmiX.MODs feed news center [-]
????
كود: تحديد الكل
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
كود: تحديد الكل
// SmiX.MODs feed news center [+]
$smix_feed_parser = new smix_feed_parser();
$smix_feed_parser->index_init();
// SmiX.MODs feed news center [-]
???? ???? ?? ??? ???
كود: تحديد الكل
// Additional tables
كود: تحديد الكل
// SmiX.MODs feed news center [+]
define('SMIXMODS_FEED_NEWS_CENTER_FEEDS', $table_prefix . 'smixmods_feed_news_center');
// SmiX.MODs feed news center [-]
????
كود: تحديد الكل
'LOG_ERROR_EMAIL' => '??? ???????? %s',
كود: تحديد الكل
// SmiX.MODs feed news center [+]
'ACP_SMIXMODS_FEED_NEWS_CENTER' => 'SmiX.MODs ???? ????? ????????',
'ACP_SMIXMODS_FEED_NEWS_CENTER_FEEDS' => '????? ????????',
'LOG_ERROR_SMIXMODS_FEED_PARSER_NO_FEED_TYPE' => '???? ??? ??? ????? ????? "%s"',
// SmiX.MODs feed news center [-]
#-----[ ???? ? ???? ?? ??????? ]------------------------------------------
#
# ?????