News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

integrate_login

Started by potato_head, January 28, 2017, 09:00:31 AM

Previous topic - Next topic

potato_head

I am currently working on implementing a login feature in my mod. I would like to do something right after a user logs in, so I'm using the "integrate_login" hook. For some reason, my function assigned to that hook always fires 3 times in a row, whenever the user logs in. Has anyone of you come across this issue?

Thanks

potato_head

I am using SMF 2.0.13. I should have started with this info, sorry.

vbgamer45

Haven't seen that happen. Does that happen to other hooks or just the login hook?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shambles

I'm going to guess your function has been inserted 3 times into the database hook entry.

potato_head

FIXED. Turns out this issue was caused by some core code changes performed by someone who worked on the mod before me.

Thanks for your replies.

Advertisement: