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.
Uninstall? Or flash stock kernel from the version I last used, then move to the most recent version, dump kernel and then flash custom? I hear uninstall, and I also hear flash stock kernel, which one?
An uninstall removes all traces of hakchi from your system and then makes you flash your stock kernel. An uninstall does both those things. I'm a cautious fellow, so I will be uninstalling mine.
An uninstall removes all traces of hakchi from your system and then makes you flash your stock kernel. An uninstall does both those things. I'm a cautious fellow, so I will be uninstalling mine.
But how can 2.21 do that if I made the kernel dump on 2.20? There's no dump folder for it to go off of to restore it. Not to mention, I'll likely lose all my save states. Surely, one would use the dump you made on 2.20 and restore on the same version, no? I'd think that the MD5/CRC32 of the kernel dump would be different on each version of hackchi.
ok guys so i have the Web installer and it updates automatically when i re open it. so how would i go about install the stock kernel and them re flashing this if once i open it will update i wont be on the old version anymore?
An uninstall removes all traces of hakchi from your system and then makes you flash your stock kernel. An uninstall does both those things. I'm a cautious fellow, so I will be uninstalling mine.
With my NESC, I've never experienced "removes all traces". I have done the uninstall and reinstall with different games. I looked at the folders on the NES using the FTP server and found folders and RetroArch settings listing "CLV-X-XXXXX" for games that were part of the old install.
oddly with 2.21b i keep getting this error " Exception of type 'com.clusterr.felLib.FelParseException' was thrown" any one else getting this issue if so how do ya get around it?
oddly with 2.21b i keep getting this error " Exception of type 'com.clusterr.felLib.FelParseException' was thrown" any one else getting this issue if so how do ya get around it?
oddly with 2.21b i keep getting this error " Exception of type 'com.clusterr.felLib.FelParseException' was thrown" any one else getting this issue if so how do ya get around it?
I've been using hakchi for a long time. Anytime a new version comes out I:
1) Download the new version
2) Go into hakchi folder of last version I was using
3) Copy dump, games, config, folder_images, user_mods folders
4)Copy those folders into newest version of hakchi folder
Voila!
Works everytime.
No need to uninstall, flash custom kernel
The config handles all your folders you've created, the games folder has all your games you've added, the folder images has all your icons you've put into hakchi and user mods has all the cores you've installed.
But how can 2.21 do that if I made the kernel dump on 2.20? There's no dump folder for it to go off of to restore it. Not to mention, I'll likely lose all my save states. Surely, one would use the dump you made on 2.20 and restore on the same version, no? I'd think that the MD5/CRC32 of the kernel dump would be different on each version of hackchi.
I've been using hakchi for a long time. Anytime a new version comes out I:
1) Download the new version
2) Go into hakchi folder of last version I was using
3) Copy dump, games, config, folder_images, user_mods folders
4)Copy those folders into newest version of hakchi folder
Voila!
Works everytime.
No need to uninstall, flash custom kernel
The config handles all your folders you've created, the games folder has all your games you've added, the folder images has all your icons you've put into hakchi and user mods has all the cores you've installed.
But how can 2.21 do that if
I made the kernel dump on 2.20? There's no dump folder for it to go off of to restore it. Not to mention, I'll likely lose all my save states. Surely, one would use the dump you made on 2.20 and restore on the same version, no?
Uninstall hakchi from the SNES Classic while you're on 2.20. You will get an alert at the end of that process that will ask you to reflash your stock kernel. Say Yes and it will do that for you. (Not strictly necessary--this is a "just in case" step, just in case a newer version of hakchi implements something that causes something flashed with the old version of hakchi to conflict with the OS, or something like that)
Close hakchi. Install 2.21 "in-place" (which means over the old version) instead of to a new location. The web installer is probably pretty nice for this. Your kernel dump will still be there. Your save states will still be there. Your games will still be there in the list. When computer programs are upgraded, the upgrade wizard usually does not delete all your documents, so you will be fine. You are installing it in-place, so everything will still be where 2.21 assumes they should be.
Make sure your settings are as you left them and make any changes you wish to make.
Reflash your custom kernel on 2.21.
Resynchronize your games.
Since you're nervous, be sure to make a copy of the hakchi version 2.20 folder before you upgrade it. All your sfroms, box art, config info, dumps, and stuff are in that folder. That way you can go back to 2.20 any time you want.
If anyone has any corrections, please let me know here.
Glad you're asking questions. Computer programs are knowable entities; when you learn how they work they stop sounding so scary. Hopefully this helps you!
I've dumped my snes kernel from 3 versions of hakchi (2.0.20.14, 2.0.20.15 and 2.0.21b) and they all have the same md5. I think people return to stock and flash on a newer version to avoid issues with updates/fixes. I haven't lost any of my saves updating. The dump folder stays the same (using the webinstaller), obviously if you use the standalone then you'll have to copy files over from your previous setup.
But how can 2.21 do that if I made the kernel dump on 2.20? There's no dump folder for it to go off of to restore it. Not to mention, I'll likely lose all my save states. Surely, one would use the dump you made on 2.20 and restore on the same version, no? I'd think that the MD5/CRC32 of the kernel dump would be different on each version of hackchi.
I've dumped my snes kernel from 3 versions of hakchi (2.0.20.14, 2.0.20.15 and 2.0.21b) and they all have the same md5. I think people return to stock and flash on a newer version to avoid issues with updates/fixes. I haven't lost any of my saves updating. The dump folder stays the same (using the webinstaller), obviously if you use the standalone then you'll have to copy files over from your previous setup.
Still, I'll wait for a theoretical 2.30. I'm hoping some of the issues with games I want to play (like sound issues with Mega Man X2) can be fixed with a patch.
Still, I'll wait for a theoretical 2.30. I'm hoping some of the issues with games I want to play (like sound issues with Mega Man X2) can be fixed with a patch.
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.