Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthordapro
    • CommentTimeJun 29th 2006 edited
     # 1
    Does anyone know how to do this or is anybody working on this type of extension?
    • CommentAuthordapro
    • CommentTimeJun 29th 2006 edited
     # 2
    • CommentAuthorMinisweeper
    • CommentTimeJun 29th 2006 edited
     # 3
    -
    •  
      CommentAuthorBergamot
    • CommentTimeJun 29th 2006
     # 4
    Custom in what way?

    I think it would be pretty easy; the only hassle would be that sometimes the discussion form is loaded without a category pre-selected.
    • CommentAuthordapro
    • CommentTimeJun 29th 2006 edited
     # 5
    how do you mean mini?
    • CommentAuthordapro
    • CommentTimeJun 29th 2006 edited
     # 6
    I tried to put a screenshot up but it doesn't seem to be working so...
    http://urbanfeet.org/extvan.jpg
    •  
      CommentAuthorBen
    • CommentTimeJun 29th 2006 edited
     # 7
    So adding extra fields when you create a discussion, like the predefined user info extension.
    I suppose that could be used as a basis, but where would it put that info in the database?
    • CommentAuthordapro
    • CommentTimeJun 29th 2006
     # 8
    I'm a db novice, anyone else? ideas? this would be a great extension.
    •  
      CommentAuthorlech
    • CommentTimeJun 29th 2006
     # 9
    Is mini running around breaking stuff again?
    •  
      CommentAuthorBen
    • CommentTimeJun 30th 2006
     # 10
    I looked at the database and I think for something like this another column would be needed in the lum_comment table, a simlar setup to the Attributes/Preferences field in the user table. That way you could assign as many bits of extra info as you like, might be useful if someone makes a poll extension as well.
    • CommentAuthordapro
    • CommentTimeJun 30th 2006
     # 11
    thanks Ben! do you have instructions on how to start this?
    •  
      CommentAuthorBen
    • CommentTimeJun 30th 2006
     # 12
    Well, Mark's the guy to ask for a new database column as an extension couldn't create it on its own, it'd have to be put in the core.
    • CommentAuthorMinisweeper
    • CommentTimeJun 30th 2006 edited
     # 13
    It could create it easily? The question is whether it's best done in the core. Would it be such a bad thing if all (or some) of the tables had a sort of miscellaneous column which could hold custom values like the user table has?
    • CommentAuthordapro
    • CommentTimeJun 30th 2006
     # 14
    O.K. I'm confused when you say "the core" you don't mean the movie :)
    • CommentAuthorImmersion
    • CommentTimeJun 30th 2006
     # 15
    the core meaning all the files other than the extensions pretty much. The main part of vanilla that it runs on.
    •  
      CommentAuthorBergamot
    • CommentTimeJun 30th 2006
     # 16
    Um, extensions could easily add columns to database tables.
    • CommentAuthorImmersion
    • CommentTimeJun 30th 2006
     # 17
    yeah thats what i was thinking :P
    •  
      CommentAuthorBen
    • CommentTimeJun 30th 2006 edited
     # 18
    Can they? Pardon me. :)
    • CommentAuthordapro
    • CommentTimeJun 30th 2006
     # 19
    Thanks Immersion, so anyone thinking of making this kind of extension?
    • CommentAuthorImmersion
    • CommentTimeJul 1st 2006
     # 20
    Err i dont think they are :( Would be nice though.

    Guess the number of people turning it into download software :P It would work quite well actually.
    • CommentAuthordapro
    • CommentTimeJul 7th 2006
     # 21
    Revisiting this topic any help would be great.
    • CommentAuthordapro
    • CommentTimeJul 13th 2006
     # 22
    Sorry I'm trying this again as I saw Jazzman finished a poll ext so I was hoping for some help on this
    • CommentAuthordapro
    • CommentTimeJul 19th 2006
     # 23
    anybody?
    •  
      CommentAuthorMark
    • CommentTimeJul 19th 2006
     # 24
    As they say above, you need to add the new columns to your discussion table. Then you attach to a delegate in the start discussion form and add your inputs. Finally, you attach to a delegate in the save discussion method of the discussion manager and add your new fields to the insert statement. It's really that easy.

    If you don't know how to do that, then you're probably going to have to pay someone who can program to do it for you.
    • CommentAuthordapro
    • CommentTimeJul 19th 2006
     # 25
    Well I had no idea it was that easy! :) O.K. so my budget is limited
    but I am willing to pay - anybody up for the task?
    - Thanks Mark
    • CommentAuthorImmersion
    • CommentTimeJul 20th 2006
     # 26
    mm id love to have this aswell. Yet no money for me :( However how hard would it be to make it so the feilds would only appear if a certain category was selected.
    •  
      CommentAuthorSomo
    • CommentTimeJul 25th 2006
     # 27
    I'd also like to see an extension to easily manage custom fields. I'm trying to add a field so poster can optionally attach an external link to the topic (source of the info, for example).

    What Mark explains doensn't seem difficult, indeed. Maybe this could be moved into the requests category? :)
Add your comments
    Username Password
  • Format comments as