View Full Version : REQUEST: Attatchment Comments.
kyzen
03-28-2005, 06:14 AM
Hey modders, if any of you are looking for something to do, have a crack at this :) I would explain the images, but as you know, attatchment comments aren't built into vB ;)
Which is why I am posting this, I would like to be able to add comments and allow my member to add comments to their attatchments :)
why-not
03-28-2005, 11:28 AM
Hi
Are you asking for this, or showing us it?
If you want it, it will take 5 minutes to make, anything related to vB options is simple!
Sonia
kyzen
03-28-2005, 11:41 AM
Hi Sonia!
It's a request, I was just showing what I would like it to look like :) I do graphics and templates, the attatchments are just screen shots I changed :) When it comes to coding, I got no clue :P If you want to do it I could help with the templates :)
why-not
03-28-2005, 12:34 PM
Hi
I guess I need a break form do this nightmare signature mod, :nervous: Let me look at it real quick! I got the forum and Admin Panel options figured out, I need to see how I can add it to the Admin attachment viewer (Edit, delete) comments! If you want you could create some different templates for the forum display!
I also think I need to limit this to allow for comments only that are related to images and that image has thumbs. Ya I will put that as a option ('Show comments only for images or both images and files).
The other thing is the length (characters)! If we limit it to 255 we can use varchar and not have to jump over to using a text database column!
First let me do the code part, then I will post the template $var(s), then you can modify all the attachment templates (postbit_attachmentimage , and so on...), plus make a few different new ones, so people have different templates to choose from for displaying the image thumbs with comments! If people want to allow a comment with other files (zip, rar) or if thumbs is off, I think we will just add the comment to the current template (postbit_attachment), but you could also make simple replacement template for that. Something in a small div that will show the icon on the left (<if cond...>4<else />3</if> row spans) the on the right... (row 1) Name: attach name, (row 2) Size: attach size, (row 3) Type: type of attachment, <if cond...>(row 4) Comment: if comment</if>
Oh, ya...
I will also add the ability for the Admin to use BBCODE in the comment!
Let me start on the code! After I go for coffee!
I'll keep you posted, check back in a hour or so!
Sonia
kyzen
03-28-2005, 08:52 PM
Hey, I posted just before I went to be last night, we're definately in different timezones :P I't 8.50 am here now. :eek:
I was thinking that in bed lastnight, about the option of only allowing comments on images etc, I think leaving it upto the forums admin is the best idea :) You could either start with the textbox dissabled or invisable, and if set to only show comments on images, make the text box enable/appear on the upload of a valid image :) Lemme know the vars and I'll whack together some template ammendments. Cheers ;)
kyzen
04-01-2005, 04:37 AM
You still around? :o
(aka. Shameless Bump) ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.