The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
5 posters

    How to put this script for some topics

    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved How to put this script for some topics

    Post by betclever October 22nd 2014, 5:53 pm

    Hi all,

    The title is not so explicite but in fact, I would like to know if it is possible to add widgets (not flash) or RSS in the part "subjects" but not on all subjects, some of them only.

    Thanks,


    Last edited by betclever on October 25th 2014, 7:43 pm; edited 2 times in total
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    Solved Re: How to put this script for some topics

    Post by Ramdaman October 22nd 2014, 10:34 pm

    Hi betclever,

    You would need to create a new widget for that. Follow the steps in this tutorial: https://help.forumotion.com/t129060-widget-recent-topics-of-a-specific-sub-forum
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 23rd 2014, 1:01 am

    Hey again Ramdaman Smile

    In fact, I want to put this widget in a topic (subject) and not on my home page.

    <div data-type="timetable" data-id="12902" id="wgt-12902" class="tap-sport-tools" style="width:300px; height:auto;"></div>
    <div id="wgt-ft-12902" style="width:296px;"><p><a rel="nofollow" target="_blank" href="http://www.footendirect.com/france/ligue-1/">Foot en direct Ligue 1</a> fourni par FootenDirect.com</p></div><style type="text/css">#wgt-ft-12902 {background:#FFFFFF !important;color:#484848 !important;text-decoration:none !important;padding:4px 2px !important;margin:0 !important;}#wgt-ft-12902 * {font:10px Arial !important;}#wgt-ft-12902 a {color:#484848 !important;}#wgt-ft-12902 img {vertical-align:bottom !important;height:15px !important;}</style><script type="text/javascript" src="http://tools.footendirect.com/load.min.js?475"></script>

    or

    <script type="text/javascript" src="http://www.oddsportal.com/ajax-widget/92afb42bf7834ee/"></script>

    Can I do anything with this script?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to put this script for some topics

    Post by SLGray October 23rd 2014, 5:54 pm

    I tried using the first one.  The only thing that appeared in the post was the link to the place where you got the code.



    How to put this script for some topics Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 3:52 pm

    Hello all and gray,

    In fact, when I put the script posted on the top of this topic in widged on my home page, this one appears without any problem but it is not what I want...

    I want to put this one in a topic to open topics with this subject.

    How can I put this one in a topic?

    If we have the possibility to use flash, it should be a way to use other scripts in a topic no?

    Thanks a lot,
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 4:22 pm

    do u mean like this?

    How to put this script for some topics Blahhhh_zpsd10eb884
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 4:25 pm

    Like this:

    How to put this script for some topics Nhl11

    In fact, I want to add this kind of widget, see the one from "espn" but the code I have is the one I have posted on the top of this topic and is not the same as the one from espn cause the one from espn comes from another website and it is in flash...

    The new one is animated too and auto-updated but not in flash.
    I think, it's HTML code right?

    Here is the code for the new one:


    <div data-type="timetable" data-id="12902" id="wgt-12902" class="tap-sport-tools" style="width:300px; height:auto;"></div>
    <div id="wgt-ft-12902" style="width:296px;"><p><a rel="nofollow" target="_blank" href="http://www.footendirect.com/france/ligue-1/">Foot en direct Ligue 1</a> fourni par FootenDirect.com</p></div><style type="text/css">#wgt-ft-12902 {background:#FFFFFF !important;color:#484848 !important;text-decoration:none !important;padding:4px 2px !important;margin:0 !important;}#wgt-ft-12902 * {font:10px Arial !important;}#wgt-ft-12902 a {color:#484848 !important;}#wgt-ft-12902 img {vertical-align:bottom !important;height:15px !important;}</style><script type="text/javascript" src="http://tools.footendirect.com/load.min.js?475"></script>

    I can put it as widget on the home page but not in a topic "subject" like the one on the print screen...

    Thanks
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 4:52 pm

    ok you cant put it in the subject because it does not let you use html in subject but you can put it in a post by creating a new html page and placing your code in it  then in the post link to it with a iframe


    Code:
    <iframe src="http://twisted-mods.forumotion.com/h4-neww" style="width:320px; height:490px;"></iframe>

    just switch
    Code:
    http://twisted-mods.forumotion.com/h4-neww
    with the link to your html page

    my html page will be valid for next hour if u need to test the iframe b4 u use it
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 5:00 pm

    Thanks for your answer.

    I have added the code "iframe" with a new html page but how to put the second code?

    If I use "insert link" it only gives the link but nothing appears...

    Thanks,
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 5:06 pm

    use you code in the html page



    Code:
    <div data-type="timetable" data-id="12902" id="wgt-12902"
    class="tap-sport-tools" style="width:300px;
    height:auto;"></div>
    <div id="wgt-ft-12902"
    style="width:296px;"><p><a rel="nofollow" target="_blank"
    href="http://www.footendirect.com/france/ligue-1/">Foot en direct
    Ligue 1</a> fourni par
    FootenDirect.com</p></div><style
    type="text/css">#wgt-ft-12902 {background:#FFFFFF
    !important;color:#484848 !important;text-decoration:none
    !important;padding:4px 2px !important;margin:0 !important;}#wgt-ft-12902
     * {font:10px Arial !important;}#wgt-ft-12902 a {color:#484848
    !important;}#wgt-ft-12902 img {vertical-align:bottom
    !important;height:15px !important;}</style><script
    type="text/javascript"
    src="http://tools.footendirect.com/load.min.js?475"></script>

    and use

    Code:
    <iframe src="http://twisted-mods.forumotion.com/h4-neww" style="width:320px; height:490px;"></iframe>

    in the post msg just replace
    Code:
    http://twisted-mods.forumotion.com/h4-neww
    with the link to your html page you created

    p.s make sure on your html page the head and foot is turned off
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    Solved Re: How to put this script for some topics

    Post by Ramdaman October 25th 2014, 5:09 pm

    Place the link after
    Code:
    <iframe src="

    Make sure the link is inside the quote. "Link"
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 5:32 pm

    I don't understand what you mean guys sorry.

    This is what I made:

    I have created a new HTML page and inserted this code:

    Code:
    <iframe src="http://twisted-mods.forumotion.com/h4-neww" style="width:320px; height:490px;"></iframe>

    When I go to the post where I want to add the widget, what shall I do?

    Shall I use "insert link" or "flash" or "insert image" or something else?

    @
    _Twisted_Mods_

    Shall I put your third code on my HTML page or add this one with "iframe,..."?

    @Ramdaman

    Shall I write
    Code:
    <iframe src="

    before
    Code:
    http://twisted-mods.forumotion.com/h4-neww

    Thanks guys,
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    Solved Re: How to put this script for some topics

    Post by Ramdaman October 25th 2014, 5:36 pm

    Try this code:

    Code:
    <iframe src="LINK" style="width:320px; height:490px;"></iframe>

    Replace LINK with the link you need to place.
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 5:41 pm

    @ramdaman:

    This is what I have when I use the button "insert link" or paste the code you have posted :

    How to put this script for some topics Test310

    Please,

    Can you give me step by step what I have to do to insert this widget cause it becomes too difficult to understand what codes I have to add...

    Is the HTML page correct?

    How to put this script for some topics Html_p10

    If yes, can you tell me what I have to do now step by step?

    Thanks ramdaman and twisted,
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 5:52 pm

    ok ill start from the begging

    create a new html page

    turn off header and footer
    How to put this script for some topics Image3_zps0f43facb


    place this code in the html page


    Code:
    <div data-type="timetable" data-id="12902" id="wgt-12902"
    class="tap-sport-tools" style="width:300px;
    height:auto;"></div>
    <div id="wgt-ft-12902"
    style="width:296px;"><p><a rel="nofollow" target="_blank"
    href="http://www.footendirect.com/france/ligue-1/">Foot en direct
    Ligue 1</a> fourni par
    FootenDirect.com</p></div><style
    type="text/css">#wgt-ft-12902 {background:#FFFFFF
    !important;color:#484848 !important;text-decoration:none
    !important;padding:4px 2px !important;margin:0 !important;}#wgt-ft-12902
     * {font:10px Arial !important;}#wgt-ft-12902 a {color:#484848
    !important;}#wgt-ft-12902 img {vertical-align:bottom
    !important;height:15px !important;}</style><script
    type="text/javascript"
    src="http://tools.footendirect.com/load.min.js?475"></script>
    How to put this script for some topics Image4_zps31b9d26c


    Save

    How to put this script for some topics Image5_zps68a36889


    then goto html page managment
    How to put this script for some topics Image6_zpse181267f

    click preview on your html page you created
    How to put this script for some topics Image7_zpsfcd35935


    copy the url



    place the url where it says "yoururl"

    Code:
    <iframe src="yoururl" style="width:320px; height:490px;"></iframe>

    once you replace the url put the "iframe" code in a post msg

    How to put this script for some topics Image8_zpsc13a68a1
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:04 pm

    It works !!!!!!!!!!!!!!

    Nice job guys !

    Shall I make for each widget a new html webpage cause I want to use this widget for all leagues Smile ?

    EDIT:

    It's strange cause when I go to http://www.betclever.net/h2-widget-foot I have access to the widget but when I put this link between "" and I click on submit or prev. it doesn't work...

    When I remove www. and let http:// it becomes http://www. automatically...


    Here is the code on the post :

    <iframe src="http://www.betclever.net/h2-widget-foot" style="width:320px; height:490px;"></iframe>
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:16 pm

    yea if its same widget you can use the same  

    <iframe src="http://www.betclever.net/h2-widget-foot" style="width:320px; height:490px;"></iframe>

    in every post
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:19 pm

    Twisted,

    In fact it doesn't work anymore, any reason?

    Even if I remove www. or let it, it only gives the code in the post... Sad
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:21 pm

    make sure u have html enabled


    also

    How to put this script for some topics Ummmmm_zps0ff7a3ff

    make sure its not wrapped in "[code]" tags
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:33 pm

    It doesn't work, it's very strange.

    Here is the print screen of the post:

    How to put this script for some topics Test510


    Even I uncheck the box to enable the HTML code, it doesn't work.

    Can you tell me which icon shall I use when I want to paste this kind of code?

    When I go to this page: http://www.betclever.net/h2-widget-foot it works so it should be an issue in the post self...

    PS : I have unabled the HTML code in the CP.

    Thanks Twisted,
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:40 pm

    uncheck deactivate html

    and as far as a icon to post the code you dont use one you just paste it right in the message and it should work

    <iframe src="http://www.betclever.net/h2-widget-foot" style="width:320px; height:490px;"></iframe>
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:43 pm

    twisted,

    I have unchecked the box (see my previous post).

    This link doesn't work <iframe src="http://www.betclever.net/h2-widget-foot" style="width:320px; height:490px;"></iframe>

    However, when I go http://www.betclever.net/h2-widget-foot I see the widget...

    Sad
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:45 pm

    acp>general>messages&email>configuration>

    Allow HTML : Yes

    if that dont work idk why its not working for you because i use same code on my forum and it works
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:50 pm

    Ok, I found the problem twisted,

    In fact when I uncheck the box "deactivate HTML" to unable the HTML, I paste the code with the <iframe> code and I click on preview, it appears!

    However, when I click on "send" the text appears finally...

    Is there any reason?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:53 pm

    goto ur profile prefrences and make sure Always allow HTML :yes
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 6:58 pm

    It was the issue with my profile Twisted !

    However, it will be the case for everyone?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 6:59 pm

    did you goto

    acp>general>messages&email>configuration>

    Allow HTML : Yes
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 7:02 pm

    Yes

    It works for me but for guest and members?

    I can ask someone to check if he views the post eventually but for a guest?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: How to put this script for some topics

    Post by _Twisted_Mods_ October 25th 2014, 7:09 pm

    give me link and ill check


    iv done some searching around your new members will see html if you enabled it in acp like i said above but for the old member you will have to make a note above or below the iframe or make a global or whatever announcement telling your old members to enable html in there profile
    avatar
    betclever
    Forumember


    Posts : 209
    Reputation : 2
    Language : english

    Solved Re: How to put this script for some topics

    Post by betclever October 25th 2014, 7:25 pm

    So, I have asked some members to know if they see the widget but they only see the code <iframe>

    How can I do to force the HTML view for all members?

    Any script or way to do that?

    Thanks,

      Current date/time is November 11th 2024, 6:54 pm