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.

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

5 posters

Go down

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 April 18th 2015, 8:59 am

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

Any help here?
rockzkie
rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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- April 18th 2015, 9: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
Stephen-
Stephen-
Hyperactive

Male Posts : 2542
Reputation : 326
Language :

Back to top Go down

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 April 18th 2015, 11:38 am

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

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

http://darkgamers.forumtl.com

Back to top Go down

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 April 18th 2015, 12:50 pm

@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
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

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 April 18th 2015, 1: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

http://darkgamers.forumtl.com

Back to top Go down

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 April 18th 2015, 1:41 pm

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

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

http://darkgamers.forumtl.com

Back to top Go down

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 April 18th 2015, 3:12 pm

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

@rockzkie Wonderful enjoy!
FrOsTyXi
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

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 April 18th 2015, 3:41 pm

Yes it worked, but is there anyway to speed it up?
it loads first before redirecting...
rockzkie
rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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 April 26th 2015, 7:13 pm

This is exactly what I needed as well. Thanks for the code.
avatar
Apokelypse
New Member

Female Posts : 1
Reputation : 1
Language : English

http://Apokelypse.forumotion.com

Back to top Go down

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 April 27th 2015, 6: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..
Babybok
Babybok
Forumember

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

http://rl-rp.board.st

Back to top Go down

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 April 29th 2015, 12:27 pm

Topic Solved!
rockzkie
rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum