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.
HomebrewPKSM - a complete portable Pokemon Save Manager with integrated bank
I regularly push new commits to the PKSM's repository on GitHub, and the wondercard database has been updated the last time yesterday. Even though I can't release an official stable release for now, the code is open source so you can download it and compile it to get all the new contents that are still to be released officially.
Also, if you really want to donate something, there's a link in the readme on the github page, somewhere near the end.
I regularly push new commits to the PKSM's repository on GitHub, and the wondercard database has been updated the last time yesterday. Even though I can't release an official stable release for now, the code is open source so you can download it and compile it to get all the new contents that are still to be released officially.
I've already donated in the past. It's difficult to justify donating when the donators aren't receiving anything in exchange, like regular stable releases.
If you haven't got the time at the moment, then that's fine, life comes first. But money doesn't buy time, our donations aren't going to change the fact that you're unable to release stable builds at the moment.
Anyhow, take your time. You're not obliged, and we're not entitled to releases.
Hopefully @GBHAKC75 can add this to his buildbot, then we'll have regular builds and you can keep doing what you're doing.
@GBHAKC75 has a buildbot for 3DS projects here. I'll ask if he can add PKSM to the list.
I've already donated in the past. It's difficult to justify donating when the donators aren't receiving anything in exchange, like regular stable releases.
If you haven't got the time at the moment, then that's fine, life comes first. But money doesn't buy time, our donations aren't going to change the fact that you're unable to release stable builds at the moment.
Anyhow, take your time. You're not obliged, and we're not entitled to releases.
Hopefully @GBHAKC75 can add this to his buildbot, then we'll have regular builds and you can keep doing what you're doing.
I realised he is doing this all for free and would gladly donate to support the development if I knew of how he was accepting it so I suppose it is just a wait and see thing if something changes.
And this is the part where you misunderstand what I am saying and honestly feel like you are just disregarding it all together so allow me to say it again.
Not everyone has access to the utilities needed to do the actions that require compiling. Allow me to list just a few.
. Access to a PC
. Acesss to the programs needed due to lack of PC
Need I continue or do you understand now? Hell I had to install my CFW and have been able to keep everything up to date via a Smartphone. I personally think that @Zidapi has a great idea but you seemed to have completely ignored it in the attempt of trying to point out something that is "Simple" for you but not "Simple" for others.
Not to sound of ignorant mind here, but I am begining to think you do not take criticism or suggestions to make things easier upon yourself well.
And this is the part where you misunderstand what I am saying and honestly feel like you are just disregarding it all together so allow me to say it again.
Not everyone has access to the utilities needed to do the actions that require compiling. Allow me to list just a few.
. Access to a PC
. Acesss to the programs needed due to lack of PC
Need I continue or do you understand now? Hell I had to install my CFW and have been able to keep everything up to date via a Smartphone. I personally think that @Zidapi has a great idea but you seemed to have completely ignored it in the attempt of trying to point out something that is "Simple" for you but not "Simple" for others.
Not to sound of ignorant mind here, but I am begining to think you do not take criticism or suggestions to make things easier upon yourself well.
I understand what you say, but, what should I do? You could also ask for a preview build from someone who has all the tools installed, it's not that difficult. You can ask me too, since I have the needed tools accessible. Asking is allowed, forcing someone to do things is not (this is general, I'm not referring to anyone in particular).
Wanna your latest-commit build available? Here it is.Take it as it is and don't complain for occasional bugs.
And this is the part where you misunderstand what I am saying and honestly feel like you are just disregarding it all together so allow me to say it again.
Not everyone has access to the utilities needed to do the actions that require compiling. Allow me to list just a few.
. Access to a PC
. Acesss to the programs needed due to lack of PC
Need I continue or do you understand now? Hell I had to install my CFW and have been able to keep everything up to date via a Smartphone. I personally think that @Zidapi has a great idea but you seemed to have completely ignored it in the attempt of trying to point out something that is "Simple" for you but not "Simple" for others.
Not to sound of ignorant mind here, but I am begining to think you do not take criticism or suggestions to make things easier upon yourself well.
Which edit are you talking about ? I reversed libctru to 1.2.1 and PKSM just built fine, you can see there's one failed build (the first one, using latest libctru) and a successful one (the latest, libctru 1.2.1) : https://jenkins.hakujou.fr/job/3DS/job/PKSM/
Thing is, Luma requires more recent builds of libctru than 1.2.1 (release), so I need to see to which commit I can update my libctru which hopefully will also be able to build Luma successfully.
Please understand I didn't made any edit to PKSM's code. If you encounter any errors with it, report them to @EventAssistant. They're built using latest code and are NOT stable releases. Do not expect them to work without issues.
Added: Multilanguage support (thanks @Naxann!). PKSM has been translated in most of the major languages supported by the console, such as Italian, French, Spanish, Spanish, Portuguese, Japanese and Simplified Chinese! Obviously, this couldn't happen without our foreigners contributors, which helped to translate in all the languages we devs don't speak.
Korean and Traditional Chinese translations are still missing, and Russian ones are messy, because they have not been trimmed to fit in the graphics. If you know how to help us, feel free to make a Pull Request!
Fonts are now optimized: we managed to bundle all the characters in a single place and save space, too: old builds were about 6MB in size, this is less than 4MB instead, saving space and memory while opened.
Font scripts are available in the source code!
All the bugs related to pokemon names, items and so on have been fixed, too. Now everything is properly rendered on screen.
You will notice some initial delay when opening your boxes with the Japanese language on: this is due to the font caching and everything will be smooth in a second or too.
Your language will be determined automatically on the first launch, but you can change it from the settings. It will be remembered the next time you open PKSM.
Items and moves in the editor list are now sorted in every language you will choose.
Added: new Save Info Editor proof-of-concept! It has been thought to be similar to the hex editoryou can already use during pokemon editing.
It doesn't do much for now (I had not so time to work on it), but there will be tons of advantages in the future, such as bag item editing and similar!
Since it works with the single bytes and it can be customized in the code, the save editor will work with all the games supported from PKSM as for now. Some examples? You could now edit your TID and SID on gen4 games to abuse of the Cute Charm glitch without needing your PC (for both editing or RNG) to do it.
Pull requests are highly appreciated!
Added: Tons of changes and additions in the GUI! There's a pretty new main menu now, for both 3DS titles and DS titles. Other graphics changes will be explained in detail later.
Added: New wondercard details screen. Now those are taken from the wondercard file directly, making the external txt description files unuseful.
You can now see the wondercard title, OT, held item, met date, level and moves for every wondercard available in the built-in database. The game version related to each wondercard is still WIP.
For this reason, graphics for the wondercard injector are heavily changed.
From now, you can see details for multiple wondercard events. You will notice a tip in the bottom screen if an event has multiple wondercards in it, and you can see details for each of them pressing L/R.
Added: Rosalina-based Homebrew Launchers are now supported. You can find a rosalina compatible .3dsx build into the release zip attached at the bottom.
Added: Extra Storage dump. You can now dump the whole extra storage content into your SD card, at /3ds/data/PKSM/dump/storagedump_[DATE]. Every pokemon will be saved in a separate .pk7 file.
Added: PokéDex function. You can now see what you have caught or seen. This is available for every gen6+ game, and it's accessible from the extra storage screen.
Fixed: Current Handler and Held Trainer Friendship are now set to 0 while using the generation function.
Fixed: navigation is now possible with both pads (directional and circle), in case someone have one of the pads broken or malfunctional.
Fixed: Magearna and Marshadow now shows in the generation screen.
Fixed: Encryption Constant when generating a pokemon is now random. Spinda spots are now random, too.
Fixed: Pokedex Flags bug introduced in version 4.2.3 has been fixed. Now, pokedex flags are saved automatically when you do transfers from storage to box and box to box.
Removed: Mass Injector. While this has been removed (so as the various collections), the file from where the generated pokemons are taken is still accessible from PKSM.
Added: tons of gen7 wondercard added:
0221 - JPN Egg Shiny Chance
0222 - JPN Bewear
0223 - Ash-hat Pikachu
0233 - HK Shiny Tapu Koko
0234 - Anime Steenee
0235 - Anime Turtonator
0236 - Anime Vulpix
0599 - Bottle Cap
1105 - Shiny Tapu Koko
1107 - Alolan Vulpix
1108 - Alolan Sandshrew
1109 - Alolan Diglett
1110 - Alolan Grimer
1111 - KOR Egg Shiny Chance
1112 - WCSK17 Mew
1608 - Pidgeot-Steelixite
1609 - Mawilite
1610 - SM Rare Candy
1611 - SM 4 Mega Stones
1612 - SM PGL Prize
1613 - SM PGL Prize
1614 - SM PGL Prize
1615 - SM PGL Prize
Added: gen6 wondercards added:
0183 - Singa Volcanion
Added: DS wondercards added (the IDs are not the real ones, due to implementation):
025 - Milos Island Tornadus
026 - Kalita's Hydreigon
027 - Spring 2012 Zekrom
090 - Azure Flute (unofficial)
If that's not enough... Let's talk about PKSV 2.0.0:
PKSV is now built directly from PKSM source code, using an ad-hoc Makefile.
This means that PKSV gets all the graphic changes introduced in PKSM 4.3.0, such as multilanguage support.
Editing is unavailable as always (because of PKSV philosophy), though.
Even though editing is not there, you can still use the extra storage function with save functionalities enabled. This will make heavy breeders' life simple.
PKSV's separate repo will be closed, so you'll only be able to download it from the PKSM repo instead.
This update is really massive, and it counts about 200 commits made in a range of two months. Hopefully you will enjoy all the work and time that Naxann, dsoldier, all the translators and me dedicated to make this happen.
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.