The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Quick question:
Let's say I have a plugin which should work with 2 different hooks, code is the same. Since duplicating the code would be redundant, is there a possibility to tell the plugin that it should work with hook1 and hook2 ? |
|
#2
|
||||
|
||||
|
Not that I have ever found.
|
|
#3
|
||||
|
||||
|
OK thanks.
Would be a nice addition for further vb versions, copying and maintaining redundant code in 4+ different plugins is nasty :P |
|
#4
|
||||
|
||||
|
I have run into the same code in 2 hooks so far. Yes, it would be nice, but I wouldn't get my hopes up on them doing anything about it.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|