Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Feb 2021, 23:20
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
vB5 suggestion : video background per forum basis

Hi,

My main retirement hobby is photography and video. Under vb5, I don't know if this can be done directly in the templates with conditionals (is there a list of vB5 conditionals somewhere on the vBulletin website?) or if it requires a vB5 mod.

I would like a video that runs full screen in the transparent parts of the forum. And on a per-forum basis. The opacity of videos is fixed by CSS.

As in the following example under 3.8.11, a silent video with sea waves breaking on the beach in the forum background with an opacity of 0.3.
Attached Images
File Type: png 2021-02-17_18-54-46.png (304.5 KB, 7 views)

Last edited by lange; 17 Feb 2021 at 23:30.
Reply With Quote
  #2  
Old 18 Feb 2021, 01:08
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
You should be able to do this by placing the code in the template, I have not touched vb5 honestly, but looking at a bit from one of yil's products it looks like conditionals are the same as vb4

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So would it be something like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

No idea how templates are but I would think they kept it (sort of) similar so whatever would be the forum display template?
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote
  #3  
Old 18 Feb 2021, 01:35
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Thank you very much for your conditionals & hints ! I will test them.

I think the main challenge on vB5 will be to make the videos responsive on desktop. On my vb 3.8.11, the background videos do not play on mobile, they are hidden by a div. On desktop, they are responsive. Videos are placed in forumhome and in forumdisplay ... on a per-forum basis with conditionals.

I will give you a feedback in the next days.

Last edited by lange; 18 Feb 2021 at 01:41.
Reply With Quote
  #4  
Old 18 Feb 2021, 01:57
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
vb5 forum conditions such


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

An example demo https://www.vbyilmaz.com/z/background-video.html

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 18 Feb 2021 at 02:50 ---------------

Fullwidth YouTube Cover demo https://www.vbyilmaz.com/z/background-video2.html


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Donations always appreciated.
vByilmaz.com
vBulletin-forum.de
Nobody has a monopoly on vBulletin templates. Stay away from selfish, self-righteous and parasitic.

Last edited by yilmaz; 18 Feb 2021 at 02:54.
Reply With Quote
  #5  
Old 18 Feb 2021, 08:22
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Wow! Thank you very much again and again Yilmaz!
edit: donation sent by Paypal (reply if you have not received it)

Last edited by lange; 18 Feb 2021 at 08:56.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Administrative and Maintenance Tools Enable And Disable Qucik Reply On a Forum Per Forum Basis. borbole vBulletin 4.x Add-ons 2 03 Feb 2016 07:30
Forum Home Enhancements Hide Avatars And Signatures From Guests On A Forum Per Forum Basis borbole vBulletin 4.x Add-ons 15 06 Aug 2015 13:13
Miscellaneous Hacks (Extra Spam Protection) Prevent Posting Of Links On Forum Per Forum Basis borbole vBulletin 4.x Add-ons 9 23 Jan 2013 11:30
Mini Mods Display Signatures On a Forum Per Forum Basis borbole vBulletin 4.x Add-ons 16 28 Feb 2011 11:08



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:21.

Layout Options | Width: Wide Color: