The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help! Redirect to showthread from private.php
I am trying to write a mod to redirect to a particular thread i.e. showthread.php after I send a private message so using the private_insertpm_complete hook.
This does not work: PHP Code:
However This redirect does work PHP Code:
|
#2
|
|||
|
|||
Try using the session URL as the first parameter in the URL.
|
#3
|
|||
|
|||
I changed:
PHP Code:
PHP Code:
However the URL is correct: http://localhost/testvb/showthread.php?t=2 When I refresh the page manually the page appears. |
#4
|
||||
|
||||
PHP Code:
|
#5
|
|||
|
|||
Still does not work. On the redirecting page, if I manually click "Click here if your browser does not automatically" it brings me to the correct page.
It just does not redirect me automatically to the showthread page Any other suggestions would be appreciated. |
#6
|
|||
|
|||
Anyone any suggested solutions?
|
#7
|
||||
|
||||
Have you looked at the page source of the page that says "Click here if your browser does not automatically" to see what is in the head for redirecting?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|