Log in

View Full Version : New fields to postbit?


Deaths
02-06-2005, 05:40 PM
Hey there,

I remember seeing a hack doing this a while back.
When a user posts a new thread, he can enter extra stuff, like "Required tools". That then is displayed next to the username or something.

Kinda like the hack installed here, but then way less advanced.

If anyone could find this hack here, it would be greatly appreciated.

SVTBlackLight01
02-06-2005, 07:28 PM
Something like this?

http://www.modernengineuity.com/forums/showthread.php?p=3733#post3733

Deaths
02-07-2005, 02:34 PM
Yeah, kinda like that, but then integrated in the thread itself :)

Deaths
02-10-2005, 01:29 PM
*Bump*

cinq
02-10-2005, 01:41 PM
Something like that I am doing for my site now but briefly :

You could create a db table to house the additional information for each post.
Make changes to newthread/newreply templates for the new fields, eg. 'Required Stuff:' is a input text box.

In the newthread php file, you then insert the data into this db table you have just added to store the additional information.

After that, you would have to change your showthread/showpost/postbit(?) files/templates to reflect this additional information by querying the db table for what you need.

Not sure if that makes any sense :D

Deaths
02-11-2005, 10:57 AM
I was thinking of doing that aswell.
I'll try it now, I'll let you know.

EDIT:
I tried doing what you sayd, but failed.
Can you try explaining your plan a bit more, maybe I misunderstood you.