Bulk loading threads with thread fields
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Bulk loading threads with thread fields
(07-25-2013 08:37 PM)Anil Gidwani Wrote:  Otherwise, the plug in will require extensive modifications by each user of the plugin.
I think this will be required anyway since you don't exactly know what fields a user has.

You probably should be using the CSV header for determining field names, as there's no guarantee what order you'll receive the fields from both the CSV or the database.

But if you're still adamant on your solution, you can read the threadfields cache (see the MyBB cache object) for a list of thread fields.  Note that this contains all thread fields across all forums.

My Blog
07-27-2013 11:37 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Bulk loading threads with thread fields - ZiNgA BuRgA - 07-27-2013 11:37 AM

 Standard Tools
Forum Jump: