Hey there,
I previously asked this question…
I’d like to post a new blog entry when a user registers. I’d like to do this so that that blog entry can appear as/on their profile page so that they can have a comments ‘wall’.
Is this possible by modifying the registration part of the Users module?
I’d like to do this with the most minimal affect to the Users module so if it is possible to create a seperate plugin to run within the {exp:user:register} tag, then that would be ideal.
...and got this reply:
An extension hook could be added to the User module that would allow you to write an extension to do what you describe. It’s not in our current plans right now though.
mk
Thanks for that!
Right so I’ve gone off and played around and I’ve made an extension to hopefully work with the User module which I have at work…
I just wanted a hand making sure this will work as it’s my first extension.
If you’ve no time for this then no worries - I just wanted assistance from the professionals.
And here is what I think I’d have do to trigger it…
$edata = $EXT->call_extension('member_blog_entry');
if ($EXT->end_script === TRUE) return;
...added at line 2931 of mod.user.php (1.1.9)
Help, as always much appreciated.
