The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to redirect to current thread after posting quickreply
So what needs to be done, is when a user posts a reply with quickreply a redirect to the current thread should execute, so the user sees the first post of the thread after replying with quickreply
Could someone please tell me which file I need to alter to get this done and provide me with the correct code to do this ? many thanks in advance |
#2
|
||||
|
||||
When you reply via quick reply, you are returned to the thread. It's ajax, so the thread remains and only the quick reply is modified to show the new post. If you don't want it to do that, then turn off ajax, but that will affect several places on the site.
|
#3
|
|||
|
|||
turning off ajax is not what I want to do, ajax is jscript so I'm guessing it should be possible to solve this with a window.location redirect in the ajax script vbulletin_quick_reply ?
--------------- Added [DATE]1303927114[/DATE] at [TIME]1303927114[/TIME] --------------- i think i have a way do do this, but just don't know where to put it : if i add this code to the vbulletin_quick_reply.js : Code:
var v = $('.threadtitle a').attr('href'); window.location=v; If only I knew where to put this extra code, should be when quick_reply_posting is complete |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|