Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [acidoinmetal] Featured Needed (or tip)

Quote Reply
Re: [acidoinmetal] Featured Needed (or tip) In reply to
I thought it would be automatic, but it really isn't, my fault. Here's what you can do to make it automatic:

Make the 'user_id_fk' field in the Post table a foreign key to the 'user_id' field in the User table. I don't know if you can do that from mysqlman or not. Plus, you would have to add something like the following into the Post.def file, under the 'fk' heading:
Code:
'gforum_User' => {
'user_id_fk' => 'user_id'
},
I don't recommend any of this if you don't know exactly what you are doing. Don't tell me I didn't warn you if things go wrong. Jason certainly has his reasons for not making it automatic.

Alteratively, use sql monitor to issue an sql command that does the above.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread Featured Needed (or tip) webconferencia 2456 Aug 28, 2002, 5:32 AM
Thread Re: [acidoinmetal] Featured Needed (or tip)
yogi 2369 Aug 28, 2002, 5:36 AM
Thread Re: [yogi] Featured Needed (or tip)
Franco 2359 Aug 28, 2002, 6:40 AM
Post Re: [Franco] Featured Needed (or tip)
ellipsiiis 2388 Aug 28, 2002, 8:37 AM
Thread Re: [yogi] Featured Needed (or tip)
webconferencia 2328 Aug 28, 2002, 11:16 AM
Thread Re: [acidoinmetal] Featured Needed (or tip)
yogi 2326 Aug 28, 2002, 3:08 PM
Post Re: [yogi] Featured Needed (or tip)
webconferencia 2300 Aug 29, 2002, 2:57 AM