Jump to content

Tech Support

Administrators
  • Posts

    1,784
  • Joined

  • Days Won

    332

Everything posted by Tech Support

  1. If we had enough time, we would like to add this of cause, but since we are very limited we have to carefully chose what we can do.
  2. VK grabber only supports individual video URLs, something like this URL: https://vk.com/video-51189706_456250440
  3. Yes, kvs-demo.com uses rewrites in Apache, basically we consider this as the most convenient setup due to easy access to rewrites.
  4. In import options you can switch off all validation features, then it will work faster:
  5. No, at the moment we don't plan to add VR support into player, as we consider this is not our major development direction.
  6. You can display such list of videos by using list_videos block with the following parameters enabled: - sort_by: Overall popularity - days_passed_to: 3
  7. KVS player doesn't support VR function, so if using KVS for VR sites you need to use 3rd-party player with VR support.
  8. This only happens if you don't use Apache. The Apache rewrite rules we provide do some automatic adjustments, but these are not available in Nginx set of rules.
  9. If it supports S3 protocol, you can connect it to KVS using KVS GUI. For connection details you need to check with their documentation.
  10. Why do you need this? Normally the file without / at the end won't work, because the URL is virtual.
  11. You can modify all_responsive_metal.css CSS file, or put the styles inline into <style> section anywhere on the page.
  12. Yes, Posts functionality is designed for customization (e.g. news, articles, stories) and there are no default styles for them, because obviously different types of posts need different display logic / design.
  13. No, this won't be possible due to technical difficulties of implementing it.
  14. Sorry, we can't add this due to performance issues. There is no technical way we can easily check if the model has public or any other types of videos when displaying model list. You have to think about other way of design. For example if you don't want models from affiliates to be present, you can add them to some model group, and then use skip_model_groups filter in your general list_models blocks where you don't want these models to appear.
  15. KVS doesn't collect any tracking or commerce-related cookies, only necessary cookies are used to make sure site is operating normally and user preferences are remembered. Therefore it is not possible to switch off any cookies, as they are all needed for KVS functionality to work. But EU countries require sites in their area to inform users about cookie usage. If this is the case for your site, you can use the below steps to display basic cookie consent popup. Step 1. Download and copy this file to your project: https://www.kvs-demo.com/static/js/cookieconsent.min.js Step 2. Go to Website UI -> Page components -> include_footer_general.tpl and paste the following code before the closing </body> tag: <script src="{{$config.statics_url}}/static/js/cookieconsent.min.js"></script> <script> window.CookieConsent.init({ modalMainTextMoreLink: null, barTimeout: 500, theme: { barColor: '#1554b2', barTextColor: '#FFF', barMainButtonColor: '#FFF', barMainButtonTextColor: '#1554b2', modalMainButtonColor: '#1554b2', modalMainButtonTextColor: '#FFF', }, language: { current: 'en', locale: { en: { barMainText: 'This website uses cookies to ensure you get the best experience on our website.', closeAriaLabel: 'close', barLinkSetting: 'Cookie Settings', barBtnAcceptAll: 'Accept all cookies', modalMainTitle: 'Cookie settings', modalMainText: "Cookies are small pieces of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. Cookies were designed to be a reliable mechanism for websites to remember information or to record the user's browsing activity.'", modalBtnSave: 'Save current settings', modalBtnAcceptAll: 'Accept all cookies and close', modalAffectedSolutions: 'Affected solutions:', learnMore: 'Learn More', on: 'On', off: 'Off', enabled: 'is enabled.', disabled: 'is disabled.', checked: 'checked', unchecked: 'unchecked', } } }, categories: { necessary: { needed: true, wanted: true, checked: true, language: { locale: { en: { name: 'Strictly Necessary Cookies', description: "We do not collect any tracking or personal data and use only necessary cookies to make sure you don't experience any issues while visiting our site.", } } } } }, }); </script> Adjust colors and texts if needed.
  16. This might be possible with posts that support flagging. Please create support ticket with more details what you want to do.
  17. First of all, the number of items per row in a list is not a fixed number but is adaptive to screen size. For example, on bigger screens it may be 3 or 4 per row, on smaller it can be down to 2 and even to 1. There is no easy way to modify this behavior: you should have a fair understanding of CSS, adaptive layouts, media queries and be very accurate to check all possible scenarios. In this article we will try to highlight the path to changing this. How CSS adaptive layout works in the first way Each list is displayed as a grid inside some container. Container has a width and this width depends on device screen size. Then each container list item is given a % of container size. For example in the given layout each item is given 25% of container size, so that 4 items can fit the space (4 * 25% = 100%): Depending on the amount of container space, the width of each item is given the different % of container width. For example on the page with toolbar each list item is given 33.33% of width so that only 3 items are displayed per row (3 * 33.33% = 100%): Finally on smaller devices there is no sense to display multiple videos in a row, so the list item size is given 100% of the container size: How do you know when it should have 4 per row, when 3, when 2 and 1? Well, this is decided by looking into site on different dimensions using browser DEV tools that allow displaying site under different dimensions. When you see the items are becoming too small, you may decide to reduce the number of items per row. And how about 5 per rows? Displaying 5 per row will be a problem. Your list has a certain number of total items displayed at once, and by default we use 12 or 24. 12 and 24 are both divisible by 4 and 3 and 2. So when you display 4 per row, you have 3 (or 6) full rows. When you display 3 per row, you have 4 (or 8) full rows. If you decide to display 5 per row, then your list displayable size should be 20, and you can use 5 per row, 4 per row and 2 per row. You can't normally use 3 per row, because 20 is not divisible by 3. Well, you can use 3 anyway, but this would mean that last line will always have 2 items instead of 3. Where it is all set This is defined as a big set of CSS rules in theme CSS file. In order to see which CSS file your theme is using just look into HTML page source: view-source:https://www.kvs-demo.com/ There you may see multiple CSS file are included on top, and the bigger one will contain the rules: <link href="https://www.kvs-demo.com/static/styles/all-responsive-white.css?v=9.1" rel="stylesheet" type="text/css"/> Now you need to modify the whole set of layout rules, because there are different rules for different display cases and mobile resolutions. Please note, if your theme has dynamic style switch, it may be using multiple similar CSS files. For example KVS default theme has 2 CSS files: all-responsive-white.css all-responsive-metal.css They both have similar rules duplicated. So if both color themes are used in your project, you need to do similar changes in both files. Now let's look into more details how these rules are defined. In KVS default theme the list item style is defined by this pattern: .list-<list-type> .item { styles for item of <list-type> list } So the very first style definition of this pattern is this: .list-playlists .item, .list-models .item, .list-sponsors .item, .list-channels .item, .list-categories .item, .list-albums .item, .list-albums-images .item, .list-videos .item, .list-videos-screenshots .item { display: inline-block; text-align: left; background: transparent; vertical-align: top; cursor: pointer; margin: 10px 0 0 10px; width: calc(25% - 10px); cursor: pointer; -webkit-box-shadow: -1px 1px 5px rgba(207, 207, 207, 0.65); box-shadow: -1px 1px 5px rgba(207, 207, 207, 0.65); border-radius: 0 0 5px 5px; background-color: #ffffff; } The most important part is this line: width: calc(25% - 10px); This lines says that all items of playlists, categories, models, channels, sponsors, albums and videos have layout 4 per row by default (25% * 4 = 100%). We need 10px offset because this style also uses margin of 10px from left. Then there are many overrides for this style. For example if a video list is displayed together with sidebar, its number of videos per row is reduced to 3 (33.33% * 3 = 100%): .sidebar + .main-container .list-videos .item { width: calc(33.33% - 10px); } Then at the bottom of CSS file there are media queries that override certain styles depending on user's device resolution. For example the next style is applied when screen resolution is below 1255px and it reverts back video list layout to 4 per row with a sidebar, mainly because starting from 1255px the sidebar is not displayed aside anymore and is moved to the bottom of page: @media screen and (max-width: 1255px) { ... .sidebar + .main-container .list-playlists .item, .sidebar + .main-container .list-videos .item { width: calc(25% - 10px); } ... } Note this style is applied to both video list and playlist list. Then at 640px it limits the amount of video items per row to 2 (50% * 2 = 100%): .list-videos .item { width: calc(50% - 10px); } And etc. Here are some key points that worth mentioning: In KVS default theme some lists have different settings depending on whether they are displayed together with sidebar or not. Sidebar may be switched on or off on some pages. Some styles are applied to different lists (like for videos and playlists above). So you should be aware that changing the width for such styles may also affect other types. If you want to override behavior for videos only, it may be easier to just add new styles for specific item type at the end of file (following the CSS cascade rules), rather then modify existing styles.
  18. The updates are in process of uploading, you can check if your license has an update archive available. No, there is no free update installation. We are physically not able to update all projects for free, even if working 24/7.
  19. Yes, you can do that. The indicator is rendered in Website UI -> Page components -> include_list_videos_block_common.tpl using this line: {{if $item.resolution_type==1}}<span class="is-hd">HD</span>{{elseif $item.resolution_type>0}}<span class="is-hd is-{{$item.resolution_type}}k">{{$item.resolution_type}}K</span>{{/if}} You can change it to: {{if $item.resolution_type==1}}<span class="is-hd">HD</span>{{elseif $item.resolution_type==2}}<span class="is-hd is-2k">FHD</span>{{elseif $item.resolution_type>0}}<span class="is-hd is-{{$item.resolution_type}}k">{{$item.resolution_type}}K</span>{{/if}}
  20. This is possible to display using list_comments block. If you put this block into [Memberzone] My Profile page and switch off mode_global parameter in it, this block will display comment of the logged in user in their profile page. Notifications and ability to reply comments will be part of nextgen development, when we switch comments blocks to nextgen. Could be next version already.
  21. Agree, but you can always see the ID from the video format group editor URL. Rarely needed. No, this is all correct now. The "Premium" video format group is just a name which came from previous KVS versions, you can rename it to anything else. It is not connected to access level anymore.
  22. Please create support ticket. This looks to be the side effect of migrating models to nextgen API, it will pull country from database now. I think this can be fixed via template.
  23. This is not possible with KVS at the moment.
  24. If the theme supports reCAPTCHA, then all changes in other places are already there. If it doesn't, this might be very old theme. Unfortunately we can't provide instructions for it, as the process would be very complicated as dozen of places would need to be replaced.
  25. No, users cannot add categories or models. They can only add tags. If you allow users adding models or categories, they will shit your categorization.
×
×
  • Create New...