Semi automatic news collection of phpbb3 Forum

time:14-02-02 forum:PHPBB forum program, plug-in collection and modification
  1, open the viewforum.php file
look up [code]// Grab icons[/code]
the
[code] above); [/code]
replace
[code] / / / / / / >'U_GET_XINHUANET_LIST'statements. .quot; {$phpbb_root_path}v_get_xinhuanet.$phpEx.quot;'mode=post.amp; amp; f='. $forum_id):' '
'U_GET_SDINFO_LIST' =.gt; Mp; f='. $forum_id):' ',
'U_GET_JNNC_LIST' =.gt; $auth-.gt; acl_get ('f_post', $forum_id) $user-.gt; ET ('f_post', $forum_id) $user-.gt; data.#91;'user_id'.#93; = = ANONYMOUS) append_sid (.Quot; {$phpbb_root_path}v_get_sdnews.$phpEx.quot;'mode=post.amp; amp; = = = = = = = = = = = = = = = ANONYMOUS). YMOUS)? Append_sid (.Quot; {$phpbb_root_path}v_get_readmeok.$phpEx.quot;'mode=post.amp; amp; f='. $forum_id):'
'U_GET_E23_LIST'=.gt; De=post.amp; amp; f='. $forum_id):' ',
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / > / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / $forum_id); [/code]


2, [/code]


2. ACP --.gt;.Lt; span class=.quot; gensmall.quot;.Gt;
.#91;.Lt; a href=.quot. R / >.#91;.Lt; a href=.quot; {U_GET_SDNEWS_LIST}.quot;.Gt; sdnews.lt; /a.gt;.#93;
.#91; dialectical. Ws/section? Pz=1.amp; cf=all.amp; q= Ji'nan.Amp; ict=ln.quot;.html.gt; google_jn.lt; /a.gt;.#93;
.lt; =date ('Y_m_d', time ()); / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / > LOCK_EX);
fseek ($fd, 0, SEEK_END);
//INSERT INTO `phpbb_topics` (`topic_id`, `forum_id`, `icon_id`. Pic_status`, `topic_type`, `topic_first_post_id`, `topic_first_poster_name`, `topic_first_poster_colour`, `topic_last_post_id`, `topic_last_poster_id`, `topic_last_poster_name`, `topic_last_poster_colour`, `topic_last_post_subject`, ` topic_last_post_time`, `topic_last_view_time`, ', `topic_bumper`, `poll_title`, `poll_start`, `poll_length`, `poll_max_options`, `poll_last_vote`, `poll_vote_change`) VALUES
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / "',' ', 0, 0, 1, 0, 0);
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / Um_id'.#93;..quot; 0,0,1,0,'$subject', $poster_id, $current_time, 0, 1, 0, 0, 0, 0,.Quot;.$data.#91;'post_id'.#93;..quot;'.quot; '.#93;..quot;'.quot;.$user-.gt; data.#91;'username'.#93;..quot;'.quot;.$user-.gt; data.#91;'user_colour'.#93;..quot;..quot. \r\n.quot / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / T_time, $post_approved, 0, 1, 1, 1, 1,'$subject','.quot;.Addslashes ($data.#91;'message'.#93;)..quot;''.quot;.$data.#91;'message_md5'.#93;..quot; 0, 0; 1, 0, ''; 1, 0, ''; 0, 0, 0); Ock ($fd, LOCK_UN);
Fclose ($fd);
}
flock ($fd, LOCK_EX);
fseek. Code`, `enable_smilies`, `enable_magic_url`, `enable_sig`, `post_username`, `post_subject`, `post_text`, `post_checksum`, `post_attachment`, `bbcode_bitfield`, `bbcode_uid`, `post_postcount`, `post_checksum`, > > > > > > > > > > > > = > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >. / / (5986, 5183, 2, 2, 0,'127.0.0.1', 1331872792, 1, 0, 1, 1, 1, 1,','66','666','fae0b27c451c728867a567e8c1bb4e53', 0,'2pg8tfks','2pg8tfks', > / / / / / / fwrite ($fd,.Quot; delete from'phpbb'.'phpbb_posts');
fwrite ($fd,.Quot; INSERT INTO `phpbb_posts` VALUES (.Quot;.$data.#91;'post_id'.#93;..quot;..quot). 91;'message'.#93;..quot; ','.quot;.$data.#91;'message_md5'.#93;..quot;', 0,'.quot;.$data.#91;'bbcode_bitfield'.#93;..quot;..quot;'.quot;.$data.#91; ', 1, 0,' ', 0, 0, 0); St.txt ends
> / > / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 0, SEEK_END);
/ / / / / / >
fwrite ($fd,.Quot; UPDATE `phpbb`.`phpbb_topics` SET `topic_title` ='$subject'WHERE) _text` ='.quot;.$data.#91;'message'.#93;..quot; 'WHERE `phpbb_posts`.`post_id` =.Quot;.$data.#91;'post_id'.#93;..quot; \n.quot;

prev:When he was 4 years old, his father died... next:Upgrade the PHPBB forum to 3.0.12
post comment
Notice



approved   Ji'nan "shit mountain" should be sho...   The first competition school in Chin...   These 9 kinds of scary symptoms foun...   A 9 year old student corrected the w...   A survey of lonely elderly people in...
rand   Phpbb fix   After the relocation of the PHPBB3 f...   Close the search function of PHPBB3,...   PHPBB3.0.X forum home page shows the...   Summary of error prone in PHP progra...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com