It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
--- baseline/Sources/Post.php 2011-02-07 16:45:09.000000000 +0000
+++ modified/Sources/Post.php 2024-05-12 23:43:54.000000000 +0000
@@ -1080,24 +1080,40 @@
));
if (!empty($topic))
getTopic();
$context['back_to_topic'] = isset($_REQUEST['goback']) || (isset($_REQUEST['msg']) && !isset($_REQUEST['subject']));
$context['show_additional_options'] = !empty($_POST['additional_options']) || !empty($_SESSION['temp_attachments']) || !empty($deleted_attachments);
$context['is_new_topic'] = empty($topic);
$context['is_new_post'] = !isset($_REQUEST['msg']);
$context['is_first_post'] = $context['is_new_topic'] || (isset($_REQUEST['msg']) && $_REQUEST['msg'] == $ID_FIRST_MSG);
+ // Add a warning against consecutive posts. This logic is placed where it is (near the end of this function) mostly because it expects getTopic() to have already been called (when applicable).
+ if (isset($context['previous_posts']) && count($context['previous_posts']) > 0)
+ {
+ $previous_post = $context['previous_posts'][0];
+ $is_consecutive_post = $context['is_new_post'] && $previous_post['poster'] == $context['user']['name'];
+ $is_previous_post_recent = time() - $previous_post['timestamp'] < 86400;
+ $no_serious_error = empty($context['error_type']) || $context['error_type'] != 'serious';
+
+ if ($is_consecutive_post && $is_previous_post_recent && $no_serious_error)
+ {
+ $edit_post_url = $scripturl . '?action=post;msg=' . $previous_post['id'] . ';topic=' . $topic . '.0;sesc=' . $sc;
+ $context['post_error']['messages'][] = sprintf($txt['error_consecutive_post'], $edit_post_url);
+ $context['error_type'] = 'minor';
+ }
+ }
+
// Register this form in the session variables.
checkSubmitOnce('register');
// Finally, load the template.
if (WIRELESS)
$context['sub_template'] = WIRELESS_PROTOCOL . '_post';
elseif (!isset($_REQUEST['xml']))
loadTemplate('Post');
}
function Post2()
{
--- baseline/Themes/default/languages/Post.english.php 2011-02-07 16:45:09.000000000 +0000
+++ modified/Themes/default/languages/Post.english.php 2024-05-12 23:47:12.000000000 +0000
@@ -148,10 +148,11 @@
$txt['error_new_reply'] = 'Warning - while you were typing a new reply has been posted. You may wish to review your post.';
$txt['error_new_replies'] = 'Warning - while you were typing %d new replies have been posted. You may wish to review your post.';
$txt['error_new_reply_reading'] = 'Warning - while you were reading a new reply has been posted. You may wish to review your post.';
$txt['error_new_replies_reading'] = 'Warning - while you were reading %d new replies have been posted. You may wish to review your post.';
$txt['error_old_topic'] = 'Warning: this topic has not been posted in for at least ' . $modSettings['oldTopicDays'] . ' days.
Unless you\'re sure you want to reply, please consider starting a new topic.';
+$txt['error_consecutive_post'] = 'Warning: a recent post of yours is already the latest one in this topic.
Unless you\'re sure that a new post is necessary, please add to your recent post instead.';
// Use numeric entities in the below sixteen strings.
$txt['notification_reply_subject'] = 'Topic reply: %s';
$txt['notification_reply'] = 'A reply has been posted to a topic you are watching by %s.' . "\n\n" . 'View the reply at: ';
$txt['notification_sticky_subject'] = 'Topic stickied: %s';