Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2005, 06:14 AM
kyzen's Avatar
kyzen kyzen is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default REQUEST: Attatchment Comments.

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
Attached Images
File Type: gif upload_with_comment.gif (12.8 KB, 0 views)
File Type: gif post_with_comment.gif (107.7 KB, 0 views)
File Type: gif edit_post_with_comment.gif (9.7 KB, 0 views)
File Type: gif manage_attatchments_with_comment.gif (16.1 KB, 0 views)
File Type: gif admincp_with_comment_options.gif (40.4 KB, 0 views)
Reply With Quote
  #2  
Old 03-28-2005, 11:28 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 03-28-2005, 11:41 AM
kyzen's Avatar
kyzen kyzen is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-28-2005, 12:34 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 03-28-2005, 08:52 PM
kyzen's Avatar
kyzen kyzen is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

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
Reply With Quote
  #6  
Old 04-01-2005, 04:37 AM
kyzen's Avatar
kyzen kyzen is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You still around?

(aka. Shameless Bump)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04089 seconds
  • Memory Usage 2,235KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (5)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete