Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Required Attachment Details »»
Required Attachment
Version: 1.00, by SOL00 SOL00 is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.2 Rating:
Released: 10-23-2006 Last Update: 10-24-2006 Installs: 26
DB Changes Uses Plugins
Additional Files  
No support by the author.

This add-on allows you to require an attachment with a specific extension for every forum.

I used it for a site with an picture gallery where every new pictures also needed a thread. To prevent users from posting empty thread, i write this add-on.

It's very easy to install and doesn't need any template changes.

Installation information on add-on:
Files edited: 0
Templates edited: 0
Files to upload: 2
Time to install: 5 minutes max

Please note you'll need to add a record for every forum you wish to require attachments in. The parent/child structure doesn't work.

This add-on has been linked to the attachment section of the forum so you can only select valid extensions.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-24-2006, 01:29 PM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot/ demo ???
Reply With Quote
  #3  
Old 10-24-2006, 01:32 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They have been posted .
Reply With Quote
  #4  
Old 10-24-2006, 02:23 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT forumid, title
FROM vb3_forumrequiredattachment
INNER JOIN vb3_forum USING(forumid);

MySQL Error : Column 'forumid' in field list is ambiguous
Reply With Quote
  #5  
Old 10-24-2006, 06:11 PM
taxick taxick is offline
 
Join Date: Aug 2005
Location: Denmark
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey.. It dont work Get SQL error
Reply With Quote
  #6  
Old 10-25-2006, 05:55 AM
SOL00 SOL00 is offline
 
Join Date: Sep 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ntfu2
Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT forumid, title
FROM vb3_forumrequiredattachment
INNER JOIN vb3_forum USING(forumid);

MySQL Error : Column 'forumid' in field list is ambiguous
Fixed
Reply With Quote
  #7  
Old 10-25-2006, 09:26 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this works the way I think it does it will be awesome, because I have about 5 or so forums on my site where it is downloads only, so that means people have to upload an attachment. However people often ask questions which is annoying.

The only problem I would then face, is a few people still upload larger attachements to like rapidshare, so would you have a solution for them?
Reply With Quote
  #8  
Old 10-26-2006, 06:11 AM
SOL00 SOL00 is offline
 
Join Date: Sep 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Urhm, don't have a real solution for your problem mate.
You might want to edit my plugin so the attachment is only required for several groups.

After that, put the 'large file uploaders' in a specific group which isnt required to post attachments.
Reply With Quote
  #9  
Old 11-04-2006, 08:51 PM
Pitboss Pitboss is offline
 
Join Date: Nov 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We're having a bit of an issue with this hack and I'm not sure why.

First of all we are running 3.6.1 so could this be a backwards compatibility issue?

Here is the issue:

Installed the hack. Install went fine. Added the forums we wanted to require attachments as directed.

Now though, every forum is requiring attachments, whether they were added or not. Checked database with phpmyadmin and the forum id is not listed in forumrequiredattachment and yet when trying to post in that forum the "Required Attachement Missing" screen comes up and stops everyone in their tracks.

We really love this hack as 90% of our forums should have files attached and this is a huge moderation saver however if it kills off the 10% of the forums where attachements are not required we'll have to stop using it which would really suck.

Ideas?
Reply With Quote
  #10  
Old 12-09-2006, 04:47 PM
jyajay jyajay is offline
 
Join Date: Sep 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only have required attachments enabled for a few forums (just jpg) but still this mod wants attachments on every forum no matter if the usergroup is not allowed to upload in this forum or not.

Please fix this or I have to uninstall this mod!
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:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08680 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete