how can Google [Bot] make a post?Post #2900 has been made by Google [Bot], topic #300 has been created by Infofeeder; registered user #50 is robert140602. (History)
Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
set_config('milestone_pid', 2);
set_config('milestone_puser', 'Rich');
set_config('milestone_pcolour', 'AA0000');
set_config('milestone_posts', 1);
set_config('milestone_pgoal', 100);
set_config('milestone_tid', 2);
set_config('milestone_tuser', 'Rich');
set_config('milestone_tcolour', 'AA0000');
set_config('milestone_topics', 1);
set_config('milestone_tgoal', 100);
set_config('milestone_uid', 2);
set_config('milestone_uuser', 'Rich');
set_config('milestone_ucolour', 'AA0000');
set_config('milestone_users', 1);
set_config('milestone_ugoal', 25);
$cache->purge();
?>
Insert the default entries manually:parkstee wrote:Hi Martex, long story short i deleted the milestone table from my phpmyadmin put it back on and put the old milestones back in using this code below but the milsonte history page is blank how do i get it fixed so it shows the milestones please?
Code: Select all
INSERT INTO `phpbb_milestones` ( `user_id` , `milestone` , `type` )
VALUES ('2', '1', '1'),
VALUES ('2', '1', '2'),
VALUES ('2', '1', '3');
You'll have to edit the entries in the phpbb_config table (look for the milestone_xyz entries)!parkstee wrote:I did a test milestone 6999th post to check it was working, I then dropped it from the datebase but it still shows up on the index and acp pages?