3.2 & 3.3 Extensions Database 3.2 / 3.3Youtube Videos Gallery

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by TrekRed »

If there are no notifications about comments, can you somehow put out a link in the statistics for all comments? The statistics block in the video gallery down below.

To immediately see all the comments on the link.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Youtube Videos Gallery

Post by martin »

1.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by TrekRed »

I don't have a chat. Can I make a link by the number of comments?

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Firefox

Re: Youtube Videos Gallery

Post by ivailo95 »

TrekRed wrote: 12 Apr 2020, 18:14 I don't have a chat. Can I make a link by the number of comments?
there is comment in the yt gallery
Image
Image
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

TrekRed
Users
Users
Posts: 93
Joined: 27 Oct 2019, 23:54
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by TrekRed »

:lol: I need to see all the comments at once, because no notifications! That I can write comments, I know so!

User avatar

joshqute
Users
Users
Posts: 6
Joined: 10 Jan 2020, 07:30
    Android Opera

Re: Youtube Videos Gallery

Post by joshqute »

How do I let users search other users' videos ??? There's only an opening for searching or viewing own videos ??? I believe twould be more versatile and fun to allow for this ...

User avatar

joshqute
Users
Users
Posts: 6
Joined: 10 Jan 2020, 07:30
    Android Opera

Re: Youtube Videos Gallery

Post by joshqute »

How do I let users search other users' videos ??? There's only an opening for searching or viewing own videos ??? I believe twould be more versatile and fun to allow for this ...

User avatar

TRUBLITZ
Users
Users
Posts: 33
Joined: 15 Mar 2018, 14:35
    Android Chrome

Re: Youtube Videos Gallery

Post by TRUBLITZ »

Sniper_E wrote: 12 Apr 2020, 00:15
TRUBLITZ wrote: 11 Apr 2020, 01:04 You could do something like this, which is more uniform however, i cant even pull the the title like your doing so.. but, if i were the title would be above my name..

Image12.png
You can have the title show above the video image by adding a line in the video_index.html template.

Code: Select all

		{% for video in loops.video %}
			<li class="videolist">
				<a href="{{ video.U_VIEW_VIDEO }}" title="{{ video.VIDEO_TITLE }}">
				<div class="videoTitle responsive-show">{{ video.VIDEO_TITLE }}</div>
				<img id="videolists" src="{{ video.S_VIDEO_THUMBNAIL }}" alt="{{ video.VIDEO_TITLE }}" />
				</a>
				<h3 class="center"></h3>
				{{ lang('VIDEO_AUTHOR') }}{{ lang('COLON') }} {{ video.USERNAME }}<br />
				{{ lang('VIDEO_CAT') }}{{ lang('COLON') }} <a href="{{ video.U_CAT }}" title="{{ video.VIDEO_CAT_TITLE }}">{{ video.VIDEO_CAT_TITLE }}</a><br />
				{{ lang('VIDEO_DATE') }}{{ lang('COLON') }} {{ video.VIDEO_TIME }}<br />
				{{ lang('VIDEO_VIEWS') }}{{ lang('COLON') }} {{ video.VIDEO_VIEWS }} {{ lang('VIDEO_DURATION') }}{{ lang('COLON') }} {{ video.VIDEO_DURATION }}
			</li>
		{% endfor %}
And add a little css in the video.css to your preference.

Code: Select all

.videoTitle {
	display:none;
	padding-bottom: 5px;
}
Image
Excellent! Thank you.
My Styles
:guns: I AM THE DESCENDANT OF THOSE WHO REFUSE TO BE RULED :guns:

User avatar

Inferno68
New user
New user
Posts: 1
Joined: 18 Apr 2020, 22:37
    Mac OS X Chrome

Re: Youtube Videos Gallery

Post by Inferno68 »

Sniper_E wrote: 12 Apr 2020, 00:15
TRUBLITZ wrote: 11 Apr 2020, 01:04 You could do something like this, which is more uniform however, i cant even pull the the title like your doing so.. but, if i were the title would be above my name..

Image12.png
You can have the title show above the video image by adding a line in the video_index.html template.

Code: Select all

		{% for video in loops.video %}
			<li class="videolist">
				<a href="{{ video.U_VIEW_VIDEO }}" title="{{ video.VIDEO_TITLE }}">
				<div class="videoTitle responsive-show">{{ video.VIDEO_TITLE }}</div>
				<img id="videolists" src="{{ video.S_VIDEO_THUMBNAIL }}" alt="{{ video.VIDEO_TITLE }}" />
				</a>
				<h3 class="center"></h3>
				{{ lang('VIDEO_AUTHOR') }}{{ lang('COLON') }} {{ video.USERNAME }}<br />
				{{ lang('VIDEO_CAT') }}{{ lang('COLON') }} <a href="{{ video.U_CAT }}" title="{{ video.VIDEO_CAT_TITLE }}">{{ video.VIDEO_CAT_TITLE }}</a><br />
				{{ lang('VIDEO_DATE') }}{{ lang('COLON') }} {{ video.VIDEO_TIME }}<br />
				{{ lang('VIDEO_VIEWS') }}{{ lang('COLON') }} {{ video.VIDEO_VIEWS }} {{ lang('VIDEO_DURATION') }}{{ lang('COLON') }} {{ video.VIDEO_DURATION }}
			</li>
		{% endfor %}
And add a little css in the video.css to your preference.

Code: Select all

.videoTitle {
	display:none;
	padding-bottom: 5px;
}
Image
Sniper E can you eventually send the 2 files ? I didn't manage to get it working... I am far from a programmer :/

User avatar

spm
Users
Users
Posts: 8
Joined: 25 Feb 2015, 20:10
    Windows 8 Firefox

Re: Youtube Videos Gallery

Post by spm »

^ have you purged the cache after changing codes in the files ?

to the coders : for last n videos on index (file: video_index.html)

using id for repeating elements is considered as incorrect ;)

Code: Select all

<img id="videolists" src=" ...
id can be replaced by class !
accordingly style element also need to be changed in video.css file

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Sniper_E »

Inferno68 wrote: 18 Apr 2020, 23:45 Sniper E can you eventually send the 2 files ? I didn't manage to get it working... I am far from a programmer :/
This is just the index template and the css. Copy content to ext/ directory and over write the existing files. Clear cache.
dmzx_youtubegallery_mobile.zip
Some mobiles hold the old cache so your issue may be with that.
spm wrote: 19 Apr 2020, 09:14 using id for repeating elements is considered as incorrect ;)
I am with you there.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Warlock75
Users
Users
Posts: 3
Joined: 20 Apr 2020, 19:18
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Warlock75 »

Russian language pack v1.0.7
ru.zip
Edited one file, taking into account the peculiarities of the Russian language

Code: Select all

	'TOTAL_CATEGORIES'	=> array(
		0 => 'Нет категорий',
		1 => 'Всего <strong>%1$d</strong> категория',
		2 => 'Всего <strong>%1$d</strong> категории',
		3 => 'Всего <strong>%1$d</strong> категорий',
	),
	'TOTAL_VIDEO'		=> array(
		0 => 'Нет видео',
		1 => 'Всего <strong>%1$d</strong> видео',
		2 => 'Всего <strong>%1$d</strong> видео',
	),
	'TOTAL_VIEWS'		=> array(
		0 => 'Нет просомтров',
		1 => 'Всего <strong>%1$d</strong> просмотр',
		2 => 'Всего <strong>%1$d</strong> просмотра',
		3 => 'Всего <strong>%1$d</strong> просмотров',
	),
	'TOTAL_COMMENTS'	=> array(
		0 => 'Нет комментариев',
		1 => 'Всего <strong>%1$d</strong> комментарий',
		2 => 'Всего <strong>%1$d</strong> комментария',
		3 => 'Всего <strong>%1$d</strong> комментариев',
	),
	'VIDEO_VIEWS_YOUTUBE'	=> array(
		0 => 'Нет просмотров на youtube',
		1 => 'Всего <strong>%s</strong> просмотр на youtube',
		2 => 'Всего <strong>%s</strong> просмотра на youtube',
		3 => 'Всего <strong>%s</strong> просмотров на youtube',
	),
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by Warlock75 on 21 Apr 2020, 02:00, edited 4 times in total.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Youtube Videos Gallery

Post by dmzx »

:thumbup: thanks!

User avatar

Warlock75
Users
Users
Posts: 3
Joined: 20 Apr 2020, 19:18
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by Warlock75 »

I'll post more translations!

User avatar

seacoast
Users
Users
Posts: 159
Joined: 28 Aug 2017, 19:58
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by seacoast »

I like the circle effect, but how can I change the color. Purple doesn't fit my site. :)

Post Reply Previous topicNext topic