• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

description code

shivaya

Chevereto Member
Website URL
http://www.nowebsite.com

Chevereto version
3.10.10

Description of the issue
Hello

i got a network license of chevereto but im not using chevereto because when i start using it there wasnt much features. i see that you improved script a lot and also add feature for gifs which looks so good. so congrats for making this script even better.

ok i try to add code to each image on description its a widget image in html with javacript + external link but seems im not allowed and its not working to add it?

any chance you could please tell me how can i allow my website to accept descriptions to accept this codes in my images?

<!DOCTYPE html><br />
<br />
<html><br />
<head><br />
<title>YouPorn</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><br />
</head><br />
<body><br />
<script type='text/javascript' src='//widgets.asdpoi.com/_affiliate/hubtraffic/saved/10016603/video_page.10016603-2-preview_15216590781396795.js?1521659078'></script><br />
<br />
<script type='text/javascript'>rtLoadExternalFiles('//widgets.asdpoi.com/_affiliate/hubtraffic/saved/10016603/video_page.10016603-2-preview_15216590781396795.css?1521659078', 'css');<br />
</script><br />
<div id='rtVideos_8b37583c0c9414a866f269037fbeb961' class='rtVideos rtVideos_8b37583c0c9414a866f269037fbeb961' style='display: none;'><a href='http://www.youporn.com/watch/14186739/A-new-couple-Lucy-and-Rober&#039;s-debut-in-porn'>A new couple Lucy and Rober&#039;s debut in porn</a> </div><br />
<script type='text/javascript'>setTimeout('rtDrawVideos_8b37583c0c9414a866f269037fbeb961();', 456);</script></body><br />
</html>

Keep up good work
thank you very much

best regards
 
You want to add custom html code. Where? In which section/element of your website?
 
Show me, the thing is quite big.

what do you mean? the code is above. its just a html code with a script code for a widget which shows an image + external link to website.

when i try to paste that code in description after image upload the code doesnt work. is it suposed to work? does description of images ready to allow such codes? if not, what should i change in my website in order to do that?

thanks for help
best regards
 
when i try to paste that code in description after image upload the code doesnt work. is it suposed to work?

That code is designed for something like Wordpress so that you can display their content on your page.

Where are you trying to put this code, it's certainly not clear??
 
You can't insert an HTML page into the description field of an image. Most likely that the alleged code have to be inserted in some section of your website and you are misinterpreting the instructions that they gave you.
 
That code is designed for something like Wordpress so that you can display their content on your page.

Where are you trying to put this code, it's certainly not clear??

Hi. yes thats what i want to display content in description of image.
 
You can't insert an HTML page into the description field of an image. Most likely that the alleged code have to be inserted in some section of your website and you are misinterpreting the instructions that they gave you.

Hi rodolfo. Thanks for clarification i understand now. The code is HTML page indeed but the content in the page looks like a banner / image with link to external website. however its not a banner but a script code. I wonder if I can just remove the html code on top and copy paste script code it will work that way in description of image?

thanks for help i apreciate
 

Attachments

  • kkk.png
    kkk.png
    77.6 KB · Views: 31
I can't guess that. I don't know what you are doing or what that code does, I don't know the instructions that they gave you.
 
I wonder if I can just remove the html code on top and copy paste script code it will work that way in description of image?

No you can't, it's not designed to do that.
 
Find a developer and hire him to do your custom work, a request like this is out of scope on this forum. Even small ideas can be a huge effort to get working as intended.

I can offer an alternative. In route.image.php set "Embed codes" as current. This way, the embed codes will show as default when someone clicks on a image.
If this is something you can live with, compare this code with yours and make the changes.

Code:
        $tabs = [
            [
                "label"        => _s('About'),
                "id"        => "tab-about",
            ]
        ];
        if(CHV\getSetting('theme_show_embed_content')) {
            $tabs[] = [
                "label"        => _s('Embed codes'),
                "id"        => "tab-codes",
                "current"    => true,
            ];

Remember to copy the route.image.php file to the overrides folder so it wont overwrite with the next version.
 
Last edited:
Find a developer and hire him to do your custom work, a request like this is out of scope on this forum. Even small ideas can be a huge effort to get working as intended.

I can offer an alternative. In route.image.php set "Embed codes" as current. This way, the embed codes will show as default when someone clicks on a image.
If this is something you can live with, compare this code with yours and make the changes.

Code:
        $tabs = [
            [
                "label"        => _s('About'),
                "id"        => "tab-about",
            ]
        ];
        if(CHV\getSetting('theme_show_embed_content')) {
            $tabs[] = [
                "label"        => _s('Embed codes'),
                "id"        => "tab-codes",
                "current"    => true,
            ];

Remember to copy the route.image.php file to the overrides folder so it wont overwrite with the next version.


Thank you very much ! i apreciate your help!

could you please explain what you mean by "This way, the embed codes will show as default when someone clicks on a image" ???
 
When you click on a image shown in your explorer, or someone clicks on your "viewer link" which points to your image viewer, they will see the image and under it the embed codes will be shown, as a "default tab" instead of the "about tab"

49ktO.png
 
@tomsit what i really want is just to share a link in the description or better something like a banner / cliclable image

it very important feature it doesnt make sense why it doesnt work. am i missing something or i cant even share a link in the description?

thanks
regards
 
@tomsit what i really want is just to share a link in the description or better something like a banner / cliclable image

it very important feature it doesnt make sense why it doesnt work. am i missing something or i cant even share a link in the description?

thanks
regards

As I said before, if you want that, hire an developer. I guess anything is possible at the right price.
 
Back
Top