Пример #1
0
 static function get_qanda()
 {
     $qanda = parent::get_qanda();
     $qanda_new = array('q_how_know_xenforo' => array('q' => 'How can I know if a forum is a XenForo forum?', 'a' => self::get_msg_how_to_detect_forum()));
     foreach ($qanda as $id => $qa) {
         $qanda_new[$id] = $qa;
         if ($id == 'q_lang') {
             $qanda_new['q_images_supported'] = array('q' => 'Are images supported?', 'a' => 'Yes, images are supported so long as you are online at the time of viewing the output - they are not downloaded, the link is merely retained.');
             $qanda_new['q_which_skins_supported'] = array('q' => 'Which skins are supported?', 'a' => 'Whichever skin(s) is/are default for the <a href="http://civilwartalk.com">CivilWarTalk</a> and <a href="http://ecigssa.co.za/">ECIGS SA</a> forums. FUPS\' XenForo scraping functionality was originally developed as a paid job to extract posts from the CivilWarTalk forum; the XenForo software is otherwise unknown to the author of the FUPS software, who has not even registered for an account on CivilWarTalk, nor on any other XenForo forum, and who doesn\'t otherwise have access to the XenForo software, having not purchased it. If you need support for another XenForo skin, feel free to <a href="' . FUPS_CONTACT_URL . '">contact me</a>.');
         }
     }
     return $qanda_new;
 }
Пример #2
0
    static function get_qanda()
    {
        $qanda = parent::get_qanda();
        $qanda = array_merge($qanda, array('q_relationship' => array('q' => 'Does this script have any relationship with <a href="https://github.com/ProgVal/PHPBB-Extract">the PHPBB-Extract script on GitHub</a>?', 'a' => 'No, they are separate projects.')));
        $qanda_new = array('q_how_know_phpbb' => array('q' => 'How can I know if a forum is a phpBB forum?', 'a' => self::get_msg_how_to_detect_forum()));
        foreach ($qanda as $id => $qa) {
            $qanda_new[$id] = $qa;
            if ($id == 'q_lang') {
                $qanda_new['q_login_req'] = array('q' => 'Do I need to supply a login username and password?', 'a' => '<p>Probably not. These are the conditions under which you do:</p>

			<ul>
				<li>You do not supply a value for the Extract User Username setting, and the phpBB board you\'re retrieving from requires login before it will display member information.</li>
				<li>Your local timezone (configured in your board preferences) is different to the board\'s default timezone, and you wish for all dates and times displayed against your posts to be in your local timezone.</li>
				<li>You are retrieving posts from a private forum.</li>
			</ul>');
                $qanda_new['q_login_details_safe'] = array('q' => 'Is it safe to supply my login username and password?', 'a' => '<p>You will need to use your judgement here. I have attempted to make it as safe as possible without compromising simplicity. Your username and password, along with all other settings, will be stored in one or two files in a private directory (i.e. not accessible via the web) on my web hosting account for no longer than three days (a scheduled task deletes these files periodically; it runs once a day and deletes files more than two days old). In addition, you will be presented with an option after the script runs, or, if you cancel the script, to delete immediately all files associated with your request. I will never look inside the temporary files containing your username/password.</p>

			<p>If this doesn\'t satisfy you, you might consider temporarily changing your password for the script, and then changing it back again once the script has finished.</p>');
                $qanda_new['q_post_contents_safe'] = array('q' => 'Is it safe to retrieve posts from a private forum through this script?', 'a' => 'Your username and password are as safe as the previous answer describes. The content of your posts (the output file) is slightly less safe in that this output file is publicly accessible - but only to those who know the 32-character random token associated with it, and only until it is deleted either by you after you have saved it, or by the daily scheduled deletion task. As with usernames and passwords, I will never look inside the temporary file containing your posts\' content.');
                $qanda_new['q_images_supported'] = array('q' => 'Are images supported?', 'a' => 'External images are supported so long as you are online at the time of viewing the output - they are not downloaded, the link is merely retained. Internal images - those uploaded to the forum as attachments - aren\'t supported at all; they occur as relative URLs, which the script does not convert into absolute URLs.');
                $qanda_new['q_which_skins_supported'] = array('q' => 'Which skins are supported?', 'a' => 'Both the prosilver and subsilver skins are supported. The script probably won\'t work with customised skins, but if you desire support for such a skin (you are getting error messages about regular expressions failing), feel free to <a href="' . FUPS_CONTACT_URL . '">contact me</a>. A workaround is to simply set your skin to either prosilver or subsilver in the user control panel of your phpBB forum whilst you are logged in, and then to supply your login credentials in the settings above, optionally reverting your skin back to whatever it was before in the user control panel after running FUPS.');
            }
        }
        return $qanda_new;
    }