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;
}
}
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
The next-gen hardware-optimised version of The Witcher 3: Wild Hunt is finally available. Free to download for owners of the original release of the game, this update includes a number of visual and performance improvements including:
Real-time ray tracing for PC
Performance and Ray Tracing modes on PlayStation 5 and Xbox Series X,
Performance and Quality modes on Xbox Series S
Support for DLSS on PC and AMD FidelityFX Super Resolution across all next-gen platforms
Faster loading times
The Witcher 3: Wild Hunt on new hardware adds new content and quality of life features such as items and quest inspired by the The Witcher Netflix show, new camera options, quick Sign casting, Photo Mode, cross-platform progression, map and UI tweaks and a selection of community-created mods integrated into the experience. The Complete Edition also comes with all previously released content for The Witcher 3: Wild Hunt including the Hearts of Stone & Blood and Wine expansions, as well as 16 pieces of extra content.
The PlayStation 4 and Xbox One versions of The Witcher 3: Wild Hunt have also received a new update with a number of quality of life additions coming to next gen and the Netflix show inspired content. The latter is also coming to the Nintendo Switch version of the game at a later time.
It's better to wait anyway before downloading it. Or atleast wait until the Patches arrives to make it more enjoyable to play. It has some nasty problems (PC Version), but hey CPR story again with not a good start, atleast not as bad then it was with CP.
That's awesome!!! I'm going buy Witcher 3 game on GOG website because this game is best ever! Stunning game!!! Wow!
Nintendo Switch don't have ray tracing then will be disabled by default in setting.
Next new Nintendo Switch 2 will release in between year 2023 (late) or 2024 will have first time with ray tracing support due to new upgraded CPU/GPU/RAM/storage. I can't wait to look at Nintendo Switch 2 system info in near future. I maybe going to buy Nintendo Switch 2 if have many great features, more powerful speed and have backward compatible with old Switch games.
I don't own Nintendo Wii U and Switch because I skipped both hardware are too weak (slow CPU/GPU/RAM speed) and outdated.
I'm going to buy PS5 Pro in late 2023 or 2024. Because I had my old PS4 and want bring my old PS4 games on PS5 Pro system to keep playing.
That's awesome!!! I'm going buy Witcher 3 game on GOG website because this game is best ever! Stunning game!!! Wow!
Nintendo Switch don't have ray tracing then will be disabled by default in setting.
Next new Nintendo Switch 2 will release in between year 2023 (late) or 2024 will have first time with ray tracing support due to new upgraded CPU/GPU/RAM/storage. I can't wait to look at Nintendo Switch 2 system info in near future. I maybe going to buy Nintendo Switch 2 if have many great features, more powerful speed and have backward compatible with old Switch games.
I don't own Nintendo Wii U and Switch because I skipped both hardware are too weak (slow CPU/GPU/RAM speed) and outdated.
I'm going to buy PS5 Pro in late 2023 or 2024. Because I had my old PS4 and want bring my old PS4 games on PS5 Pro system to keep playing.
I think you might be a bit too optimistic about those predictions. The next Switch will be upgraded, but I really doubt RT support is possible.
Similarly, I don't think a PS5 upgrade makes sense (unless Xbox does it first) as they could easily sell many more base models if they just fully stocked retail shops.
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Caller -"Everytime I start a Pc game on my S24, playing on a external monitor, someone calls or texts me, n it kicks me out of the game." Customer Support - Click (hangs up)
I found it funny cause many many years ago, had a roommate in college that did this same dumbass branding of the school logo, but it didn't look anything like it after it healed. Just looked like a birthmark.