Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
No bug warning before uploading a video to youtube
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
I hope you are well?
1/ location of the text that warns about loading cookies
Is it possible to translate, or even supercharge "Click to load the embedded media..."?
2/ see the video on the blog page
clibre.eu/infos-sur-le-libre >> "Si c'est gratuit, vous êtes le produit"
What should I add in the safe overload I made of blog_item.php to see the video?
<?php echo JHTML::_('string.truncate', strip_tags($this->item->introtext, ), 450, true, true); ?>
regards
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
Yes, that is possible: it is a language string that you can change via a language override: PLG_CONTENT_OCHFITFIDS_MESSAGE_CLICKTOLOADVIDEO1/ location of the text that warns about loading cookies
Is it possible to translate, or even supercharge "Click to load the embedded media..."?
2/ see the video on the blog page
clibre.eu/infos-sur-le-libre >> "Si c'est gratuit, vous êtes le produit"
with the code above you are stripping the iframe, so you should remove that from the array, possibly others as well. I would start without the strip_tags and see if it displays and then add until it doesn'tWhat should I add in the safe overload I made of blog_item.php to see the video?
<?php echo JHTML::_('string.truncate', strip_tags($this->item->introtext, ), 450, true, true); ?>
regards
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
1/ perfect
2/
I see that my command line has been deleted!
I added tags: br', 'img', 'iframe', 'b', 'strong' to see the content in the strip_tags
Can you tell me more precisely which tag has been added?JHTML::_('string.truncate', strip_tags($this->item->introtext, ), 450, true, true) ;
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
I put it back for the memory
If I put back
<echo $this->item->introtext; ?>
=> video with the plugin setting is displayed
If I put :
<?php echo JHTML::_('string.truncate', 300, true, true); ?>
nothing is displayed
but can you take into account that all this setting with all these tags are important to me, as they should work for other types of content with a nice layout.
Is there any way to get around this with a class? or something else while keeping my string. truncate?
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
This gets very complicated, something like first remove the iframe, truncate and then add the iframe back.
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
ok as I'm motivated, I have an idea to make a test on the existence of the plugin
If (plugin ochFitVids !?) then
<echo $this->item->introtext; ?>
otherwise
<?php echo JHTML::_('string.truncate', ... (full display with truncate)
If you have the condition, maybe it would be a good idea?
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
Graag Inloggen deelnemen aan het gesprek.
- Hervé
- Onderwerp Auteur
- Offline
- Berichten: 121
- Ontvangen bedankjes 0
if (stripos($this->item->introtext, 'iframe') !== false)
Thanks
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
Graag Inloggen deelnemen aan het gesprek.