Jump to content

Tanjiro

Members
  • Posts

    81
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Tanjiro

  1. Still looking for next update, notification when user has someone else reply their comment or like/dislike their comment or feature change like/dislike video

    i'm still using old version 6.1

  2. Hi Tech Support, 

    1. Does KVS have feature like "history comments" for user ? User can find their comments which they commented before.
       
    2. And notifications like their comment got upvote/downvote like youtube, something like "Someone liked/disliked your comment" for guests vote and "Your comment got a like/dislike from username" for registered user vote
       
    3. Also important feature like reply a comment, and notification when someone reply their comment

    Are they available yet ? They are very important features for a tube sites, like youtube

  3. 24 minutes ago, Tech Support said:

    It supports, but not exposed in theme:

    https://www.kvs-demo.com/members/?q=demo

    What you need to do is to go to Website UI -> Pages -> Community -> Block "Members" and enable var_search = q parameter. Then go one level up to Community page template and add this under <div class="filter">:

    <div class="row">
    	<label for="search_members_query" class="field-label">Username</label>
    	<input id="search_members_query" name="q" class="textfield" value="{{$smarty.get.q}}"/>
    </div>

     

    Thank you very much, I did it, lots of things to learn from kvs

  4. On 12/29/2023 at 9:42 AM, Tech Support said:

    If a video is deleted, all information about it is wiped from file system and database, except some history / audit records.

    If a video is marked as deleted, then all information in database remains, but all video files and screenshots are deleted from filesystem. The direct URL may, or may not work - this depends on configuration option in Settings -> Website settings section.

    If a video is deactivated, everything remains in place, but the video is not displayed on lists across the site. The direct URL may, or may not work - this depends on configuration option in Settings -> Website settings section.

    Hi, may I ask, if user deleted his video, can I recover it ?

  5. I see there is a small issue about changing avatar

    If a user don't have avatar and they decide to upload a new avatar with file name abc.jpg, and this file name uploaded to the folder has format like /contents/avatars/0/1.jpg

    but then he changed his mind, he want to change his new avatar with new file name xyz.jpg, but it didn't change avatar, because it keep old file name (which is 1.jpg) even though he uploaded xyz.jpg, but if he choose another format file like xyz.png, it upload to new extension (which is 1.png) and it works, but if he choose another file name with same extension png, the file name will not be changed

    Please re-check this issue

  6. On 7/30/2017 at 12:18 PM, Tech Support said:

    Rating in KVS is a number from 0 to 5 due to historical reasons. Initially it was a 5-star rating where users could vote not just as "like" or "dislike", but also use other rating values.

    In modern themes almost everybody is using likes or dislikes. So do KVS themes. However internally the rating is still calculated as a plain number, where "like" is a 5-star vote and "dislike" is a 0-star vote. By default rating is displayed as % amount of likes using this code:

    Inside list block (means for each video / album / model / etc. in the list):

    {{assign var="rating" value="`$item.rating/5*100`"}}
    {{if $rating>100}}{{assign var="rating" value="100"}}{{/if}}
    {{$rating}}%
    

     

    Inside view block:

    {{assign var="rating" value="`$data.rating/5*100`"}}
    {{if $rating>100}}{{assign var="rating" value="100"}}{{/if}}
    {{$rating}}%
    

     

    If you want to change this with the number of likes and dislikes, or show them additionally to % rating, you can use this code:

    Inside list block (means for each video / album / model / etc. in the list):

    {{assign var="likes" value=0}}
    {{assign var="dislikes" value=0}}
    {{if $item.rating>0}}
    {{assign var="likes" value=$item.rating*$item.rating_amount/5|replace:",":"."|round}}
    {{assign var="dislikes" value=$item.rating_amount-$likes}}
    {{/if}}
    {{$likes}} likes and {{$dislikes}} dislikes
    

     

    Inside view block:

    {{assign var="likes" value=0}}
    {{assign var="dislikes" value=0}}
    {{if $data.rating>0}}
    {{assign var="likes" value=$data.rating*$data.rating_amount/5|replace:",":"."|round}}
    {{assign var="dislikes" value=$data.rating_amount-$likes}}
    {{/if}}
    {{$likes}} likes and {{$dislikes}} dislikes
    
     

    I'm sorry but can you be more specific? Where can I change from percentage to number likes and dislike like this

    image.png.259545dcca21e23aebec7fa2dc9cf490.png

  7. On 12/26/2023 at 7:11 PM, Tech Support said:

    Yes, this is one option, but then there is no support for content protection

    My site is very very small so I don't think I need content protection, besides with my knowledge level I can't figure out how to protect video content with R2 cloudflare, nor hire a dev php because I don't have enough money, and outside dev may risky to trust them, if I have to hire someone to do it it would be from KVS, but like I said my site is still so tiny, I hope in future my site can grow bigger so I can hire KVS dev to do it

    On 12/26/2023 at 7:11 PM, Tech Support said:

    We may need to take a look at this, where we can get an account for storing content?

    I'm not sure your question. It's R2 Cloudflare, it's very cheap and efficient, all I need is a cloudflare account, and create bucket R2 and fill in credentials (s3 key, secret), R2 is compatible with s3 so it can connected, user upload image/video and it will store it R2 bucket, unlimited storage, pay as you go, much cheaper than s3 itself

  8. On 11/30/2023 at 7:43 PM, Tech Support said:

    - CDN control script is needed for content protection, this means you have to develop this script yourself using the documentation provided by CDN vendor. If you want to use storage server without link protection, you can switch Streaming type option to Direct URL (no protection), then you don't need CDN control script.

    - Put / get / chmod /delete operation failed error means that KVS was not able to run basic operations with the provided details. You can find more info about error in Administration -> Installation info -> Logs -> debug_new_server.txt file. Then depending on error message from S3 API you need to find out what is wrong, could be connection issue (if wrong access point provided), or authorization issue (if wrong access code / secret keys provided).

    Based on your details I think you also need to provide some Endpoint URL, because if this is not provided, the API will think you are trying to use Amazon S3 infrastructure.

    BTW, in the documentation link you provided it says this:

    So this is likely the endpoint URL, you need to check your ACCOUNT_ID and replace in the URL.

    Thanks to this topic I can setup R2, but there is one small issue that it keeps showing warning sign

     WARNING: Content on some storage servers is not protected from direct access.

    How can I disable this ? Because R2 is suppose to direct link so it won't be protected right? And I'm fine with that so can I disable that warning sign ?

  9. I used to be a very newbie like you, now is just a little bit better, thanks to self-learning and self-explore, many tests and fails, I don't remember how many times I create new vps and install nginx, php, ffmpeg, like everything kvs needs to run, I keep googling and searching on this kvs forum, I only create a topic to ask when I spent hours and hours finding solution but no clue, you can see in my profile how many questions I asked, it's quite alot, so if you don't try to self-learn you can't be a pro from kvs, it will takes your time, actually alot of time to spend especially you don't have many experience before

    I'm still in learning-curve stage because I'm a slow learner to be honest, but I made a site and it's working, still no users visit at all, it takes time to finding which ways to works and to build efficiently

    There's no easy way or shortcut to success

    • Like 1
  10. On 9/4/2023 at 1:18 PM, Tech Support said:

    You need to go to Website UI -> Pages -> View Video page -> Video Comments block and change in the parameters:

    • items_per_page = 10
    • var_from = from_comments

    Then you should pagination working with load more button.

    Yes, thank you, it's working, but after I click "load more" and then refresh page, all of comments loaded too, it's not display 10 comments anymore but load all of comments that I clicked "Load more", for example at first it loads 10 comments by default, and I hit "Load more" it loads 10 more comments, that's mean 20 comments in total, and I hit refresh page, it display 20 comments, not 10 comments by default

    I just want after refresh page the comments still display 10 comments in total, can this be fixed ?

  11. 18 hours ago, Mich said:

    2k is absolutely way too much.
    I'm not familiar with your infrastructure, but you should consider splitting it into 1 gbps x4, if you meant it was 4gbps on a single host, for example.
    And I assume the storage is SSD.

    No, splitting into 1 gbps x4 will just cause more cost and more complicate because it's like streaming service on my site, people access and play videos

    And yes, storage is SSD

  12. Hello,

    I need to limit for each image size in Album upload, is it possible ?

    I tried to upload an image with 20 MB file size and it's still okay, I want it just allow only 5 MB maximum for each image size upload

    I tried to find but didn't see any setting for this

    • Confused 1
  13. That's a brand new name, it's hard to believe you can run with this cheap price

    image.thumb.png.2383e4fbeb106277d2dbde40d2992c96.png

    There's no "unlimited" thing, especially with cheap price

    I'm running a site that it cost me around 2K just for 4 Gbps Unmetered bandwidth and 8 TB storage space

    It's mostly just for storage files and unmetered bandwidth, there's no encoding at all because I don't need it

    OVH may cost less but it still cost me more than a grand with such requirements

    Or maybe I was wrong because your server didn't serve what I just said

    Takes a lot of time to build and gain trust from customers, I hope I could use your service in one day when you gained certain popularity and reliability

  14. I see its block has default code like this

    image.png.31e4289f23ee625515e0979e3ad4f1af.png

    Do I need to replace with whole below code to the template or put it inside <div> ?

    On 1/8/2020 at 1:43 PM, Tech Support said:
    {{section start=1 loop=$nav.page_total+1 name=pages}}
    <sitemap>
       <loc>{{$lang.urls.sitemap}}?type=search&amp;from_links_search={{$smarty.section.pages.index}}</loc>
       <lastmod>{{$smarty.now|date_format:"%Y-%m-%d"}}</lastmod>
    </sitemap>
    {{/section}}

     

  15. On 4/5/2023 at 8:35 PM, Westcircle said:

    Maybe it just happened to me. I'm not blaming them for anything, their support was very good. I am just saying, if somebody encounters such an issue, at least they will know where to start digging :classic_smile:

    P.S. Thanks for the sitemap tip, just updated mine according the tutorial 

    You're correct, I'm digging this issue right now, I was trying to find out why the hell Google Search Console keep saying "Couldn't fetch" for hours, I was looking to robots.txt file and I know why, I keep finding on kvs forum and found this topic, thank you for your topic, I also find @3dz 's comment very useful, I'll definitely look into it, thank you both

×
×
  • Create New...