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.
Back in my day, I and others would use floppy disk drives to save homework assignments, game roms, and so on, it was like the USB sticks of that era and really handy, too. I doubt anyone still uses since it had such little storage (1.44 megabytes), unless they'd do it for nostalgia.
I still have a bunch of them lying around because what else am I gonna do with it, throw it away? Maybe someday I'll load them up and see what I archived on them as that could be cool.
And if you're too young to know what a floppy disk is...
Who knew that we'd now have tiny memory cards that can hold 1TB+, people in the 90's and early 2000's wouldn't believe that!
I have, yes. Used them for old computers to transfer drivers and programs. Another is to backup Amiga floppy disks and write my own, mainly sound trackers and games.
Most people couldn't afford a CD-ROM burner because they were super expensive, and were more so for professional industries. Not until the first affordable consumer burner that HP produced in 1995/96-ish.
Even back then I had no use for them because you can't even store one song on one disk.
I don't see why anyone would wanna use them nowadays given the tiny storage, let alone the fact that floppy disks readers basically don't exist anymore.
Most people couldn't afford a CD-ROM burner because they were super expensive, and were more so for professional industries. Not until the first affordable consumer burner that HP produced in 1995/96-ish.
I used to burn Dreamcast games to CDs and OSes (WIndows XP/7) to CDs/DVDs, but now... It's either "burn" to a USB or use an emulator to play those games.
Of course, there's also the possibility of loading DC games via an SD card to play on the console itself (an add-on, I've seen).
Kinda sad we've left that behind. Blu-ray is probably next.
I used to burn Dreamcast games to CDs and OSes (WIndows XP/7) to CDs/DVDs, but now... It's either "burn" to a USB or use an emulator to play those games.
Of course, there's also the possibility of loading DC games via an SD card to play on the console itself (an add-on, I've seen).
Kinda sad we've left that behind. Blu-ray is probably next.
Loading DC games off an SD card is kinda a mixed bag for me. With Dreamshell sometimes the game doesn't work at all, or that the settings need tweaking to get it to run. I've burned quite a bit of homebrew and self-bootable DC games onto CD-R media, only downside is that in order to fit a full-game onto a 700MB CD, stuff needs to be cut out like music or video to fit. And in many cases like with Sonic Adventure 2, it has anti-piracy measures that would glitch out the boss fight with Dr. Eggman if it detects it as a copy.
Unlucky for American and Japanese owners of DC, is that they shipped out VA2 mobos after the Mil-CD vulnerability was discovered, disabling the use of CD-R copies. Unless you were in Europe, only VA0 and VA1 mobos were around.
When I was in the Army, they still had Tape Cassette Drives to make Backups, along with 3.25 Floppy Disks. Still remember the 5.25 Floppy Disks from Elementary School.
Even back then I had no use for them because you can't even store one song on one disk.
I don't see why anyone would wanna use them nowadays given the tiny storage, let alone the fact that floppy disks readers basically don't exist anymore.
For me yes, first on the Commodore 64 at school later at home.
Those where 5 inch floppys disks, later on I got a Amiga 500. on that machine I used diskettes.
When we got a PC at home, it was a Commodore PC III for that one I used mosly dikettes.
Till around 2000 I used diskettes, then it was mosly cdr/dvdr's.
I still use floppy's and diskette's nowdays on my C64 and Amiga 500.
lol 1Tb was the total storage size of my first computer It was harsh because I had to delete my mp3 on regular basis to get new ones, I didn't have a CD burner.
lol 1Tb was the total storage size of my first computer It was harsh because I had to delete my mp3 on regular basis to get new ones, I didn't have a CD burner.
I did and still do. Not very useful when compared to microSDs or newer USB drives but I very much doubt anyone in my vicinity would bother getting a floppy drive just to find out what's on my disks
Excluding retro stuff e.g. Amiga, DOS, etc. I was reliant on them until the early-mid 00s for file transfers because they were a near universal standard.
It wasn't until I got USB flash drives and broadband/LAN that switching away became practical.
Funnily enough though, the oldest from new piece of computer hardware I still own and use is the FDD from my family's original 486 PC.
That said, even for my retro stuff I've started to shift over to Goteks.
When I was in the Army, they still had Tape Cassette Drives to make Backups, along with 3.25 Floppy Disks. Still remember the 5.25 Floppy Disks from Elementary School.
Tape is still in use, at least in some commercial environments, an LTO 6 tape can potentially hold 6TB of compressed data and only cost £40.....unfortunately the drives cost allot more so ROI does play a part.
I considered going down this route for offline backups, but I decided against because of the potential issues e.g. reliability, ensuring I do backups, etc.
Fun fact though, back in the mid 00s I knew of one company which was contractually/legally required to keep a library of open reel tapes. You know those vertical column drives you see in old TV shows/films/museums? They were only just getting rid of them....having replaced them with newer tray loading ones.
They even had multiple silos filled with tapes because they were used for site to site backups, because their dedicated fibre connection was too slow compared to these 1TB tapes driven their by courier.
At my retail job, we only ditched daily backups to DAT tape about 4 years ago (some ancient POS UNIX software).
Want to know why the Windows Format Utility is limited to 32GB for FAT32? Because the guy who wrote it only had a 16MB memory card and figured it was enough for NT 4.0's lifetime.
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.