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

nou nou
Donator
Donator
Posts: 30
Joined: 19 Oct 2017, 05:10
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by nou nou »

Oh one more, a user brought this up - it would be nice if we could assign different colours to different categories (border colour would be nice since you seem to be using borders anyway :))

User avatar

nou nou
Donator
Donator
Posts: 30
Joined: 19 Oct 2017, 05:10
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by nou nou »

dmzx wrote: 14 Mar 2025, 08:02 on holiday now back the 21th, will explain then
Back yet monsieur? 😇

User avatar

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

Re: Youtube Videos Gallery

Post by Sniper_E »

nou nou wrote: 17 Mar 2025, 19:04 Oh one more, a user brought this up - it would be nice if we could assign different colours to different categories (border colour would be nice since you seem to be using borders anyway :))
There is no border on the listed videos. It uses box-shadow. (My border-radius is unique, ignore that part.)

Code: Select all

#videolists {
	box-shadow: 0 0 8px #ffca4f;
	border-radius: 15% 0 15% 0;
}
In the youtubegallery/styles/prosilver/template/video_index.html (Line 33)

Code: Select all

				<a href="{{ video.U_VIEW_VIDEO }}" title="{{ video.VIDEO_TITLE }}"><img id="videolists" src="{{ video.VIDEO_THUMBNAIL }}" alt="{{ video.VIDEO_TITLE }}" /></a>
First of all, that <img id="videolists" is in a loop and it needs to be changed to a <img class="videolists" so the id is not repeted.

Then you can add the category names in the template to that class like this.

Code: Select all

				<a href="{{ video.U_VIEW_VIDEO }}" title="{{ video.VIDEO_TITLE }}"><img class="videolists {{ video.VIDEO_CAT_TITLE }}" src="{{ video.VIDEO_THUMBNAIL }}" alt="{{ video.VIDEO_TITLE }}" /></a>
And in the youtubegallery/styles/prosilver/theme/video.css you would need to replace the #videolists { with .videolists {
Then you can add all of your different category classes in that css file like this. (I'm just showing one added here.)

Code: Select all

.videolists {
	box-shadow: 0 0 8px #ffca4f;
	border-radius: 15% 0 15% 0;
}

.videolists.Tutorial {
	box-shadow: 0 0 8px #aa0000;
}
And add as many category name classes as you need like this one.

Code: Select all

.videolists.Music {
	box-shadow: 0 0 8px #00aa00;
}
Choose your different box-shadow color for each category name you add.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

nou nou
Donator
Donator
Posts: 30
Joined: 19 Oct 2017, 05:10
    Windows 10 Firefox

Re: Youtube Videos Gallery

Post by nou nou »

Ooooh thank you! :buigen:

User avatar

flumsi
New user
New user
Posts: 2
Joined: 04 Mar 2025, 13:58
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by flumsi »

Hello everyone

I didn't find anything while searching but maybe I missed it, then I apologize

YouTube Gallery 1.1.1 & phpbb3 3.3.1.4

The YouTube Gallery is available on the index page, with the latest videos.
Could categories be selected to be displayed in the index? Perhaps Category 1, then Category 4 one week to boost the rankings, and then display all the latest videos again a week later?

No automation, but you can change them manually.

We'd like to give our guild-internal videos a little push.

Thank you for Your support
Last edited by flumsi on 01 Jun 2025, 09:22, edited 1 time in total.

User avatar

d3ath2435
Users
Users
Posts: 15
Joined: 19 Apr 2020, 00:51
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by d3ath2435 »

d3ath2435 wrote: 16 Mar 2025, 15:47 Thanks for the EXT, but I've some issues with it

Image

is not showing the stats from youtube

Also I cannot edit Titles, descriptions etc?
Image

Also when I push the button Resync
Image

User avatar

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

Re: Youtube Videos Gallery

Post by martin »

d3ath2435 wrote: 28 May 2025, 21:50
d3ath2435 wrote: 16 Mar 2025, 15:47 Thanks for the EXT, but I've some issues with it

Image

is not showing the stats from youtube

Also I cannot edit Titles, descriptions etc?
Image

Also when I push the button Resync
Image
Your video has emoji's in the tittle hence the error.
Image

User avatar

d3ath2435
Users
Users
Posts: 15
Joined: 19 Apr 2020, 00:51
    Windows 10 Chrome

Re: Youtube Videos Gallery

Post by d3ath2435 »

martin wrote: 05 Jun 2025, 12:37
Your video has emoji's in the tittle hence the error.
I saw that, but why can't edit any of those? How to edit the title?

Post Reply Previous topicNext topic