The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by rockzkie on April 18th 2015, 8:59 am

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

Any help here?

rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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

Post by Darkel on 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

Darkel
Hyperactive

Male Posts : 2186
Reputation : 272
Language : English, Tagalog
Location : Philippines

Back to top Go down

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

Post by rockzkie on April 18th 2015, 11:38 am

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

rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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

Post by FrOsTyXi on 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
Forumember

Male Posts : 460
Reputation : 12
Language : english

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

Back to top Go down

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

Post by rockzkie on 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
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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

Post by rockzkie on April 18th 2015, 1:41 pm

yes, it worked.. thank you very much!

rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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

Post by FrOsTyXi on April 18th 2015, 3:12 pm

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

@rockzkie Wonderful enjoy!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

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

Back to top Go down

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

Post by rockzkie on April 18th 2015, 3:41 pm

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

rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

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

Post by Apokelypse on April 26th 2015, 7:13 pm

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

Apokelypse
New Member

Female Posts : 1
Reputation : 1
Language : English

http://Apokelypse.forumotion.com

Back to top Go down

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

Post by Babybok on 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
Forumember

Male Posts : 136
Reputation : 0
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

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

Post by rockzkie on April 29th 2015, 12:27 pm

Topic Solved!

rockzkie
Forumember

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

http://darkgamers.forumtl.com

Back to top Go down

View previous topic View next topic Back to top


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