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
2 posters

    weird request topics by member by tagging

    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved weird request topics by member by tagging

    Post by Michael_vx 15.02.15 8:06

    weird request topics by member by tagging
    as far as i know the member tagging is like this @Michael_vx
    and word tagging is #word
    is there a way or Script to make something like when i tag a member name
    let me able to view all topics from him for example
    *Michael_vx
    so after send it should be replaced to be like this
    *Michael_vx
    weird request topics by member by tagging Whistle 
    i hope i did Explain everything well
    rabbit


    Last edited by Michael_vx on 15.02.15 17:54; edited 1 time in total (Reason for editing : solved)
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 13:04

    what version do you need this for?
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: weird request topics by member by tagging

    Post by Michael_vx 15.02.15 14:59

    hi there
    first i like to congrats you for being support mod you are doing good Smile
    back to topic
    i like it to be for the most versions put the phpbb2 in the 1st place
    Mr. Green
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 16:11

    thank you....

    this should work on all 4 versions


    Code:
    $('.post').each(function(){
        $(this).find('a[title*="Viewing profile"]').each(function(){       
    var b = $(this).text().replace('@','');
    $(this).attr('href','/sta/'+b);
        });
    });
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: weird request topics by member by tagging

    Post by Michael_vx 15.02.15 16:58

    i think not working
    tested on phpbb2 and 3
    is the key is @ or ?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 17:04

    should replace the url for the @Michael_vx
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: weird request topics by member by tagging

    Post by Michael_vx 15.02.15 17:10

    http://micsoft-test.forumg.biz/t22-tag-test#45
    i guess i miss something
    Rolling Eyes 
    still the url is to the profile not topics
    i wonder what i did miss
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 17:14

    looks like your "Like" script has an error in it so its stopping other scripts from working
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: weird request topics by member by tagging

    Post by Michael_vx 15.02.15 17:38

    Shocked 
    weird
    i thought that was the problem
    i disabled all java scripts else then the tag code
    same thing
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 17:49

    ha im such a dummy i forgot to put it in a function

    Code:
    $(function(){
    $('.post').each(function(){
       $(this).find('a[title*="Viewing profile"]').each(function(){      
    var b = $(this).text().replace('@','');
    $(this).attr('href','/sta/'+b);
       });
    });
    });
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: weird request topics by member by tagging

    Post by Michael_vx 15.02.15 17:53

    lol im the dummy
    i did not know is only needs something like that
    alright
    topic solved
    thanks a lot
    ^_^
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    Solved Re: weird request topics by member by tagging

    Post by _Twisted_Mods_ 15.02.15 17:58

    Topic solved and archived

      Current date/time is 23.09.24 17:28