Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-28T14:51:18-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10254 2011-06-28T14:51:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10254&p=21896#p21896 <![CDATA[Re: File Upload Custom Registration Field]]>
Did you ever get anything working? I actually want to add a upload/replace avatar option using the user photo plugin. However, I know little about hooks and all so looking for some basic code to try and develop on that.

Thanks,

Kalman

Statistics: Posted by ffemtkl — June 28th, 2011, 2:51 pm


]]>
2011-06-22T19:37:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10254&p=21467#p21467 <![CDATA[Re: File Upload Custom Registration Field]]>
Here's the documentation for the Custom Registration Fields Package viewtopic.php?f=40&t=9119&src_doc_v=110605 and all the hooks in it viewtopic.php?f=40&t=9116&src_doc_v=110605

To see how custom fields are stored, create some, save some values in them, and go look for wp_s2member_custom_fields in the usermeta table of the database.

I hope that helps.

Statistics: Posted by Cristián Lávaque — June 22nd, 2011, 7:37 pm


]]>
2011-06-22T18:07:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10254&p=21451#p21451 <![CDATA[File Upload Custom Registration Field]]>
I have s2member configured on my site with the s2member profile page replacing the wordpress default.

I have taken advantage of the great custom registration fields options available in s2member, and have configured several.

However, I am in a predicament where I need to add at least two unique file upload fields to the custom profile. Of course, file uploads is not an option in s2member and wanted to know if some form of this is added in s2member PRO. If s2member pro provides some option to add a file upload field to the user profile page I will gladly buy it today ( I am not offering paid memberships, so the paypal and merchant gateway integration is unnecessary at this point in the project. )

If NOT, then basically what I'm seeing as the next step is to basically create a plugin that creates custom upload fields that are then added into the s2member registration fields right before they are published on the profile page. It would basically be a version of the user photo plugin only minus all the avatar features and plug it right into an s2member hook. If I can get this to work I'll paste the code.

So my question in that case would be what would a generic custom field insert look like? Or at least what s2member hook should I investigate more closely to insert my own field programmitcaly into it?

Statistics: Posted by williamjhines — June 22nd, 2011, 6:07 pm


]]>