The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
ok since you told you'll take a look at it, here is an algortihm you may found useful: :glasses:
Maybe you would consider hacking "standarderror function" and make it accept a few outside variables as parameters. If parameters are not sent, it will act default. But if some variables sent, it will process them and instead of displaying the default template it would take user to the requested (via a variable) page. Then inside the function you can apply a "case" tree which will evaluate incoming parameters and redirect user. (with header() command.) This approach will save a lot of modifications in a lot of vb scripts and take the core of the hack inside one function. You still need to edit "stardarderror" callings inside vb but I guess it would be easier than handle eveything inside seperate scripts. Another issue to handle would be modifying many templates to insert vb error message. And for this you can assign a variable into header function and in global.php set its value if script is called from your new standarderror function. This would save you editing tens of templates for this hack.. Just a thought. :glasses: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|