PDA

View Full Version : Profile Plugin / Reference in Widget


cory_booth
12-03-2009, 04:10 PM
I would like to release two weather scripts I have modified to use CMS Widget PHP.
(I'll wait until VB releases the official PHP Widget, however).

My mods would display icons and temp for the next 9 days and current weather warnings as well.

I would like to make this simple, so is there a template I can use to build a profile field addon for users to insert their locality code and include that as a "plugin".

Or would it be easier to just tell everyone - make an add-on profile field?

BBR-APBT
12-03-2009, 04:18 PM
You would use sql and the box for install code.

Look at the sql for your other profile fields for a good example.

No need to fill in profilefieldid, it is set to auto-increment by the database.

ragtek
12-03-2009, 05:19 PM
instead of the profilefield, you could add a column to the user table.

It's easier;)