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 redirect a user to the current topic after posting a reply

    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty How to redirect a user to the current topic after posting a reply

    Post by rockzkie Sat Apr 18, 2015 7:59 am

    How to redirect a user to the current topic after posting a reply

    Any help here?
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by Stephen- Sat Apr 18, 2015 8:05 am

    Hi,

    It automatically redirects the user to the currect topic after he/she reply, Could you explain more about your problem. Thanks! Wink
    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by rockzkie Sat Apr 18, 2015 10:38 am

    what i meant is, i will not click anymore the "Click here to view message"
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by FrOsTyXi Sat Apr 18, 2015 11:50 am

    @rockzkie If you are trying to bypass the "Information" screen, try this code.

    This will make it so after a post the user will go right back to their post.

    Administration Panel/Modules/JavaScript Management/Create New JavaScript/

    Name: As you please
    Mark: In all pages
    Code:
    ;$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});

    Hope this helps.

    Regards
    FrOsTyXi
    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by rockzkie Sat Apr 18, 2015 12:39 pm

    FrOsTyXi wrote:@rockzkie If you are trying to bypass the "Information" screen, try this code.

    This will make it so after a post the user will go right back to their post.

    Administration Panel/Modules/JavaScript Management/Create New JavaScript/

    Name: As you please
    Mark: In all pages
    Code:
    ;$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});

    Hope this helps.

    Regards
    FrOsTyXi
    i have tried it but it's not working...
    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by rockzkie Sat Apr 18, 2015 12:41 pm

    yes, it worked.. thank you very much!
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by FrOsTyXi Sat Apr 18, 2015 2:12 pm

    rockzkie wrote:yes, it worked.. thank you very much!

    @rockzkie Wonderful enjoy!
    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by rockzkie Sat Apr 18, 2015 2:41 pm

    Yes it worked, but is there anyway to speed it up?
    it loads first before redirecting...
    avatar
    Apokelypse
    New Member


    Female Posts : 1
    Reputation : 1
    Language : English

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by Apokelypse Sun Apr 26, 2015 6:13 pm

    This is exactly what I needed as well. Thanks for the code.
    Babybok
    Babybok
    Forumember


    Male Posts : 199
    Reputation : 2
    Language : Filipino, English
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by Babybok Mon Apr 27, 2015 5:49 am

    @rockzkie : I think that wouldn't be possible, It is depending on your Internet connection, that would be load fast or slow... I suggest to check your connection then try it again..
    rockzkie
    rockzkie
    Forumember


    Male Posts : 58
    Reputation : 3
    Language : Tagalog & English (a little bit)
    Location : Philippines

    How to redirect a user to the current topic after posting a reply Empty Re: How to redirect a user to the current topic after posting a reply

    Post by rockzkie Wed Apr 29, 2015 11:27 am

    Topic Solved!

      Current date/time is Sun Sep 22, 2024 9:30 pm