Part-time penguin, snow angel maker, bartender who gives you mostly ice.
Public Key
npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Profile Code
nprofile1qqsfzym45hv2hm3u0qnpnxq6p9kvce32lu2jpnywq9gwnqjv8d3ulrspz4mhxue69uhhyetvv9ujuerfw36x7tnsw43qz9thwden5te0wfjkccte9ekk7um5wgh8qatzh95wnv
Show more details
Published at
2026-08-18T02:49:19Z Event JSON
{
"id": "50c4d9337428effb5ddc59db0bef7546bd9f1b8e5635dee2193ce2e8123912b9" ,
"pubkey": "911375a5d8abee3c782619981a096ccc662aff1520cc8e0150e9824c3b63cf8e" ,
"created_at": 1787021359 ,
"kind": 0 ,
"tags": [
[
"proxy",
"https://dillyofapickle.com/profile/randompenguin",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "{\"name\":\"Random Penguin\",\"about\":\"Part-time penguin, snow angel maker, bartender who gives you mostly ice.\\n\\n\",\"picture\":\"https://dillyofapickle.com/photo/profile/randompenguin.jpeg?ts=1750719488\",\"banner\":\"https://dillyofapickle.com/photo/header/8aa28c03-2068-59d3-30a3-fae959971386?ts=1756659321\",\"nip05\":\"[email protected] \",\"fields\":[[\"Penguin Facts\",\"Pygoscelis papua is the formal name for the \\\"Gentoo\\\" penguin. Gentoo's are characterized by a band of white feathers extending across the top of the thead from just above each eye, a black throat, a brush tail that is larger than other penguins, and a bill that is mostly deep orange or red. Some live on subantarctic islands while others live on the Antarctic Peninsula. A genetic analysis revealed there are FOUR subspecies!\"]]}" ,
"sig": "f2a04d063d8a8e7df66dbd95c8a3bc9145f0041e5c6908151a89a5247d9879f2baa8d3d94677c73071a993066b2789b705f8f1bd68ddb2bf2048341c221100e1"
}
Last Notes npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I'm working on a custom theme. I want to implement the compose.tpl template, maybe also the advancedcomposer.tpl. But in /src/Module/Item/Compose.php this line is blocking my ability to do so: if ($this->appHelper->getCurrentTheme() !== 'frio') { throw new NotImplementedException($this->l10n->t('This feature is only available with the frio theme.')); } How do I get around that? Is there even a way to work around that? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin If neither "Smart Threading" nor "Compact Conversation View" are enabled you get the default layout for replies. I'm calling this "Flow Chat" because it's a bit like a flow chart for the conversation that, unlike simple thread lines or indenting, shows the relationship between the replies in detail: Again, direct replies to the OP are separated by thick dashed lines, so you can see replies beneath them form separate conversations, with those replies separated by thin dashed lines. But the big difference are the bracket-thread lines. Second level are gray. Third level are blue. Fourth level are orange. Fifth level are green. Sixth level are red. Seventh+ level are purple. Friendica never indents anything more than thread_level_7. If you compare the second conversation here to the "smart threaded" version you can see how this shows the actual relationship and depth of the replies, where "smart threading" does not. https://dillyofapickle.com/photo/21408989196a99cd88385c9957987312-0.jpeg npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin For the aforementioned "Smart Threaded" option the replies under that depth test post would look like this with thick dashed lines between direct replies to the OP and thin lines and indenting for replies to replies: The point of the "smart threaded" option is to reduce the amount of indentation. It accomplishes that by making any reply, at any depth, that has < 2 direct replies a thread_level_2 post (as if it were a direct reply to the OP). Once there are 2 or more replies to that comment its thread level changes and it starts indenting. However, that purposely completely breaks the relationship of replies to replies that have fewer than two direct replies. Nothing I can do about that. That's how it intentionally works. If you enable the new "Compact Conversation View" option, which only shows comments by the current user and the OP, whether "smart threading" is also enabled or not, this is the layout used. https://dillyofapickle.com/photo/17147153906a99cd70783cd138088558-0.jpeg npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I'm still working on this layout but haven't tackled the mobile version yet. I got sidetracked trying to make post replies look and work better. One thing that annoys me is that the engagement count for comments only shows the number of direct replies to the post instead of the total of all replies. So I've been thinking of at least adding a counter for how many total replies are downloaded/visible: I think you only ever see that button with the full comment count if you enable "smart threading." My downloaded number is done entirely with CSS counters and only appears on a post that has at least one reply. It dynamically updates if you press the button to load more comments. I would prefer an option to just show the total reply count in every thread view mode, but it doesn't just hide that "16" it doesn't even create it in the other views. So the best I can do is a count of how many are currently downloaded and visible. https://dillyofapickle.com/photo/15419108896a99cd5f15ac4985034709-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin That update is released: gitlab.com/randompenguin/bookf… Main difference is it now handles a contrasting text color on buttons that have an accent color background. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin FYI: There is going to be an update to this in a couple of days or so. I'm reworking how it calculates colors on the PHP side because some of the accent colors are coming out way too dark in Dark Mode and I'm also implementing a contrast color on a bunch of buttons so when the accent color is dark the test is light and vice versa. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Bookface for Friendica 2028.06-rc ONLY FOR FRIENDICA 2026.08-rc! It will NOT work with any earlier version of Friendica!Keep in mind that the Release Candidate is still receiving frequent updates and possible breaking changes. There are now MORE files to copy into the /view/themes/frio/schemes folder! bookface_auto.css bookface_auto.php bookface_dark.css bookface_dark.php bookface_light.css bookface_light.php bookface_legacy.css (new!) bookface_legacy.php (new!) bookface_assets folder (new!) You should not copy the /src folder unless you're planning to make changes or contribute. Make sure you set the permissions correctly on the files, the assets subfolder, and its contents. This Bookface version represents a massive rewrite of Bookface due to the major refactoring of Friendica. Some of the most noticeable changes are: Most of the Nav and Action button label variables are now removed because auto-translated labels have been added as an option in Friendica. The --link-color variable now only applies to text color while backgrounds and borders use --accent-color The user's color choice now creates a full "color theme" using tints, shades, and tones of the accent color. The File Browser button is no longer hidden by default. While there is still no way to actually manage the files the browser layout has been improved. Bookface now makes extensive use of the new light-dark() CSS function. It is widely supported by new browsers. However some users on older devices that can't update the browser may experience unexpected results. So there is also a "Bookface Auto Legacy" style included that uses the older, more widely supported prefers-light-color and prefers-dark-color method. In Settings > Display > Theme and Admin > Themes > Frio it now shows a screenshot of Bookface instead of Frio The stylesheets are now modularized to make it easier to update and maintain this project.OTHER NOTES: The README file references the "Bookface Custom" add-on. That add-on has not yet been updated to work with 2.1.7. The README file points user to the "Bookface Wiki." That has not yet been updated to reflect the changes in version 2.1.7. The wiki will be updated when there is a stable release. @nprofile…ujpr @nprofile…6wag #Friendica #theme #dev gitlab.com/randompenguin/bookf… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn Oh, so it's similar to using templates in a theme, only addon ones are appended rather than replacements? Thank you for your help! Turns out it was simpler than I thought and I was messing it up by making it overly complicated. I've got it working now 😃 And because I moved all the settings into an array my footer.tpl is just 7 lines of code to iterate through that array. The original purpose of this add-on was to make it easier to change/translate all the pseudo-element nav and action button labels. With all of those now moved into the core I'm not sure how useful this add-on still is, but it also gives pretty granular control over most of the Bookface CSS variables. I knew someone who was colorblind and their computer looked like the Joker's from Batman because it was all purple, yellow, and lime green. Looked great to them I guess. I'm just about finished updating Bookface for 2026.08-rc. I just need to actually install the RC on my Dev Server to check it. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn I used the footer hook because I couldn't figure out how to do it with a template. The documentation on this stuff is still pretty thin so if you could either point me to an add-on already doing that or just tell me how to do it I'd appreciate it. I'm also planning on moving all those settings into a single array so this add-on isn't cluttering up the pConfig table with a gazilion entries. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn Specifically I'm in the process of updating this addon: gitlab.com/randompenguin/bookf… which you can see uses the settings template and add-on and the footer hooks. So, no, it's not going through a template to display it's appending to the HTML in the footer hook. So that can't really be filtering HTML code, including scripts. I wasn't surprised that the footer hook wrote the script into the page, I've seen other add-ons include dynamically generated footer scripts that way. I'm actually generating a <style> block that way. It was more that I was surprised the pConfig() and config() don't sanitize the config values before saving them into the database. Maybe it's because I've spent so many years working of WordPress stuff where you never trust anything entered in a form and sanitize it all before it goes into the database. I guess I'll just include the sanitizing in my add-on, but I was wondering if there's already a function like that in Friendica I can use or if I need to write my own function for the task? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn I wasn't really thinking about SQL injection, I was thinking about malicious JS code getting written to the front-end and executed by an add-on that just uses a hook that injects it somewhere in the page code like the head, footer, etc. I tested this by entering an annoying JS script into the text field and saving it. Where the add-on displays the user text from that setting, sure enough it wrote it <script> tags and all into the page and executed it. That doesn't seem like something that should be possible to do. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I've been looking though the source code and when you set an option it looks like no sanitization is done? I see serialization of arrays and everything else is cast to type string. So theme and addon settings should be doing the sanitizing ahead of using pConfig()->set() or config()->set()? If so, is there already a Friendica method for doing that? I made a couple add-ons that have text fields on their settings pages and I wouldn't want anyone to be able to save malicious code into the database with them. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…t566 Another thing i struggle with is – it seems you dont get notified when someone interacts with your posts (likes, replies). You find out by accident or not at all. Did you ever change this setting? https://dillyofapickle.com/photo/80792363166a7cca29a2c0e565735676-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…t566 "Compact Conversation View" was explained to me as only displaying comments that are: a direct reply by the author to their own post a direct reply by the reader to a post[/i] My proposal won't even show those. It hides all replies in feeds. Mine also makes the post body into a clickable link to the single post display page (which shows all the replies regardless of either setting). npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I retracted my PR for this. It won't be in the next release of Friendica. It conflicts with the existing "Compact Conversation View" feature which hides all other comments except your own interactions with a post author (or something like that), where mine literally hides ALL comments under the post and requires you to click the post to read it on a separate page that shows all the comments. There were questions of whether there is demand for a feature to make Friendica feeds work the same way as Bluesky and Mastodon? And whether being able to write a comment to a post in the feed, but not see it get added under the post in the feed is too confusing, and whether commenting in the feed should be completely disabled, or on submission should it take you to that post's single page where you can see your comment? Which will take a little more work to figure out how to make it do that. So I'll probably do a post/poll on that question and if there's enough interest I'll resubmit the PR for the _next_ version. We can probably put both options in a dropdown so you can't enable both of them at the same time. But version 2026.08 is really close to a release candidate so it's probably better to hold off on a big feature addition like that until a). we know if people even want it and b.) it can be made to work right and without conflicting with existing options. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…t566 I'm old school. I have multiple versions of Friendica installed alongside each other running in XAMPP on a Mac. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin While trying this out I've decided I'm going to submit a PR that offers "Hide Comments in Feeds" as Settings > Display option for ALL themes (turned off by default of course). People who want a really compact feed will love it. People who don't like extra clicks will hate it. But nobody has to use it if they don't want to. In every feed all of the comments are hidden. But you click on the post body and it opens the post in its own page, only there it will actually show you any comments under it. This is exactly how the web UI of both Mastodon and Bluesky work so it is a UX with which many users will already be familiar. The trick is making sure that all the other stuff in the post still works as expected. The contact links in the post header. The (re)action buttons below. Commenting without having to first open the post in the single display page. The only thing I don't like is that it literally just hides the comments in the feeds. It's still going through all those loops creating them. But the same loop creates the top post too and while the templates are context-aware if they're being rendered in a "display" page or not, the backend is not. So it's not quite as efficient as it could be. Maybe I'll figure out that backend part. But right now on my Dev Server I've got this working perfectly across all the themes. Now, if I can just get all these PRs I've been working on submitted... npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Curious whether people would want this theme style to work like Bluesky/Mastodon where: * The main feeds only show you the actual posts and none of the comments * You click the post body to open that post in a new window by itself with all its comments It would require adding a couple invisible elements to a Vier template to pull it off, but I don't know if people like the way Bluesky and Mastodon make you go to a new page to see the comments or if Friendica users would want that? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn There's no such thing as taking up too much vertical space on a page that can, in theory, be infinitely long. Sure, some people may not like scrolling a wee little bit more because of a portrait image. I'd rather have the layout look right than accommodate their impatience. Doom Scrolling *should* take a little extra effort. 😈 npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Okay everyone I get it. DON'T CROP IMAGES. The "Literal Grid" is out. Not doing it. This is why I ASKED first. 😉 npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn The masonry layout doesn't display like the second version because of this conditional at the top of the layout function: if ($singleImageInRow = count($PostMediaImages) == 1) { $PostMediaImages[] = $PostMediaImages[0]; } The array of images is run through both array_map and a "chunk" operation to split it into pairs. If the length of the chunk is "1" it duplicates the one image and lower down in the code gets the dimensions as if there were a duplicate of that image next to it. But the total count for display is still the original count of images so it never actually displays that image twice at the end. Comment out/remove that conditional and the last image is scaled to span the columns above it. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin As reference for anyone who doesn't have accounts on Bluesky and/or Mastodon this is what their layouts look like: https://dillyofapickle.com/photo/62385646616a6129cec8286685843017-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…kl4v Then this theme style wouldn't be for you. Like I said, this takes design cues from Bluesky and Mastodon which both have left and right sidebars. It's a key aspect of the layout, as is the narrower feed. Thankfully Frio allows you to use other themes/styles/schemes. If this were one of the Big Tech platforms they'd redesign and you'd just have to live with it. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…kl4v Something like this: https://dillyofapickle.com/photo/44000395316a605777cef8a554994512-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…kl4v IMO Friendica is overloaded. It has so many "moving parts" it's really hard to redesign it. I mean, we could get rid of that right sidebar. It already disappears on narrower screens. The "Frio" theme doesn't even have it. And/or I could selectively hide things in it to pare it down to something more like Bluesky's right-hand sidebar. I made the drop-down user menu stuck open, I could turn that back into a drop-down and move the left sidebar up. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Vier Facelift? Before I started work on BookLook the plan was to just create a modern UI style for the "Vier" theme along the same lines of what I did with Bookface for the "Frio" theme. I didn't really get all that far with the one for Vier, but it was pretty functional - at least on desktop. I hadn't thought about the mobile UI. Instead of Facebook this "Modern" style takes design cues from both Mastodon and Bluesky. Anyway, I pulled that stylesheet into Friendica 2026.08-dev and now I'm wondering if I should just go ahead and finish it? I'm not sure how Vier users feel about it. Is there any interest in this? As for what's left to do, the two sections you see above are the only ones I finished styling. Though the layout seems to work pretty well across most of the Friendica. I'd also need to figure out the responsive design including how this transforms into a mobile UI for phones and tablets, and of course make a "dark mode" variant. Not sure if it would get into the Friendica core code or not, but if there's interest I can work on finishing it and at least release it on my own repository like I do with Bookface. @nprofile…6wag @nprofile…63c5 https://dillyofapickle.com/photo/30272866416a5ec8500cd27946796708-0.jpeg https://dillyofapickle.com/photo/12355917036a5ec85d5db7c196880273-0.jpeg npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…fpl7 It would be much more common for a mobile UI on a phone to have a full-width menu like this: https://dillyofapickle.com/photo/42609153156a570bf837c27040862126-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin There's already a check in Nav.php for whether or not the current user has any additional identities so I was thinking of using that to swap out the label and icon so it shows a user icon with a "+" and says "Add Account" but if they already have one (or more) it would be the arrows and "Switch Accounts" (or does that sound too formal and businesslike for Friendica, perhaps "Add Profile" and "Switch Profiles" would better?). npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…63c5 @nprofile…6wag If you weren't aware there are two sets of Action Buttons, one for Desktop and one for Mobile. This is likely legacy code from before we could rely on CSS media queries for responsive layouts. Anyway, I'm working on a PR that would eliminate one of those sets of Action Buttons and just use a single set for both desktop and mobile devices. Similarly there are two User Menus, a drop-down one for desktop and a slide-in one for mobile. I'm planning to get rid of one of those and only have a single menu regardless of what device you are using. That dropdown menu works just fine on mobile as a dropdown menu. It's already coded to auto-scroll any overflow. But I can also add styling to make it work as a slide-in menu panel on mobile. So my question for everyone is: Do you want the mobile menu to slide-in like it currently does or do you want it to be a drop-down like on desktop? https://dillyofapickle.com/photo/80829553216a56b2a2157d6208541560-0.png https://dillyofapickle.com/photo/13528555146a56b2b1f2517518968639-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn Hmm, I'm seeing them over on my Friendica.World account. I don't run this server so maybe the admin @nprofile…48sv needs to look into it? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Resurrecting this post because the develop branch now has roles! I'll look into implementing the icons in Booklook. But there will be no way to do this in Bookface if Frio doesn't have any indicator of who is an "Administrator" or "Moderator." Even in Booklook showing verified checkmarks (and these others) is going to be a theme setting, and it only applies to accounts ON that server. But if enabled my plan is still: Round Blue Checkmark = self-verified user Solid Blue Seal = dropping the idea of using this Blue Seal with Checkmark = self-verified Group or Page account Solid Green Shield = Moderator Role, unverified account Green Shield with Checkmark = Moderator Role, self-verified account Solid Gold Seal = Administrator Role, unverified account Gold Seal with Checkmark = Administrator Role, self-verified account Again, this would only be in Booklook and only if enabling the setting named something like "Show verified checkmarks and roles for accounts on this server" Arguments can be made that "verified checkmarks" are overblown and don't mean much in the Fediverse, but knowing if you're interacting with an admin or mod is useful. @nprofile…lz42 @nprofile…20kn https://dillyofapickle.com/photo/871680063169375a1a697ed321498932-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…8a9w I have fixed versions of smileybutton and smiley_pack addons on my GitLab. I submitted the smileybutton fix and it was merged, but apparently into dev branch not stable. The updated smiley_pack is optional. gitlab.com/users/randompenguin… A new "media" embed button was added to the compose window. All of the buttons on both the compose and comment tools were given a new style of "btn-default" which gave them the gray background (not sure what the point of that was IMO "btn" should be the base/default). It looks like you're just using regular Frio, but for Bookface scheme I've fixed the button appearance in version 2.1.4. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…cen2 I submitted a fix and upgrade for the smileybutton add-on that got merged into the develop branch about 3 months ago, apparently didn't end up in 2026.05. I just verified that my revision does work in the latest release. You can get it here: gitlab.com/randompenguin/smile… I also have an updated version of the smiley_pack addon used by Smiley Button that I haven't submitted a PR for yet (but my modded SmileyButton works with the current smiley_pack addon too). It fixes some missing icons and adds some codes other platforms use: gitlab.com/randompenguin/smile… So if you want that addon functionality without waiting for an official fix grab my modified ones. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…25dm I'm an American and the name doesn't sound strange to me at all. Nobody here even remembers Friendster. Now that was a stupid name! It's like a combination of "friend" and "monster." I have had a couple of people laugh about the "F" in the logo/icon "69-ing" with the negative-space upside down one. So I don't see the name as a problem but it could use some better branding. For anyone reading this who doesn't know, I've contributed code to this platform, developed the Bookface scheme, and a couple of addons. So my criticisms aren't uninformed, but I also don't know why the devs made some of the choices they did over the many years Friendica has been in the works, so I hope I don't rub anyone the wrong way too badly. None of this is directed at anyone. I will say out of all the open-source projects I've ever interacted with the Friendica devs have been the friendliest and most patient with me as someone not that familiar with GitHub. Ironically I have almost no interest in Friendica's "killer feature" interconnection with other platforms, except maybe ActivityPub for those contacts on Mastodon who won't move to Friendica. It's not like I'm not on other platforms myself. I have accounts on Mastodon, Bluesky, Tumblr, and WordPress sites with ActivityPub connectors. But I don't want those connected to Friendica, I don't want a single hub, I like keeping things separate. All I really want from Friendica is an open alternative to Facebook and to get my Facebook friends and family away from there. I like that it has the same feature-set as Facebook, which is really my only selling point to try to get them to try Friendica. I used to have a Twitter account. I tweeted from it twice. Hated everything about that platform and, unfortunately, most of the platforms in the Fediverse are just Twitter clones. Which is why I rarely use my Mastodon or Bluesky accounts. Friendica without all these other protocol connections and a huge blocklist seems a lot faster and more stable, but I don't think it will EVER be fast or stable with a large number of users and/or server connections because of the technologies on which it is based. PHP and SQL don't seem ideal choices for for a social media platform. I know they were chosen to make it as easy to install and run as, say, WordPress - and I'm coming to this as someone who has been building on WP for many years, which is the only reason I know enough PHP, jQuery, and SQL to contribute anything to Friendica. But who is going to rewrite it? Would it gain or lose contributors based on some other technologies? It would likely lose me for the same reason I'm not contributing to any other platforms: I don't know anything about the technologies on which they run. I would be happy if Friendica only does one major release a year. I can probably keep up with that pace in my spare time. And if most of the servers were running at least the current stable version. But there are servers out there still running a 2023 release, a 2024 release, the 2025 release candidate, the January 2026 stable, or the upcoming stable. I can't keep up. I think it's a little naive when someone says "just run your own server" because most people won't and don't want to. They just want to use social media, not be a server admin. They're going to look for an established server to sign up on. The problem with that is when it has too many connections, too many accounts, it becomes unstable and people can't use it because they get 500 gateway errors. And if you do try to run your own server It becomes a resource hog and a problem to run and maintain. And that doesn't even address the legal liabilities and costs of running a social media platform or what someone needs to set up to do it right. So it will likely remain a hobbyist platform for tinkerers. I don't know, maybe some people don't want it to ever become a major platform in the Fediverse? When I first found Friendica and signed up on a server my only intention was to be a user, for it to be a Facebook replacement. I never thought I'd end up redesigning the UI or contributing code fixes or extending it with add-ons. But I also think what I want out of Friendica, what I want it to be, isn't necessarily what others do. I just wish it worked better! Because its laggy, janky, unstable experience has already chased away some of my friends and family I brought over from Facebook. They're gone. It's unlikely they'll ever come back, even if I tell them things have improved. The only thing that might bring them back, maybe, is if things get factors worse over on Facebook beyond the cesspool it already is. Though, even then, they'll probably just stay thee and complain more about it. Because it works and everyone they know is already on it. Breaking that "network effect" may be impossible. Though multiple times a week I think about nuking ALL my socials and just go back to email. Sometimes I think that it's not just data mining, advertising, algorithms, walled gardens, surveillance and tracking, or corporate and billionaire control that's the problem. That social media is an inherently bad idea that inevitably becomes detrimental to mental health, civility, and society. It's not like the Fediverse doesn't also have a hate-speech and troll problem, it just has better tools for hiding it from your feed. Unlike some of the other platforms Friendica is a volunteer hobby code project. There's no organization behind it. No foundation. No non-profit. No board. No formal governance. No way to even donate money to the project. If anyone ever wanted Friendica to become a serious contender that would likely have to change. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin PR is now here: github.com/friendica/friendica… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin PR submitted here: github.com/friendica/friendica… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I've been working on making it look right in Vier and got sidetracked by the fact the "Groups" widget does not appear in Vier's left-hand sidebar, only in the right-hand "discovery" sidebar. I'll be changing that. For consistency and to make sure the expand/collapse works right it needs to only appear in the left-hand sidebar where uses can actually control its position or whether it appears at all. There was also some stylesheet strangeness hiding some widget elements for no apparent reason. I'm not planning to make this work in Duopuntozero, Quattro, or Smoothly as it is my understanding those themes are deprecated and it looks like nothing really works in them anymore under Friendica 2026.01. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Should there be a "Pages" widget too? In working on the drop-down selector to Register different account types I got sidetracked making a "Pages Widget" like the existing "Groups Widget." One nice thing about the "Groups Widget" is that little [+] that takes you to the Register form to create your own Group. But there isn't anything like that for creating a PAGE. So that was my primary reason for creating the new widget. But it's also nice to have a list of Pages you're following right there in the sidebar. It shows both "Organization" and "News" page account types. And I made the Pages Widget sortable like everything else in that sidebar. Because this isn't a mock-up, it's functional on my Dev Server. I've only tested it in Frio/Bookface. I still need to check it in Vier. Hopefully there wasn't some fringe technical reason a Pages Widget didn't already exist. #Friendica #dev #widget @nprofile…6wag https://dillyofapickle.com/photo/224552271469e3fd604e40a006510323-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Okay, I've incorporated the suggestions and I've got it working on my Dev Server. So the final product will use human-readable URL parameters, so if it is "?type=group" only the three Group options will be in the dropdown list. And I did something similar for the "Page" and "Personal" options. No/invalid params means it shows the whole list of account type options. Trimming the list and pre-selecting is now handled on the backend in PHP rather than on the front-end with JS. I'll try to put this together into a PR sometime this weekend. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Out of curiosity, is there some particular reason to hide the label on password fields? Both the core and theme field_password.tpl templates have this in them: {{if $label != false}} <label for="id_{{$field.0}}">{{$field.1}}{{if $field.4}} <span class="required" title="{{$field.4}}">*</span>{{/if}}</label> {{/if}} It's easy to override it by putting {{assign name="label" value="true"}} before the template call, I just don't understand why it normally hides the password field label? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Is there any reason I shouldn't be exposing the account type and page flag data on the front-end? The way I wrote my mod each option has a numerical value. The first digit represents the account type and the second the page flag. So any URL with parameters to auto-select an account type from the dropdown would be like ?type=32. But it could also be written to use strings for the option values and then equate those to numbers on the backend, so then the URL with params would be like ?type=group. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…enn6 I agree with that. I was considering: Personal (standard account) Personal Soapbox (auto-approve Follow requests) Personal Love-all (auto-approve Friend requests) Organization Page News Page Public Group Restricted Group Private Group (experimental) Not sure about including the explanations behind Soapbox and Love-all though. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin This was a comment on my other post but I want to raise it as its own issue as to whether this solution addresses the problem of new users not knowing how to create a Page or Group on Friendica?#Friendica @nprofile…6wag RE: dillyofapickle.com/objects/8aa… #nevent1q…809t npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I poked around a bit in the code. This isn't a "wizard" like I was talking about, but it is possible to create an additional account with a specific account type. Here I've added a drop-down menu for selecting the Account Type when creating the additional account. And this drop-down, like the password box below it, only appears if you're already logged in and the server allows additional accounts: Then you just select the account type from the drop-down: And the new account is created with the correct account-type and page-flags in the database. Implementing this was actually really easy and only requires editing three files: two in the core and one in the Frio theme. I could also add a script to auto-select from the list if the link was like /register?type=32 which would be a "Public Group" (type 3, flag 2).Thoughts? Would this be enough to end user confusion over how to create a Page or a Group account? https://dillyofapickle.com/photo/176246207469dc212b99a71224477725-0.png https://dillyofapickle.com/photo/115534212469dc21391e4fb818148171-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…6wag In the Booklook theme I'm working on I've been trying to figure out how to add set-up wizards for alternate account types since it's so opaque new users can't figure out how to do that. One wizard would be for creating an Organization page and another for a Group. I suppose I could also create one for a "News" account, though I'm not sure if that account type has much difference from an "Organization" account. I guess the first up-front question I should ask is if it's even possible to create a new account with an account type of something other than zero? So you don't have to log into that account and go to Settings > Account > Advanced Account Types and change it to News, Organization, or Group manually. If it's not possible to create an account with different account type I guess there'd be no point in trying to make a set-up wizard. But if there IS a way to do it, these wizards would require creating custom template forms called by custom PHP modules/classes. I see that there is actually a "route_collection" hook "that should be used to add addon routes pointing to classes." I assume it could also be used for a theme not just an addon? It also says "Notice: the class whose name is provided to the route handler must be reachable via auto-loader." I don't know what that means. Actually I have no idea how you use this at all. I've looked at the paths to modules defined in /static/routes.php but that hasn't really helped me figure out how to use this hook. The documentation could really benefit from some example code for each hook. It would probably be easier to implement a wizard for sub-account types in the Friendica core than in a theme anyway, but I thought I'd ask before I waste too much time on it. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…0ys8 I did not see anything about being compatible wit activity pub or other social media similar systems. Right on their project homepage it reads:Connect beyond boundaries Join a network of millions across Mastodon, PeerTube, Mobilizon, and the wider fediverse using ActivityPub. Protocol bridges also connect you with Bluesky and beyond, breaking down walls between social platforms. If you look in their "Ecosystem" section it appears that protocol connections are done through Extensions. Currently only ActivityPub and Bluesky. bonfirenetworks.org/ npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I only just heard about this modular platform today, so I'm curious what Friendica devs/users think about Bonfire? It sounds really similar to Friendica feature-wise: supports longform posts post formatting Markdown Files Addons/Extensions Themes Granular Privacy Controls[/i] Circles Organization/Pages/Blog Groups (being tested) Federation with other platforms (including Bluesky) multiple accounts/profiles It also has user roles which I don't believe have actually been implemented in Friendica yet. I'm not familiar with any of this, but the dev stack appears to be: Written in Elixir BEAM (Erlang VM) Phoenix web framework HEEx templating "Surface" sync (based on Phoenix Livewire) Absinth GraphQL (extension API) PostgreSQL techcrunch.com/2025/06/05/bonf… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…qw0a Is your screenshot with or without "Enable Smart Threading" enabled under Settings > Display > Content/Layout? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…lz42 Today I noticed that VoiceOver seems to be broken. It was working fine before the macOS 15.7 security update. Now it will only read and navigate to links and form elements. It skips over any static text. Quick look in Apple forums and it seems it's also broken in Tahoe. I guess I'll have to fire up one of my old Macs that's stuck on an earlier macOS version when VoiceOver still worked. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin FYI, if you've already grabbed the 2.0.0 release for the new stable 2026.01 please go download it again. There was something that got missed in the Dark Mode stylesheets. I didn't bump the version since it was supposed to be part of this update, I just replaced the release with the fixed version. This does not affect the release for the old stable 2024.12 version. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I don't know what I did but I royally messed up my attempts to switch it by merging. I finally downloaded and installed the glab and git CLI stuff but can't make head nor tail of it. I gave up trying to fix it and just nuked the "stable" branch and made a new one. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Bookface 2.0 Releases! New year, new Friendica, new Bookface! DOWNLOAD FOR FRIENDICA 2026.01 & 2025.07-rc DOWNLOAD FOR FRIENDICA 2024.12 If you're a server admin who is still running the previous Friendica stable 2024.12 and were pulling Bookface from either the "main" or "stable" branches of the repo please be aware those are now targeting the new stable version 2026.01, which will not work with the previous stable version. There is now a separate 2024.12 branch in the repository. Please note that the Userstyles version has not been updated with 2.0 changes and that project is now archived. Those stylesheets will receive no further development or maintenance updates. If you're still on an instance that doesn't have the Bookface scheme available the version for Friendica Release Candidate 2025-07-rc does work with stable 2026.01. Okay, so what's IN it? The most noticeable change in v2.0 is that the User Menu and Notifications have been moved to the far right in the desktop layout: Also, the Search field expands on focus to make it easier to see what you are typing, and if navigation labels are enabled alignment issues with them have been fixed, as has the alignment of the buttons themselves. When you open the User Menu now your user name appears with your avatar at all screen sizes. Some people have multiple accounts that use the same avatar and it could get confusing as to which account they were logged into when, at some screen widths, the username would disappear due to space constraints. There has long been an alignment issue with Event Action Buttons if the label text was too long because they were absolutely positioned. They have been changed to a flex layout now, which also increased the space for the buttons above them:The release for 2026.01 has a dozen changes and fixes. The release for 2024.12 has nearly two dozen. See the Changelog at the end of the ReadMe file for details. @nprofile…ujpr @nprofile…63c5 https://dillyofapickle.com/photo/2133467979698910153037e241127522-0.jpeg https://dillyofapickle.com/photo/10801685846989104b1fdaa432803685-0.png https://dillyofapickle.com/photo/167213890169891058def85409498057-0.png https://dillyofapickle.com/photo/76971793556989103aabde3863746986-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…rulr Nope. It's part of the button that opens/closes the menu. To turn it into a link would require changing the HTML. I can't do that from a scheme, all I have to work with is CSS. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…uh8n No worries, it will still be a dropdown menu. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Nope, I think I'm going with this instead: On Bluesky when you hover over your avatar it fades in your username info. I kinda liked it so I did it here too, except it only shows when the drop-down menu is open rather than on hover (though I could set it to show on hover too I suppose). There is no max-width set on it so it should accommodate any length of user name. As it's an overlay and only present when the menu is open it doesn't matter if it eclipses any elements to the left of it. You can't have the main menu and the notifications list open at the same time anyway. The reason to put it back next to the avatar is that there is a minimum width set for the drop-down menu but no max-width. In any given language there's no way of knowing how wide that menu might be, so there is no way to guarantee the absolutely positioned overlaid username block will be the same width as the menu. Therefore I figure it shouldn't look like it's part of that menu and it's really obvious it isn't when the menu is wider. The only other option I can think of is to swap out the desktop drop-down menu for the mobile slide-in menu that already has the username at the top of the menu list. I can make it drop instead of slide, but it also looks like it doesn't have all the same list items on it as the desktop menu. https://dillyofapickle.com/photo/2121659924698511cfab7cc954621416-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Okay, I think this is what I'm going with: It places the username at the top of the drop-down menu, which is consistent with the slide-in user menu in the mobile layout. Currently the username has to be hidden on narrower screens because there simply isn't space for it, and if I place it below the button in the second toolbar it has the same issue on narrower screens of running into the "Compose" button. This is compounded by having no way to know how long that username might be. By moving it into the dropdown menu it will be displayed at all screen sizes desktop and mobile. I'm reworking the CSS or the notifications button so it will properly handle whatever label text is placed on it when labels are enabled. Currently it doesn't handle longer text properly. I finally got it to work like the rest of the buttons, which have an entirely different HTML structure. I'm also making the Notifications drop-down max-height longer, so if you have a lot of notifications you can see more of them without scrolling. There's especially no reason for it to be so short when it's offset to the right and opening over empty space. I'm only going to introduce a little more space between the other toolbar icons. I tried it with flex justify-content space-around, space-between, space-evenly but nothing looked as good as centered with a small margin between them. https://dillyofapickle.com/photo/19022288226984ec8ee14b8559347518-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…rulr @nprofile…lz42 Which would change it back to how it was. Somewhere between the 2024 and 2026 releases the translatable string got moved from the tooltip into the placeholder. I don't know why. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…lz42 The only way I have to check that is with VoiceOver, which I do, and I've only noticed the two issues I mentioned. From CSS I can't do anything about the order of aria elements or properties in the HTML code. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…20kn It seems like the media queries were grafted in later on. Using server-side PHP detection for mobile devices and selectively enabling/disabling UI elements and swapping stylesheets was how we did it back around 2010 before media queries were a standard. IMO Frio needs to be streamlined and updated so it uses a responsive layout with just one set of UI elements. But I don't want to do it. That's why I'm working on Booklook and why its starting point is Vier. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…rulr My screenshots are Friendica 2024.12. Instruction text appears in a tooltip when you focus on the input. In 2026.01 that text is in the field: "Search: @name, !group, #tags, content" Personally I don't like it. I think it looks cluttered. The text doesn't fit in the field in pretty much any language. And how much hand-holding do we really need to do with a search field these days? Nonetheless, part of this update will also expand the Search box on focus so all the placeholder text is visible. At least on the desktop layout. There simply isn't space on mobile. Which is why I don't see the point of having anything other than the word "Search" in there. But the only option I have in CSS is to hide the placeholder text entirely. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…lz42 What is your specific concern? That they end up out of tab order? That hidden things don't get read? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Occurs to me I could just drop the user name to the second toolbar, there's plenty of space for it there: On narrow screens the username text goes away because it switches to the mobile slide-in menu, which has the username as the first item. I could also just disable the desktop user menu and enable the mobile one for all screen sizes. (As a side note I've noticed there are quite a few UI elements that are duplicated - one for the desktop layout and one for mobile. I'm assuming that's because Frio predates just using media queries to make a responsive layout restyles a single menu). https://dillyofapickle.com/photo/1948845612698189b64abd4131178261-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…lz42 And the avatar image isn't enough for you to tell which account you're logged into? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I'm trying to get through some updates to the Bookface scheme for Frio. One of the things I'd like to change is the alignment of a couple things in the top toolbar. An original goal of Bookface was to make Friendica feel a little more familiar for Facebook users. Here's what the top toolbar looks like over there: So I'd like to move the User Menu to the far right and ideally move the Notifications button and drop-down over there as well, to help FB users with their "muscle memory" on where these things are in the desktop layout: BUT as you can see that means hiding the User Name and I'm not sure how people might feel about that, in which case I could just leave the Notifications where the are: I'm also going back and forth on whether I should introduce more spacing between the icons in the middle. Should I space them more like they are on FB or leave them close together in the center like they are? It has bugged me for a while that the layout looks unbalanced with all that white space to the right, so moving the User Menu button to the right helps visually balance it. So I'm definitely moving that. I just don't know whether to move the Notifications button too? Let me know which you'd prefer in the comments. https://dillyofapickle.com/photo/5092500781698130831593c856189516-0.png https://dillyofapickle.com/photo/48521221666981309e0fb85561909380-0.png https://dillyofapickle.com/photo/250704063169813092a12e5834890285-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…68fp Add-on I created that lets you show and set banner image in Friendica web client: gitlab.com/randompenguin/cover… Assuming either you're running your own Friendica or the admin of your instance is willing to install the add-on. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Now that Friendica 2026.01 is out I should probably change the Bookface repository to reflect this, but I'm not sure what the preferred way of doing that is. Presently both the "main" and "stable" branches are targeting Friendica 2024.12. What I need to do is replace the contents of those branches with what is in the "2025.07-rc" branch. Do I MERGE "2025.07-rc" into "main"/"stable"? Do I REBASE "main"/"stable" on "2025.07-rc"? Do I delete "stable" and create a new one based on "2025.07-rc"? I've already created a "2024.12" branch with the current "stable" in it as an archive, but going forward I don't really plan to keep developing Bookface for that version of Friendica now that 2026.01 is out. I'm also not planning to continue working on the Bookface "userstyles" version. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…tjr7 That's kind of what I meant by "the WordPress model" - start with a new column in the user table with an integer you can check. Promotions and demotions would just increment that up/down respectively. At this stage of the game nobody really needs to hold more than one role at a time if each role encompasses the capabilities of all roles below it in the hierarchy, then for any given action you'd just need to check if their role value was high enough to do that thing. Though I'm more of a front-end dev I could probably figure out how to implement that, I'm just not sure I could do it in a secure way that would prevent a malicious actor from being able to elevate their privileges. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…tjr7 Yeah, it feels like there should be another column in the user table for "role" or "capabilities." I suppose it would be relatively easy to copy the existing functions used for Admins and have a "moderator_emails" hard-coded into the config file. But as you say it would be nice if promotion/demotion didn't require editing the config file. I know WordPress originally had a "user_level" meta key in the wp_usermeta table that was just an integer between 0-10. Zero basically couldn't do or see anything. 10 was a site Admin. In the Registered Users list the level had a minus sign before it and a plus sign after it, which Admins or Authors could click, respectively, to demote or promote a user. They abandoned this system sometime after version 2 in favor of a "capabilities" meta key (which is actually the user's "roles"). It's an array that allows fine-grain control of multiple roles: array( 'administrator' => false, 'editor' => false, 'author' => true, 'contributor' => true, 'subscriber' => true ) Which looks like this in the database: "a:5:{s:13:"administrator";b:0;s:6:"editor";b:0;s:6:"author";b:1;s:11:"contributor";b:1;s:10:"subscriber";b:1;}" The actual capabilities corresponding to each role are stored in the wp_options table under option_name "wp_user_roles" the value of which is also an array. A HUGE array, because there are so many capabilities. WordPress clearly switched from integers to arrays so plugins (membership, e-commerce, forum, etc.) could define custom roles and capabilities, which could also be descriptive and immediately understood better than "user_level = 6" could. The WordPress model might be a good way to implement proper roles in Friendica that could also mean being able to delegate to another user but have checkboxes for which of YOUR capabilities you want to extend to THEM, or better yet have sub-roles that can be delegated to them like "Group Moderator" or "Page Contributor" etc. And add-ons could add new roles and capabilities for some custom context. I mean, if Friendica is supposed to be a "Swiss Army Knife" of social media who knows what third-party devs might do with that? As for implementing this and in a secure way, I'm not sure what all would need to be taken into account. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…m59t @nprofile…swm4 There is a "smileybutton" add-on for Friendica that adds most of those to the jot editor. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…tjr7 I would suppose the functions to check (isModerator() and isSiteAdmin()) will remain the same even once it is implemented, so I may just go ahead and put the check in my theme. Right now it would never show the "Moderator" icon, just the "Admin" one, but once an actual moderator role was discernible the theme should start displaying the correct icon for moderator-only accounts. I just thought it might be useful for people to have a simple indicator of who is an "authority" on their server. Regarding the image I posted above, my thinking was: Blue Circle Checkmark = Verified Personal account Blue Seal Checkmark = Verified Org/Group Account Green Shield Checkmark = Verified Moderator Gold Seal Checkmark = Verified Admin I included ones without checks because there may be Org or Group accounts and Moderators and Admins who don't do the self-verification to a website, but maybe it would be better not show anything next to their name? Is the checkmark more/less/equally important to the role? I'm not sure how people feel about this feature though. But, as I said, it would be a a theme option you can turn on/off, and it only applies to local accounts on your server since that info doesn't federate and you really wouldn't want to trust other servers' verification info anyway. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin In the new theme I'm working on I've implemented an option to show a blue checkmark in posts for local accounts that have been self-verified. I was considering expanding the usefulness of that by having it show some other icon/color for Moderators and Administrators on that server, but when I looked into how to figure out who a Moderator is I learned there is no way to distinguish a Moderator from an Admin because there is no actual Moderator role in Friendia. In UserSession.php the isModerator() function references the same function in User.php which says: /** * Returns if the given uid is valid and a moderator * * @param int $uid * * @return bool * @throws Exception */ public static function isModerator(int $uid): bool { // @todo Replace with a moderator check in the future return self::isSiteAdmin($uid); } So it seems there is no actual "Moderator" role, just "Administrator." And isSiteAdmin() just checks the user's email against getAdminEmailList() which, in turn, just gets the list of email addresses from the "admin_email" line of the site config file? Is that "todo" slated to happen in the next release? Is Friendica going to have that actual "Moderator" role added so moderation can be delegated to people who are not also Admins? I assume it would be implemented similarly to the Admin Emails in the site config with similar functions for checking users against that list, and of course, anyone with Admin privileges would automatically also be a Moderator. Still, this almost feels like something that should be part of the "Delegation" feature so someone with "Admin" privileges could just designate some other user as a "Moderator" without also granting them control of the admin account or giving them admin privileges. Since the "Moderation" screens are separate from the "Admin" ones anyway. @nprofile…9svr https://dillyofapickle.com/photo/871680063169375a1a697ed321498932-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg PR submitted: github.com/friendica/friendica… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg It was a PITA to get the Channels sortable but I eventually figured it out. I had to break the Settings > Display > Timelines table into two lists, one for the sidebar widget and one for the top menu, so they are independently sortable (since you can also enable/disable different items in each area). I'll probably submit it as a PR sometime in the next several days. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg I've got the reordering of widgets working now, but I'm wondering if, since I'm already loading the jQuery sortable plugin, if I should also make the order of Channels customizable too? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg I was going to do that in Bookface and didn't get around to it. I'll include this in the next update, with credit to you of course. I streamlined your CSS a bit to also add icons to widgets on the Community, Profile, and Contacts pages as well: aside .widget.fakelink h3::before { font-family: "ForkAwesome"; margin-right: 8px; font-size: 14px; } /* Individuelle Icons */ #circle-sidebar-inflated.fakelink h3::before, #circle-sidebar .fakelink h3::before { content: "\f2bd"; } /* user-circle */ #saved-search-list-inflated.fakelink h3::before, #saved-search-list .fakelink h3::before { content: "\f002"; } /* search */ #group-list-sidebar-inflated.fakelink h3::before, #group-list-sidebar .fakelink h3::before { content: "\f0c0"; } /* users */ #nets-sidebar-inflated.fakelink h3::before, #nets-sidebar .fakelink h3::before { content: "\f233"; } /* server */ #trending-tags-sidebar-inflated.fakelink h3::before, #trending-tags-sidebar .fakelink h3::before, #tagblock-inflated.fakelink h3::before, #tagblock faklink h3::before { content: "\f02b"; } /* tag */ #datebrowse-sidebar-inflated.fakelink h3::before, #datebrowse-sidebar .fakelink h3::before { content: "\f187"; } /* archive */ #file-sidebar-inflated.fakelink h3::before, #file-sidebar .fakelink h3::before { content: "\f07b"; } /* folder */ #channel-sidebar-inflated.fakelink h3::before, #channel-sidebar .fakelink h3::before { content: "\f009"; } /* th-large */ #accounttype-sidebar-inflated.fakelink h3::before, #accounttype-sidebar .fakelink h3::before { content: "\f0e9"; } /* umbrella */ #sidebar-community-no-sharer-inflated.fakelink h3::before, #sidebar-community-no-sharer .fakelink h3::before { content: "\f2c0"; } /* user-o */ #rel-sidebar-inflated.fakelink h3::before, #rel-sidebar .fakelink h3::before { content: "\f2b5"; } /* handshake-o */ #category-sidebar-inflated.fakelink h3::before, #category-sidebar .fakelink h3::before { content: "\f00b"; } /* th-list */ aside .widget.inflated.fakelink h3::after { font-family: "ForkAwesome"; content: "\f0d7"; display: inline-block; float: right; } aside .widget.inflated:hover, aside .widget.inflated:focus, aside .widget.inflated:active, aside .widget.inflated:focus-within { background-color: var(--nav-bg) !important; } aside .widget.inflated h3 { padding-bottom: 0px; } npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg I streamlined it a bit and will include in a Bookface update, crediting you of course:aside .widget.fakelink h3::before { font-family: "ForkAwesome"; margin-right: 8px; font-size: 14px; } /* Individuelle Icons */ #circle-sidebar-inflated.fakelink h3::before, #circle-sidebar .fakelink h3::before { content: "\f2bd"; } /* user-circle */ #saved-search-list-inflated.fakelink h3::before, #saved-search-list .fakelink h3::before { content: "\f002"; } /* search */ #group-list-sidebar-inflated.fakelink h3::before, #group-list-sidebar .fakelink h3::before { content: "\f0c0"; } /* users */ #nets-sidebar-inflated.fakelink h3::before, #nets-sidebar .fakelink h3::before { content: "\f233"; } /* server */ #trending-tags-sidebar-inflated.fakelink h3::before, #trending-tags-sidebar .fakelink h3::before { content: "\f02b"; } /* tag */ #datebrowse-sidebar-inflated.fakelink h3::before, #datebrowse-sidebar .fakelink h3::before { content: "\f187"; } /* archive */ #file-sidebar-inflated.fakelink h3::before, #file-sidebar .fakelink h3::before { content: "\f07b"; } /* folder */ #channel-sidebar-inflated.fakelink h3::before, #channel-sidebar .fakelink h3::before { content: "\f009"; } /* th-large */ #accounttype-sidebar-inflated.fakelink h3::before, #accounttype-sidebar .fakelink h3::before { content: "\f2b5"; } /* handshake-o */ #sidebar-community-no-sharer-inflated.fakelink h3::before, #sidebar-community-no-sharer .fakelink h3::before { content: "\f2c0"; } /* user-o */ aside .widget.inflated.fakelink h3::after { font-family: "ForkAwesome"; content: "\f0d7"; display: inline-block; float: right; } aside .widget.inflated:hover, aside .widget.inflated:focus, aside .widget.inflated:active, aside .widget.inflated:focus-within { background-color: var(--dimbright) !important; border-radius: 8px; } aside .widget.inflated h3 { padding-bottom: 0px; } npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg I've just about got this figured out. I finally got the jquery.sortable.js script already in the core to work with the Network Widget <div> items in Settings and got it to store the order in the database. Next step is to make it display them in that order both in Settings and on the front-end and then some styling tweaks to Settings to make it obvious they are sortable. Once I'm sure it's working right I'll submit a PR for it. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…wwmg The ideal solution would be to make the order draggable so each user can customize it to their liking. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin I'm having trouble finding it in the code so I'll just ask. My understanding is that Friendica's native responses/reactions/engagement to posts are stored in the item array "responses." This would be like, dislike, announce, attendyes, attendno, attendmaybe. I've notice that the item array "emojis" will include like, announce, attendyes, attendno, attendmaybe, but would it ever include anything else? Because is this just reproduces what is in "responses" in an older format I'm not going to include it in my theme template. And then there is the item "reactions" array, which I assume is where non-native, unsupported reactions go? Like if someone reacts from Iceworm, wafrn, etc., with some custom emoji? I've also seen mention that Friendica will be supporting more reactions from other platforms in the future but nothing about how that would be implemented. Or is that far off in the future and I don't need to design for it yet? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…rgpg I'm not sure if I'm looking in the right place, but I looked through the files in /src/Protocol/ and where they seem to fetch profile/author info I don't see anything that looks like the verification. There is a "verified" in there, but that appears to be the email verification when you set up the account not the homepage verification as "proof" you control the website you listed. In which case it looks like this may only ever work for accounts on the same server. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin In the theme I'm working on I wanted to add an option to show if an account was verified next to their address in the post header of the feed and/or the hovercard. After some convoluted code I managed to do that checking for "homepage_verified", but I can only get it to work for verified accounts on the same server. I gather accounts on other servers either do not send that data or Friendica doesn't request it? Which, if that's the case, it kind of defeats the entire purpose of verifying accounts. Unless I need to be checking for something else? I may still include it as a theme option but leave it off by default if it will only work for accounts on the same instance. Still, so many people have accounts on multiple servers and there are so many imposter accounts in the Fediverse any little clue to help know which one might be legit would help. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…rgpg Ok, it's good to know they'll always be Unicode characters. I assume there must be a lookup somewhere in the Friendica code that handles that so it can convert them and doesn't show any emoji reactions that don't have a corresponding Unicode version? npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…yj56 Well it was a good idea but I can't get the installs to talk to each other. I got the WordPress connected to Friendia so I could follow an account, but I can't get Friendica to connect to WordPress. Nothing I do, like comment or react or sent a DM, from WP will show up in Friendica. When I try to add the WP contact in Friendica it says "network type couldn't be detected, contact could not be added." And that's where I'm stuck. I've wasted enough time trying to get it to work. Probably a miracle I got it working in one direction. I did notice, however, that my "postbox" styles DO come through to WP, so if that postbox stylesheet is installed on the WP site it shows those properly, which is neat. npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…yj56 I was going to try that with Hubzilla but I could never get it to install. However I do have several WP installs on there, I forgot about the ActivityPub plugin. I'll have to give that try, though I think I'll need another plugin to send custom reactions. (BTW my dev server is running this stuff in XAMPP) npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin My understanding is that this is how Friendica shows unsupported reactions from other platforms? I'm working on a new theme and want to show any of these alongside the other responses (not with the action buttons) and if I'm reading the templates correctly I gather these are stored in the $item sub-array "reactions" something like this: ['reactions'] => Array ( ['https://somethingsomewhere/grin'] => Array ( ['emoji'] => "https://somethingsomewhere/grin", ['total'] => 1, ['title'] => "Reacted with 😁 by: Someone", ['icon']. => Array ( ['fa'] => "fa-smile-o", ['icon'] => "icon-smile" ) ) ), I'm guessing. Because my development server is not connected to the internet so no other servers. None of my test posts on my dev server have or will ever get unsupported reactions from another server. But my impression is the format is the same as for the $item.emojis sub-array, just in the $item.reactions sub-array. Except in my screenshot above the $item.reactions.icon.fa would have to be empty for it to show that grinning emoji? Is there a lookup somewhere in Friendica for which reactions from other platforms it substitutes a ForkAwesome "fa-something" icon instead of showing the emoji from the other platform? I mean, how does it know to put the Unicode grinning emoji there? Would it ever put a PNG or SVG there? Like I said, I'm guessing there's a lookup table somewhere for that, but where? Anyway, so in my smarty template I have this (pulled from Frio): {{foreach $item.reactions as $emoji}} {{if $emoji.icon.fa}} <span class="wall-item-emoji" title="{{$emoji.title}}"> <i class="fa {{$emoji.icon.fa}}" aria-hidden="true"></i> {{$emoji.total}} </span> {{else}} <span class="wall-item-emoji" title="{{$emoji.title}}"> {{$emoji.emoji}} {{$emoji.total}} </span> {{/if}} {{/foreach}} That's the code to show reactions from other platforms, right? Though I'm not sure how I would even test this from a server that isn't connected to any other servers. https://dillyofapickle.com/photo/1786639890689fd2025a859578405543-0.png npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Yes, I was passing $b by reference with &. What I was missing was the "array" keyword before it, and after dumping the variable misunderstood where I was supposed to append it. As I said, I thought it needed to be in the $b['vars']['$thread'] where I saw the rest of the variables from /src/Object/Post.php and then reference it in my template the same way with $item.myvar. Now I get it. I just append it to $b['vars'] and reference it directly in my template like {{$myvar}}. Thank you @nprofile…k9z3 now I've got it working in my theme! npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin Okay, I'm about ready to give up. How am I supposed to use the "template_vars" hook? It says:template_vars Called before vars are passed to the template engine to render the page. The registered function can add, change or remove variables passed to template. $b is an array with: template: filename of template vars: array of vars passed to the template In the theme I'm working on I need to append some new page variables for my "wall_thread.tpl" template, which I gather is used by the "threaded_conversation.tpl." It seems like everything in the hook is being looped? So in my hook function I'm first checking: if( $b['template'] == 'threaded_conversation.tpl'){...} Because the vars for other templates don't have the $b['vars']['$threads'] sub-key which seems to hold the actual template variables defined in /src/Object/Post.php so you'd think I'd just need to do something like: $b['vars']['$threads']['new_var'] = $something; But that doesn't seem to work. So how am I supposed to add variables to be passed to my template? wiki.friendi.ca/docs/addons#te… npub1jyfhtfwc40hrc7pxrxvp5ztve3nz4lc4yrxguq2saxpycwmre78qsjgfwl Random Penguin @nprofile…g5hh Bookface uses the Frio preset "Accent Color" or custom "Link Color" Additionally, you can load a user content stylesheet to customize even more Bookface variables: gitlab.com/randompenguin/bookf… (I'm working on an add-on that lets you set these variables on the server just for your own account, but it's not quite ready to release yet). https://dillyofapickle.com/photo/1355374585686446c53ab96865768803-0.png