![]() |
Can I make this into a plugin/hook?
Hello,
I recently modified includes/class_image.php to customize the look of the human verification image. When I went to upgrade I noticed that this file could easily be clobbered and so I started looking at how I might be able to make a change here without actually digging into the php code of vb. I also had to chnage includes/class_humanverify_image.php Can I turn these changes into a plugin? How do I go about doing this since I'm not seeing any kind of "hook" that I can attach this code to... I'd appreciate any help as I'm looking to make the board easy to upgrade without needed to reimplement my hacks. |
It depends what you are doing - have a look at the hook locations in that file, and see if you can make any use of them.
|
there arn't any hook locations in these files. I guess the verification image system isn't plugable?
I changed mine to garble the text but not rotate things as much. I had some people complain that they had a hard time reading it... and for me it wasn't worth users complaining but since I've had spammers I tried to fix it up to meet my needs... If I could make it into a plugin/product I could share it with everyone... I presume its poor design to have the product installer inject code into a php file... |
All times are GMT. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|