TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 500
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 450
  • Total: 450

Custom fields with uploaded files?

Started by jbayer, March 26, 2007, 02:58:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jbayer

I love TP.  However, I need to be able to store a few specific pieces of information with each file uploaded.  Currently a title and description are stored.  How difficult would it be to add a customizable way to specify custom fields for the upload?

IchBin

Very difficult. You'll need to add fields and database storage to it. Someone will have to do this customization for you as Bloc is a bit busy.

jbayer

The programming I can do.  If I do this, would Bloc be interested in the changes?  Also, if I have questions about some of the internals of TP, would there be someone I could PM with?

G6Cad

If Bloc see your work, and he can relate it to his own thinking in it, and also the saftey (big part of TP ) i think he might be interested :)

jbayer

OK.  I actually have about half of it done already, but only for the default theme.  When it's done I'll post a message and let others take a look at it.

jbayer

I'm a bit stuck here.  Can someone point me to where the function "template_main" is called in the theme files? 

Thanks

IchBin

template_main() is called in each section of the template files outside of index.tempalet.php. Boardindex, display.template, messageindex etc.


jbayer

I've finished adding user fields to the upload/download manager.  How do I contact Bloc so I can send the files to him for his consideration?


JBB

G6Cad

You contact Bloc right here in this post, and we will point him to here and he will have a look at it when he finds the time.

Just post all the relevant notes, links, and other info that he need to be able to check it out.

This website is proudly hosted on Crocweb Cloud Website Hosting.