TIA
Hooking/extending ucp register
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Hooking/extending ucp register
Is it currently possible to hook/extend the ucp_register class? For example, if someone wanted to inject some stopforumspam code. Took a look at it but not exactly sure as ucp_register seems to only have one function. Please remember, "Damn it Jim, I'm an accountant not a programmer".
TIA
TIA
Do not hire Christian Bullock he won't finish the job and will keep your money
Re: Hooking/extending ucp register
Hello, is this thing on?
Do not hire Christian Bullock he won't finish the job and will keep your money
Re: Hooking/extending ucp register
Hmm.. maybe add some events to it? 
Or try use core.user_add_modify_data
Or try use core.user_add_modify_data
My mods:
Auto Backup [MODDB] | Reputation System [RC]
Auto Backup [MODDB] | Reputation System [RC]
Re: Hooking/extending ucp register
I am not looking to inject stuff in to the database. I am looking to inject stuff into the code when a user first registers....like an antispam thing. Similar could be asked about posting and/or includes/functions_posting.php.
Do not hire Christian Bullock he won't finish the job and will keep your money
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: Hooking/extending ucp register
What about putting this code in session.php (I think that's the name)? That way you can handle IP addresses for guests, too. Or, if phpBB would support plug-ins for blacklists like they do for CAPTCHAs, you could easily use Stop Forum Spam there.
And, if anybody is interested, here's some code for implementing Stop Forum Spam.
Steve
And, if anybody is interested, here's some code for implementing Stop Forum Spam.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Re: Hooking/extending ucp register
So I guess with no comment from a dev the answer would be no...which makes sense as I don't see any events with the ucp_register file nor within memberlist file (other than to add stuff to the display) to use in the contactadmin form.
Do not hire Christian Bullock he won't finish the job and will keep your money