![]() |
Oh wow....didn't notice you were doubling those in your first post. Sorry. :o
Anyway, if a plugin is best then let's go with that. And yes, just one javascript file for each checkbox. Nothing really complex there. |
Create a plugin and as hook choose userprofile_create
With this code PHP Code:
|
Doesn't appear to be doing anything. :(
|
Did you try the same code i posted above? Be sure to activate the plugin
|
Yeah, the plugin is active and the hook is set right. And for a test, I just tried an alert popup again, it doesn't run.
|
I'll try this as soon as i can to see what's the problem (i'm on mobile now)
|
Alright, thanks. Appreciate it.
|
Oh i'm sorry, i was sure i replied to this thread (maybe i had some problems with my connection).
This isn't the proper way to do this but at least it works! PHP Code:
|
Seems to be working nicely, except in IE (not surprised). When I use IE the profile pages do not format correctly.
But thank you very much for the help. I'll work with this for now. Edit: IE reports the error coming from vbulletin_textedit.js (for the Visitor Messaging postbox). My scripts do not seem to be the cause because trying a simple alert popup script will still cause the error in IE. So probably not much can be done about that. |
Did you try to just put something like echo'test'; ?
|
All times are GMT. The time now is 11:59 AM. |
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:
|