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.
So, I download this one and instal the cia on my 3DS. I put the .ini file from the 3DS folder with my PC's IP on the root of my sd card (I didn't change the one from the PC folder).
I open the .exe and launch the homebrew on my 3DS and it is connected. Then I open an emulator to change the controls and it doesn't work :/ but in a text editor or the notepad, the keys are working, even if not like it should (down give right, left is up ~~~~)
Try run the vjoy config (search vjoy in your start menu, is the easiest way) and see if it's set up to have the axes/buttons you're trying to use? Also make sure you spelled them properly (case sensitive!)
The other possibility is, make sure your emulator/etc can actually take input from a joystick. Maybe test on something else?
Oh wait, you didn't edit the PC's ini file? You need to configure it to use vjoy, i dont think it does by default.
Try run the vjoy config (search vjoy in your start menu, is the easiest way) and see if it's set up to have the axes/buttons you're trying to use? Also make sure you spelled them properly (case sensitive!)
The other possibility is, make sure your emulator/etc can actually take input from a joystick. Maybe test on something else?
Oh wait, you didn't edit the PC's ini file? You need to configure it to use vjoy, i dont think it does by default.
Yeah, I never figured out the cia building myself, so I don't really know if my cia versions even worked, and I'm pretty sure they didn't use zl/c-stick/etc.
Some people provided their own builds somewhere in the thread, or you could just use the 3dsx.
Yeah, I never figured out the cia building myself, so I don't really know if my cia versions even worked, and I'm pretty sure they didn't use zl/c-stick/etc.
Some people provided their own builds somewhere in the thread, or you could just use the 3dsx.
Yeah, I never figured out the cia building myself, so I don't really know if my cia versions even worked, and I'm pretty sure they didn't use zl/c-stick/etc.
Some people provided their own builds somewhere in the thread, or you could just use the 3dsx.
Quick question, Could you please in I believe "main.c?", Change the config files path from root/3DSController.ini to "sd:/3ds/data/3DSController/config.ini" <- Exactly like that please? It's a new homebrew path style that some devs are adapting to.
In dolphin 5.0, when configuring controls theres an option to go from keyboard mouse to vjoy, when I select keyboard mouse the buttons work perfectly but the circle pad doesnt work. when I select vjoy the circle pad works perfectly, but the buttons dont work. What do I do to have both the joystick and buttons works at the same time?
I forked his project, and updated it to support the latest version of libctru. I also got rid of warnings, because I hate seeing them.
I sent you a pull request @CTurt. It fixes build issues when using the latest revision of libctru.
Hmmm. I'm so confused. Can someone help me please?
What do I do in vJoy? How do I configure the circle pad and c stick to it?
Does vJoy work for PCSX2?
How did you do ? Keyboard don't even work for me only pads are working...
edit: nvm i found out..., replace keyboard letter by JOYX where X is a number (1 up to 15)
And if you use 360CE you can turn a 3DS into a 360 controller, finally...
Whener I open 3DS Controller (without having 3DSController.ini) and I exit it by pressing Select + Start, it goes back to the main menu. The interesting part is that the screens' backlights aren't on, while the screens itselves are, which leads to what happens in the video. Also, the effect remains when I open any apps, even the homebrew launcher. It can be solved by moving the 3D slider.
Here's the video:
I think it's what someone referred as a black screen, but it isn't exactly black.
Whener I open 3DS Controller (without having 3DSController.ini) and I exit it by pressing Select + Start, it goes back to the main menu. The interesting part is that the screens' backlights aren't on, while the screens itselves are, which leads to what happens in the video. Also, the effect remains when I open any apps, even the homebrew launcher. It can be solved by moving the 3D slider.
Here's the video:
I think it's what someone referred as a black screen, but it isn't exactly black.
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.