developers

Esta revista es de un servidor federado y podría estar incompleta. Explorar más contenido en la instancia original.

noidea, en

we currently have this Problem with the missing YouTube Preview images and I can't log in on GitHub now.. so I write here..

Try to embed a YouTube video with the youtube or the video bbcode.. There seems to be something wrong with the video id. Maybe that is our problem ......

feb,

@noidea Initial feedback from Netcup was that they do not block anything themselves. A ping confirms this. They are currently checking whether there is another (network) problem. I have named 4 domains that are affected at Netcup.

noidea,

I encountered something else, I think..

When I embed like this, everything works:
[youtube]https://www.youtube.com/watch?v=KDhoM8fhQUc[/youtube]

My problem yesterday was, that I removed the m. (for mobile) from the URL and tried to embed with that address (without www.):
[youtube]https://youtube.com/watch?v=KDhoM8fhQUc[/youtube]

And that doesn't work. Maybe that could be improved. But seems to be an other issue..

zwovierzwo,

Hat jemand bei schon einmal die Knoten umziehen Funktion genutzt und vor allem funktioniert es?

Gibt es dann dafür eine Anleitung
@developers
@helpers

ronny,

@wolf @zwovierzwo bei uns war alles wie vorher auch, nur eben mit anderer Domain. Alte Inhalte, Kommentare, Bilder, Accounts, alles da

zwovierzwo,

@wolf @ronny
ja das wüsste ich ja auch gerne - klar zu mit anderer URL

noidea, en

Hello

I tried to find out where it happens, that a certain Frio scheme (set in admin panel) is connected to a certain template file.. So that the page is also dark in a private browser tab when a dark scheme has been set.

I wanted to try to fix an older bug where Frio schemes are not applied to the login form.

Can someone point me in the right direction?

hypolite,

@noidea Do you still need help with this?

anubis2814, en

Hey guys, is there something special I need to know about using smarty? I'm back to plugging away on the quiz option, trying to make a dynamic radio button that is clickable and returns a value. I have a version using a js file, that works with an HTML document, but I'm having issues integrating it into tpl files with php variables.
html_radios is a smarty option we have that should create dynamic radio buttons. Problem is I can't make it work even though I'm using this smarty.net/docsv2/en/language.… Which is a copy of a md file we have.
I will put something like:

 {html_radios options=$options_title 
        separator='<br />'}

Into the content/question.tpl file
If I run it as normal, it just spits out code as a result in the poll.
If I run something like this in /model/item.php
$smarty->assign('option_title', $option.name)); It always gives me just a white screen.
I want to make sure there isn't some easy fix that I need to do to smarty to make it work right, it might well be I'm just doing it all wrong with my non-professional newb status. If there isn't I'll just keep pluging and chugging til i figure it out. Just wnt to make sure I'm not wasting my time where there is any easy fix

anubis2814,

It appears that there is some method of defining smarty arrays
The exception it threw now is for $smarty array being undefined. Do i need to "use" a file to make it work?

anubis2814,

Ok so I used the following $smarty = new Smarty();
Now it throws a white screen but nothing shows up in the error log.

feb, en

More and more frequently, WordPress accounts are posing as groups. In this context, @pfefferle refers to a discussion at community.nodebb.org/category/…
As far as I understand it, these are currently only concepts. Apparently, however, they are already being implemented. This makes it difficult to subscribe to WordPress accounts if they are then displayed as groups and not as accounts.
Is something going wrong?

pfefferle,
@pfefferle@mastodon.social avatar

@feb @developers it is not that easy! WordPress Authors are defined as a "Person", but the Blog (which is a Group of all its Authors) is defined as a Group, that boosts all the posts published by the authors, so that it is possible to follow the whole blog instead of all its authors.

I also tried to do anything to tell other networks that this is a read-only group, where others can't post to!

feb,

@pfefferle The same problem can also be found at flipboard.com.

anubis2814, en

Can someone tell me what the advantage of using the ! over @ in groups is? I appear to have a very confused understanding after 6 years on this platform. Thanks.

anubis2814,

@hypolite Ah ok. Now can people from activitypub post to forum followers or since they cant "join" only follow does it not show up?

hypolite,

@anubis2814 "Follow a forum account" is the same as "join a forum". So ActivityPub accounts can both receive forum posts and post to a Friendica forum. The only thing they can't do is post exclusively to a forum with the !-mention.

andy, en

Hello

Could the Fedi share button developed by Stefan Bohacek be of any use for the Friendica news blog?

stefanbohacek.com/project/fedi…

I've tested it and seems to work well with Friendica accounts.

What do you think? @tobias or anyone else?

andy,
anubis2814, en

I'm poking around at the polling issue that the rest of the fediverse enjoys and I've run into a problem that probably the other person who set the groundwork for the question option ran into and abandoned.
Who designed out field_radio.tpl file? Was that made in house or was that outsourced from somewhere else. If so do they have other radio tpl files for lists.

Just a note that I am a massive beginner. so this is more a challenge than anything else and if it works or not I'll have learned something either way.

</p><ul>
{{foreach $options as $option}}
	<li>
	{{include file="field_radio.tlp field="$option.vote"}} 
	</li>
{{/foreach}}
</ul>
{{$summary}}
</p>
	<div class="settings-submit-wrapper">
			<input type="submit" name="notification-submit" class="settings-submit" value="{{$submit}}"/>
		</div>

This will not work as the field_radio.tpl isn't designed for lists. I can make it look like it should but them the buttons don't switch, because its a list. Every help forum online suggests downloading and outside client for it. If we have a reliable template maker client then what is it? Otherwise I will poke around and figure this out over time as a newb. Might need some js from the looks of it but there might be a much easier solution.

anubis2814,

Every dropdown we use appears to have an associated js file and none of them are dynamic so I'm assuming this will require some form of js file to make it work too.

noidea,

@anubis2814 puh...

anubis2814, en

I completely changed files and renamed them in modules and templates. no matter what the page kept coming up the same. It should have accessed the new php file according to routes.config.php. There is no way friendica should be accessing this file.
However apparently smarty3 keeps redirecting things to the old page style. Any idea what to do here?

anubis2814,

NM, I just have to delete the compiled smarty file and it was just fine
Thanks

hypolite,

@anubis2814 Smarty should pick up the changes in the corresponding file as it's based on its checksum and/or modified time.

wilhelm, en

Time to switch the default GitHub repo?

hypolite,

@wilhelm I can't do it myself, @tobias is the sole administrator of the repo.

noidea,

@wilhelm Maybe it is because there seem to be some failed tests, or so..

fabrixxm, en

I was playing with my "FediBadge" generator I created some time ago

I noticed that it doesn't show Person avatar of People from Friendica.
The thing uses webfinger to find the ActivitiyStream json representation of the acct from the user, and it get it's data from there.
Now I noticed that "icon" and 'image' properties are missing when I request a user profile with 'Accept:application/activity+json" from Friendica.

I looked at code and I found there:
github.com/friendica/friendica…

that 'icon' and 'image' and other profile proprties are behind $full flag, that for what I understand, is true if request is http-signed and from a 'live' contact of the profile.
(so, false for any anonymous get)

Why?

If the profile is public, that data is present on the html version of the profile.

This break my code, which is unfortunate, but also looks like it has the consequence that on mastodon (and others I think), when searching for a profile that is not already cached locally, ther

fabrixxm,

@heluecht
no, the point was to work for every AS implementation, using standard AS.
But ok, it's only a toy, it's not important.

Still all data is available, in machine-parsable format, in html rendering, as hCard microformat. If anyone want to scrape my public avatar from my public profile, they can do it anyway.

heluecht,

@fabrixxm Yeah, sure, the data can be fetched in different ways. It is only meant for this whole "Threads" situation.

heluecht, en

git.friendi.ca is currently down. Can someone have got a look at it?

utzer,

@heluecht now I got that running, but woodpecker (ci.friendi.ca) keeps crashing. I wrote @nupplaphil on Signal, maybe he can have a look, otherwise I can check in the evening only.

nupplaphil,

@heluecht Everything is back online :)

pankraz, en

@developers Are you following the developments at event-federation.eu/blog/? I did not see Friendica as participant, even though we have an extensive event framework.

heluecht,

@pankraz By now I haven't heard of them.

andy, en

Hello

I have been running .03-rc for several days now. When I moved from stable to RC, the database and the update versions were correct once everything was done.

Today, I forwarded the RC by running git fetch & git pull and now I got the following mismatch:

The database version is 1553/1554, the post update version is 1550/1550.

Running bin/console dbstructure update -f doesn't seem to make a difference.

What's going on here? The database version doesn't normally change once the RC is branched off. How to correct it?

andy,

Okay, thanks @tobias

andy,

I managed to move update it now. All sorted.

hypolite, en

git.friendi.ca is currently issuing 502 Bad Gateway errors. Can't remember who's hosting it. Is it @utzer ?

  • Todo
  • Suscrito
  • Moderado
  • Favoritos
  • random
  • developers@forum.friendi.ca
  • noticiascr
  • CostaRica
  • Todos las revistas