Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 May 2016, 18:10
heat23 heat23 is offline
 
Join Date: Mar 2016
Add profile field via a product?

Hello all,

I am creating a product that requires an additional profile field. How can I add this as part the product .xml file so that it gets added automatically when installing?

Thanks
heat
Reply With Quote
  #2  
Old 19 May 2016, 18:56
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I have a product that creates a profile field upon installation, and the install code is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The uninstall code is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Of course, you will have to alter this to meet your specific needs.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 19 May 2016, 19:00
heat23 heat23 is offline
 
Join Date: Mar 2016
Thank you Mark!

--------------- Added 19 May 2016 at 19:42 ---------------

Mark,

Since you are dynamically naming the profile field name, is there a way I can write it back out somewhere so my PHP code can read the field name? I could store it in another database field but that might incur too much overhead. But if I save it on the filesystem, then the file needs to have write permissions?
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile Field ID on Profile Field Page assassingod vBulletin 2.x Full Releases 9 28 Jun 2003 01:29



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:50.

Layout Options | Width: Wide Color: