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; } }

Gaming Luigis Mansion 3

xbmcuser

Well-Known Member
Member
Joined
Sep 8, 2007
Messages
211
Trophies
1
Location
United Kingdom
XP
1,571
Country
United Kingdom
Lots of people with accessibility issues do need an invert Y option!

It is criminal in this day that they dont offer this out of the box, we're not in 1995 Nintendo.

Again can some hacker look at this option?
 

isoboy

Well-Known Member
Member
Joined
Dec 23, 2016
Messages
1,240
Trophies
0
XP
2,726
Country
United States
That's because you're "down under". How about Nintendo adapt to .....nevermind...it's Nintendo we're talking about here.
 

evil goober

Well-Known Member
Newcomer
Joined
Mar 31, 2008
Messages
75
Trophies
1
Age
43
XP
705
Country
United States
I played the first one got about halfway then just lost interest in it, I don't know if I'll like this one is it any different than the first 2.
 

oleole

Well-Known Member
Newcomer
Joined
Aug 4, 2006
Messages
46
Trophies
0
Location
.be
XP
378
Country
Last edited by oleole,

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,871
Trophies
2
Location
At Home :)
XP
4,495
Country
If you go into E. Gadd's Lab and go to gallery there's an extra option in there to change the flashlight to have the dogs face and tongue on it when you shine it at the wall
I was just about to write a guide on this, it took me a while to realise I had to go back into the lab and then go into special items to activate it.
 

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