The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Which of these code changes are 'safe'/correct?
I am trying to change the page a user is sent to after replying to a thread.
With help from members Merk and Andreas I have located the bit of the newreply.php file which I need to change, in particular this bit: $vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]#post$newpost[postid]"; which is half way ish down this bit of code: PHP Code:
$vbulletin->url = 'my own url'; in the php code bit and it works fine. However I am worried about the other bits of code in the original file above the hook location, so am wondering whether I need to add any of that in my plug-in? Or will what I have done only effect the line I want it to? Sorry if its obvious! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|