The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have created a template and matching php file to show the PM editor on a single page.
The form on this template submits to private.php from vbulletin. When you click send, a PM is sent and you get redirected to the inbox. What I would like to do is to not redirect to the inbox after submission but to another page. How can I do that? |
#2
|
|||
|
|||
![]()
Please paste the code and a link to this so we have the ability to check out the style. However if it is what I think it is, you should just be able to alter the redirect in the form settings. If you are calling the same core-files that Vbulletin uses, you will be altering it board-wide, not just for that page.
If you wanted it to work both ways, you would have to put a IF/ELSE statement in there doing a verify on the URL. But I don't want to get off-topic here. Please post the code and we will go from there ![]() |
#3
|
|||
|
|||
![]()
Don't know what you want me to post.
It's just the regular vbulletin pm form. PHP Code:
|
#4
|
|||
|
|||
![]()
Try adding:
Code:
<input type="hidden" name="redirect" value="URLHERE"> Now, are you talking about the page that says "YOUR MESSAGE SENT SUCCESSFULLY CLICK HERE TO GO OR WAIT" prompt? Other then that you would need to modify the private.php ![]() |
#5
|
|||
|
|||
![]()
I tried it out and added it to the form.
But it still redirects to the inbox. ![]() I don't mean the "your message..." redirect message. I did not get such a message, anyway. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|