vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Upload capability in attachment manager (https://vborg.vbsupport.ru/showthread.php?t=88666)

EricR 03-18-2004 06:00 PM

Upload capability in attachment manager
 
The attachment manager seems incomplete since you can only use it to browse and delete your attachments. The one thing I don't like about attaching images to a post is that you can't embed them within your post, they all appear at the bottom. If you could use the attachment manager to upload attachements then, when creating posts, you could link to your already-uploaded attachment and embed it within your post.

So... anyone know how to add the upload capability to the modifyattachments template? I tried adding $attachmentoption (using the NewThread template as a guide) but that didn't work. Suggestions?

Brad 03-18-2004 08:24 PM

The upload from usercp part would defentaly require a hack, currently attachments are assigned to a postid when uploaded via posting, and altho they can exists without a postid there is no way currently to re-assing one when posting.

So you are looking at adding some php to upload from the usercp, adding some php to re-asign a postid when posting, and bulding a template to contain it all.

We don't deal with hacking here so you would have to ask at vBulletin.org

The quota thing may be possible via template modification, I will look into later :)

EricR 03-19-2004 04:12 PM

OK Thanks. After some more thought I should probably just look for a third party photo gallery script. vBulletin's attachments are close to being able to do that, but it just isn't quite there. All that's missing IMO is the upload feature, the ability to create folders, and the ability to allow other users to browse specific folders. I might suggest this on vBulletin.com and .org, but I think my short-term solution is probably going to be the third-party approach. Thanks again for the response :)


All times are GMT. The time now is 05:35 AM.

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.01100 seconds
  • Memory Usage 1,707KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete