+ Reply to Thread
Results 1 to 2 of 2

Thread: Profile Data

  1. #1
    Senior Member
    Join Date
    Nov 2021
    Posts
    165

    Profile Data

    Greetings to all participants and the Flynax team!
    The question is as follows...

    I need to insert javascript code on the profile page, I tried to make a text field in the profile so that each participant could add javascript on their own, but it didn't work... because, I suspect that Flynax has made protection against such actions, in order to secure the system and protect against javascript injections! That's right, I support it, but I still need to solve this problem!

    I added the following code to the listing_details_seller.tpl template

    PHP Code:
    Only registered members can view the code
    Where in line s1.src='https://embed.tasalk.tov/64cedsdfsd0sdfsdfsd0 ';

    There must be a unique id!

    The way to add data is this way:
    s1.src='https://embed.talk.tov /{$seller_info.Fields.embed_tasalk.value}';

    That is, to take a profile variable, alas, it did not work (((
    Can someone tell me a solution?!

    Thanks!

    P.S. As a result, I will share with you an interesting solution!)))

  2. #2
    Senior Member
    Join Date
    Nov 2021
    Posts
    165
    I fine solution for add data from field, but now see this error:

    cess to script at 'https://tawk.to/chat/64ce3f2acc26a871b02d7182/1dwewedi' from origin 'https://mysite.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    (index):1373 GET https://tawk.to/chat/64ce3f2acc26a87...et::ERR_FAILED 200
    (anony

+ Reply to Thread