Ale nie! Kde je JavaScript?
Váš webový prehliadač nemá povolený JavaScript alebo nepodporuje JavaScript. Ak chcete správne zobraziť túto webovú lokalitu, povoľte JavaScript vo svojom webovom prehliadači, alebo inovujte na webový prehliadač, ktorý podporuje JavaScript.

Diskusné fórum

Video addon questions

9 príspevkov
4393 zobrazení
Naposledy aktualizované pred 3 rokmi
Z
Člen Užívateľ 67
Odoslané pred 3 rokmi
#1
1. How to display a picture in rss?
I tried to add the code GetVideoThumb to the file rss_videos.php on line 71, in the description.
I am doing so:

Citovať

if (!empty($data['video_description'])) {
echo '<description><![CDATA['.html_entity_decode(htmlentities(stripslashes('<p><img src="'.GetVideoThumb($data).'"/></p>',$data['video_description']))).']]></description>'.PHP_EOL;
}

But it does not work for me, the picture is not shown in the rss feed. Tell me, how to display a screenshot of the video in the rss feed?

2. Forms drop down lists, work for you?
Home - Admin Panel - Content - Video. In this place, ../infusions/videos/admin.php?aid=8fe6d902885329a9, the drop-down list forms do not work for me. I added a photo to understand exactly where the problem is.

3. Change db_exists to defined, or not?
Do you plan, in the future, when free time appears, to change the function of the db_exists code to defined, for video? I do not know how important this is. This is changed in the main cms pf-9 package. Just a question for information.
Upravil/a zizub dňa 08/01/2019 16:52, pred 3 rokmi
RobiNN
Hlavný administrátor Hlavný administrátor 1080
Odoslané pred 3 rokmi
#2
1 add require_once INFUSIONS.'videos/functions.php';
2, 3 fixed https://github.co...09a8681fe5
Upravil/a RobiNN dňa 09/01/2019 22:21, pred 3 rokmi
Z
Člen Užívateľ 67
Odoslané pred 3 rokmi
#3
3. This fix for which version of cms? The latest_videos_panel on Andromeda does not work for me.
RobiNN
Hlavný administrátor Hlavný administrátor 1080
Odoslané pred 3 rokmi
#4
Latest DEV 9.03 https://github.co.../PHPFusion
Z
Člen Užívateľ 67
Odoslané pred 3 rokmi
#5
I found the reason. In latest_videos_panel.php need to remove the sign !
Replace on line 20:
if (!defined('VIDEOS_EXIST')) {


On this:
if (defined('VIDEOS_EXIST')) {


Now the panel works well. Correct this typo.
RobiNN
Hlavný administrátor Hlavný administrátor 1080
Odoslané pred 3 rokmi
#6
thanks, fixed
Z
Člen Užívateľ 67
Odoslané pred 3 rokmi
#7
One more question. In file ..\infusions\videos\videos.php lines 233-238 two identical redirects.
Can I safely remove one?
else {
 redirect(VIDEOS.'videos.php');
 }

Upravil/a zizub dňa 05/02/2019 02:02, pred 3 rokmi
RobiNN
Hlavný administrátor Hlavný administrátor 1080
Odoslané pred 3 rokmi
#8
No.
Don't edit code if you don't know what you do.
Z
Člen Užívateľ 67
Odoslané pred 3 rokmi
#9
I apologize. I found the reason for the redirect for search bots. If the site is made in one national language, then you need to disable English, in the admin panel, Settings - Language settings. After I turned off the English language on my website, the pages began to appear in the search. Once again, I apologize for any inconvenience.