Keyword problem not working.. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Keyword problem not working..

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Keyword problem not working..

    Post by jomarcabasag Sun 10 Sep - 14:37

    Hi I have a problem with keyword not working for me...
    How to do dat? Razz
    Here is my forum:

    Link Ramoved Razz



    Keyword problem not working.. Sa10


    Last edited by jomarcabasag on Mon 11 Sep - 13:43; edited 2 times in total
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Sun 10 Sep - 17:19

    hello

    do you mean this? https://help.forumotion.com/t133869-style-topic-title-keywords\
    if yes what is the problem exactly

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 2:16

    skouliki wrote:hello

    do you mean this? https://help.forumotion.com/t133869-style-topic-title-keywords\
    if yes what is the problem exactly

    Yes Not working for me. How I can work That?

    Sorry for my bad English.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 7:15

    what is your forum version?

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 7:36

    Phpbb3
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 9:47

    what is the problem ..the code does not work at all? you see anything weird?

    did you place it in the topics?

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 9:59

    skouliki wrote:what is the problem ..the code does not work at all? you see anything weird?

    did you place it in the topics?
    Yes my code is in the topic.
    How I can use it? Sad
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 10:02

    did you follow the instructions below ?

    #TEXT: replace this TEXT with the word you want to transform (but do not remove the # before it, or the css code won't style your word)

    4. Modifications
    In the javascript code you have this line:
    .innerHTML.replace(/#TEXT/g,'<span id="TEXT">TEXT</span>');



    • #TEXT: this is the first TEXT you find. You have to replace it with the word you want to change
      Note: It is important that the word you replace here is the SAME written in the title;
      this part is CASE sensitive, so if you have Hello in the title and you write hello the code won't work

    • TEXT: the second TEXT you find. It is the ID used to style your keyword, if you have multiple keyword styles change it to the ID you want.
    • TEXT: the third TEXT you find. Replace it with the word you want to change


    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 10:14

    skouliki wrote:did you follow the instructions below ?

    #TEXT: replace this TEXT with the word you want to transform (but do not remove the # before it, or the css code won't style your word)

    4. Modifications
    In the javascript code you have this line:
    .innerHTML.replace(/#TEXT/g,'<span id="TEXT">TEXT</span>');



    • #TEXT: this is the first TEXT you find. You have to replace it with the word you want to change
      Note: It is important that the word you replace here is the SAME written in the title;
      this part is CASE sensitive, so if you have Hello in the title and you write hello the code won't work

    • TEXT: the second TEXT you find. It is the ID used to style your keyword, if you have multiple keyword styles change it to the ID you want.
    • TEXT: the third TEXT you find. Replace it with the word you want to change

    Yes I follow it but...Not working. I change the #Text to #EHI . But I don't know how to work it.. what I put in the title to work?
    Sorry for my bad English.,
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 10:17

    put here using the code tags the code you used

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 10:25

    Thanks @skouliki

    Here is my java scipt
    Code:
    $(function() {
        var c = document.querySelectorAll('.posthead');
        for (i=0; i<c.length; i++) {   
          c[i].innerHTML = c[i].innerHTML.replace(/#EHI/g,'<span id="TEXT">TEXT</span>');
        }
    });

    And here is my css stylesheet
    Code:
    #EHI {
      background: #FFF;
      padding: 0px 5px 1px 4px;
      border-radius: 6px !important;
      font-size: 11px;
      float: left;
      margin-right: 4px;
      border: 1px solid #CCC;
      box-shadow: 0px 1px 1px #FAFAFA;
    }
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 11:33

    you have to follow the above modifications in order for the code to work ...
    It is important that the word you replace #EHI is the SAME written in your title

    SLGray
    SLGray
    Administrator
    Administrator


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

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by SLGray Mon 11 Sep - 11:33

    Do you have topic titles that have EMI?



    Keyword problem not working.. Slgray10

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


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 12:47

    SLGray wrote:Do you have topic titles that have EMI?
    Nope .
    How to work that?
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 12:59

    jomarcabasag wrote:
    SLGray wrote:Do you have topic titles that have EMI?
    Nope .
    How to work that?

    he means EHI

    with this tutorial, you are able to highlight specific words in your topic titles
    if you dont have topic titles with the word EHI then no keywords will be showed up

    the reason you changed the word #Text to #EHI must be cause you have topic titles with this word

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Mon 11 Sep - 13:43

    skouliki wrote:
    jomarcabasag wrote:
    SLGray wrote:Do you have topic titles that have EMI?
    Nope .
    How to work that?

    he means EHI

    with this tutorial, you are able to highlight specific words in your topic titles
    if you dont have topic titles with the word EHI then no keywords will be showed up

    the reason you changed the word #Text to #EHI must be cause you have topic titles with this word
    Ok thanks @Skouliki Solved. Sad
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by skouliki Mon 11 Sep - 15:20

    did the code work?

    jomarcabasag
    jomarcabasag
    Forumember


    Posts : 82
    Reputation : 1
    Language : English

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by jomarcabasag Tue 12 Sep - 1:26

    skouliki wrote:did the code work?
    Nope. Sad
    Can you put in to garbage?
    SLGray
    SLGray
    Administrator
    Administrator


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

    Keyword problem not working.. Empty Re: Keyword problem not working..

    Post by SLGray Tue 12 Sep - 1:27

    Locked as Requested



    Keyword problem not working.. Slgray10

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