mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
f6c62ce49c
commit
da1665e6c6
@ -9,7 +9,7 @@
|
|||||||
- Show renamed topic actions in log actions [\#227](https://github.com/torrentpier/torrentpier-lts/pull/227) ([belomaxorka](https://github.com/belomaxorka))
|
- Show renamed topic actions in log actions [\#227](https://github.com/torrentpier/torrentpier-lts/pull/227) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Show set/unset downloaded actions in log actions [\#226](https://github.com/torrentpier/torrentpier-lts/pull/226) ([belomaxorka](https://github.com/belomaxorka))
|
- Show set/unset downloaded actions in log actions [\#226](https://github.com/torrentpier/torrentpier-lts/pull/226) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Show pin & unpin actions in log actions [\#225](https://github.com/torrentpier/torrentpier-lts/pull/225) ([belomaxorka](https://github.com/belomaxorka))
|
- Show pin & unpin actions in log actions [\#225](https://github.com/torrentpier/torrentpier-lts/pull/225) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217), [\#218](https://github.com/torrentpier/torrentpier-lts/pull/218), [\#221](https://github.com/torrentpier/torrentpier-lts/pull/221), [\#222](https://github.com/torrentpier/torrentpier-lts/pull/222), [\#224](https://github.com/torrentpier/torrentpier-lts/pull/224) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#215](https://github.com/torrentpier/torrentpier-lts/pull/215), [\#216](https://github.com/torrentpier/torrentpier-lts/pull/216), [\#217](https://github.com/torrentpier/torrentpier-lts/pull/217), [\#218](https://github.com/torrentpier/torrentpier-lts/pull/218), [\#221](https://github.com/torrentpier/torrentpier-lts/pull/221), [\#222](https://github.com/torrentpier/torrentpier-lts/pull/222), [\#224](https://github.com/torrentpier/torrentpier-lts/pull/224), [\#228](https://github.com/torrentpier/torrentpier-lts/pull/228) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
|
||||||
## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04)
|
## [v2.1.5-2023.07](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.07) (2023-08-04)
|
||||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07)
|
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.06...v2.1.5-2023.07)
|
||||||
|
2
dl.php
2
dl.php
@ -203,7 +203,7 @@ if ($download_mode == PHYSICAL_LINK)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (IS_GUEST && !bb_captcha('check'))
|
if ((IS_GUEST && !$bb_cfg['captcha']['disabled']) && !bb_captcha('check'))
|
||||||
{
|
{
|
||||||
global $template;
|
global $template;
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ if ($tor_reged && $tor_info)
|
|||||||
|
|
||||||
$user_status = isset($bt_userdata['user_status']) ? $bt_userdata['user_status'] : null;
|
$user_status = isset($bt_userdata['user_status']) ? $bt_userdata['user_status'] : null;
|
||||||
|
|
||||||
if (($min_ratio_dl || $min_ratio_warn) && $user_status != DL_STATUS_COMPLETE && $bt_user_id != $poster_id && $tor_type != TOR_TYPE_GOLD)
|
if (($min_ratio_dl || $min_ratio_warn) && $user_status != DL_STATUS_COMPLETE && ($bt_user_id != ($poster_id || GUEST_UID)) && $tor_type != TOR_TYPE_GOLD)
|
||||||
{
|
{
|
||||||
if (($user_ratio = get_bt_ratio($bt_userdata)) !== null)
|
if (($user_ratio = get_bt_ratio($bt_userdata)) !== null)
|
||||||
{
|
{
|
||||||
|
@ -60,7 +60,7 @@ function prepare_post(&$mode, &$post_data, &$error_msg, &$username, &$subject, &
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IS_GUEST && !bb_captcha('check'))
|
if ((IS_GUEST && !$bb_cfg['captcha']['disabled']) && !bb_captcha('check'))
|
||||||
{
|
{
|
||||||
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['CAPTCHA_WRONG'] : $lang['CAPTCHA_WRONG'];
|
$error_msg .= (!empty($error_msg)) ? '<br />' . $lang['CAPTCHA_WRONG'] : $lang['CAPTCHA_WRONG'];
|
||||||
}
|
}
|
||||||
|
@ -703,7 +703,7 @@ $template->assign_vars(array(
|
|||||||
'U_VIEW_FORUM' => "viewforum.php?" . POST_FORUM_URL . "=$forum_id",
|
'U_VIEW_FORUM' => "viewforum.php?" . POST_FORUM_URL . "=$forum_id",
|
||||||
|
|
||||||
'USERNAME' => @$username,
|
'USERNAME' => @$username,
|
||||||
'CAPTCHA_HTML' => (IS_GUEST) ? bb_captcha('get') : '',
|
'CAPTCHA_HTML' => (IS_GUEST && !$bb_cfg['captcha']['disabled']) ? bb_captcha('get') : '',
|
||||||
'SUBJECT' => $subject,
|
'SUBJECT' => $subject,
|
||||||
'MESSAGE' => $message,
|
'MESSAGE' => $message,
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
<td><b>{L_USERNAME}</b></td>
|
<td><b>{L_USERNAME}</b></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="username" size="25" maxlength="25" tabindex="1" value="{USERNAME}" />
|
<input type="text" name="username" size="25" maxlength="25" tabindex="1" value="{USERNAME}" />
|
||||||
<input type="submit" name="usersubmit" class="lite" value="{L_FIND_USERNAME}" onclick="window.open('{U_SEARCH_USER}', '_bbsearch', IWP_US);return false;" />
|
<!-- IF not IS_GUEST --><input type="submit" name="usersubmit" class="lite" value="{L_FIND_USERNAME}" onclick="window.open('{U_SEARCH_USER}', '_bbsearch', IWP_US);return false;" /><!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
@ -866,7 +866,7 @@ if ($bb_cfg['show_quick_reply'])
|
|||||||
'QUICK_REPLY' => true,
|
'QUICK_REPLY' => true,
|
||||||
'QR_POST_ACTION' => POSTING_URL,
|
'QR_POST_ACTION' => POSTING_URL,
|
||||||
'QR_TOPIC_ID' => $topic_id,
|
'QR_TOPIC_ID' => $topic_id,
|
||||||
'CAPTCHA_HTML' => (IS_GUEST) ? bb_captcha('get') : '',
|
'CAPTCHA_HTML' => (IS_GUEST && !$bb_cfg['captcha']['disabled']) ? bb_captcha('get') : '',
|
||||||
));
|
));
|
||||||
|
|
||||||
if (!IS_GUEST)
|
if (!IS_GUEST)
|
||||||
|
Loading…
Reference in New Issue
Block a user