Skip to content

Commit

Permalink
Release v2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Jun 2, 2023
1 parent da0ce46 commit 6decd14
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Members List Module for NamelessMC v2.0.0
# Members List Module for NamelessMC v2.1.0

## Installation:
- Upload the contents of the **upload** directory straight into your NamelessMC installation's directory
Expand Down
2 changes: 1 addition & 1 deletion upload/modules/Members/classes/Members.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function updateCheck() {
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_URL, 'https://api.partydragen.com/stats.php?uid=' . $uid . '&version=' . $current_version . '&module=Members&module_version='.$module->getVersion() . '&domain='. Util::getSelfURL());
curl_setopt($ch, CURLOPT_URL, 'https://api.partydragen.com/stats.php?uid=' . $uid . '&version=' . $current_version . '&module=Members&module_version='.$module->getVersion() . '&domain='. URL::getSelfURL());

$update_check = curl_exec($ch);
curl_close($ch);
Expand Down
4 changes: 2 additions & 2 deletions upload/modules/Members/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public function __construct($members_language, $pages, $navigation, $cache) {

$name = 'Members';
$author = '<a href="https://partydragen.com" target="_blank" rel="nofollow noopener">Partydragen</a>, <a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$module_version = '2.3.3';
$nameless_version = '2.0.1';
$module_version = '2.3.4';
$nameless_version = '2.1.0';

parent::__construct($this, $name, $author, $module_version, $nameless_version);

Expand Down
2 changes: 1 addition & 1 deletion upload/modules/Members/pages/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
'nickname' => $target_user->getDisplayname(),
'avatar' => $target_user->getAvatar(),
'groups' => $target_user->getAllGroupHtml(),
'style' => $target_user->getGroupClass(),
'style' => $target_user->getGroupStyle(),
'joined' => date(DATE_FORMAT, $target_user->data()->joined),
'profile' => $target_user->getProfileURL()
];
Expand Down

0 comments on commit 6decd14

Please sign in to comment.