PDA

View Full Version : Threads LIKE Forum Categories


snyx
23 Mar 2001, 14:09
Yeah, I'm trying to make my own hack like the one vb.org used. Now I wanna make it so that under a thread title, you can have a brief explanation of it? Like the forum categories? (see attached image) That would require another field in newthread, and I'm trying to make it so I can use this as a second template, so I can still run my board without having in install another on my host, but that's probably too complicated, so its not THAT important. So ANY help at ALL would be VERY much appreciated.

Thanks!
snyx

23 Mar 2001, 14:33
Control panel -> Forums and Moderators -> Modify

Select category, click on Edit, type description.

;)

23 Mar 2001, 14:37
No, no, maybe I wasn't clear. I want my "THREADS" to be like the image I attached. So that INSIDE a forum topic, the "THREADS" have explanations on what's inside them.

If I was asking about FORUM TOPIC descriptions, I would smack myself! :D

snyx

23 Mar 2001, 18:42
oh yea i get ya. you want a category description like a thread so you have a little line under it. like err...

I want a hack <mainfont>
hack for descriptions <smallfont>

like that sorta thing?

23 Mar 2001, 18:48
Yeah, I'm trying to make my own hack like the one vb.org usedActually, I didn't do anything to give threads descriptions. The forum table has about 10-15 extra fields tacked on for hacks, so each hack is actually a forum.

But I'm going a bit off topic. :)

I guess you could ALTER TABLE thread ADD descrip CHAR(250) NOT NULL; and from there it'd be a template change and something like '".addslashes(htmlspecialchars($descrip))."', in the INSERT INTO thread query.

23 Mar 2001, 19:02
Oh, I know thats not what you did at vb.org I was just refering to it, like looks. Hummm, thats for that Ed, it has come in useful!

snyx