namespace GBAtemp\ListUsers\BBCode; class Custom { public static function renderListUsers( array $tagChildren, $tagOption, $tagName, array $options, \XF\BbCode\Renderer\AbstractRenderer $renderer ) { // Parse group IDs from the BBCode parameters $groupIDs = explode(",", $tagOption); // Initialize the Finder for XF:User entity $finder = \XF::finder('XF:User'); // Construct the condition to find users with the specified group IDs $inSet = $finder->expression("FIND_IN_SET(?, secondary_group_ids)", $groupIDs); // Set the condition for the finder to retrieve users with the specified group IDs $finder->where($inSet); // Fetch users matching the condition $users = $finder->fetch(); // Initialize an array to store user details $userDetails = []; // Loop through each user foreach ($users as $user) { // Start building user details $userDetail = '
'; // Open a div for user details // Get the avatar and username link $avatarAndUsername = self::getUserAvatarAndUsername($user); // Append the avatar and username link to the user details $userDetail .= $avatarAndUsername; $userDetail .= '
'; // Close the div for user details // Add user details to the array $userDetails[] = $userDetail; } // Concatenate user details with commas $userListHTML = '
' . implode('', $userDetails) . '
'; // Return the HTML return $userListHTML; } protected static function getUserAvatarAndUsername($user) { $templater = \XF::app()->templater(); // Render the avatar and username link using XenForo's templating system $avatarAndUsernameHtml = $templater->fn('avatar', ['user' => $user, 'size' => 's']); $avatarAndUsernameHtml .= '' . htmlspecialchars($user->username) . ''; // Return the HTML for the avatar and username link return $avatarAndUsernameHtml; } }

Homebrew: get IRONFALL from 3DS eShop before Nintendo takes it down, it's free

CLSODpOUYAAXwQn.jpg

Famous 3DS hacker @smealum just posted a statement on his Twitter feed informing us that the game IRONFALL, currently available for free on the Nintendo 3DS eShop, contains security breaches potentially allowing anyone to run 3DS homebrew.

When I mean anyone it really is anyone, including owners of the New 3DS, under any firmware version. See update below. Get it fast before Nintendo takes it down!

:arrow: Source: smealum's Twitter

Nathan Drake Update: It's being reported that the game will only actually boot on 9.5+ currently. Please keep that in mind.

Ericzander Update: According to Smealum on Twitter, the Ironhax exploit will NOT require Cubic Ninja or Ocarina of Time. The game has been taken off of the European eShop.

smealum Update: the Ironfall hack will result in the same possibilities as the Ninjhack - homebrew, regionfree, custom themes, tdvs...
 
Last edited by Ericzander,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/FdYTKAVSsXY?si=9E-2AU0JN-4hRZi3