Personally I don't think that there is a way to edit a line or overwrite parts of it with hook/plugins.
Basically what you want to do is a file edit, and you should edit the php file. However, leave that as your last option and try to find another way of coding to get the same job done. If you can't find any, then you have to edit the php file.
Basically the hooks/plugins allow you to place a chunk of code within vbulletin's php files at certain predefined locations. You can't overwrite or replace lines with it, as far as I know.
May I ask what condition you are trying to add?
|