vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with attachment manager in forum posts (https://vborg.vbsupport.ru/showthread.php?t=261407)

st@rsky 04-04-2011 02:30 PM

Help with attachment manager in forum posts
 
Hi everyone,

I?m trying to create a new thread using a custom script with vbulletin. I already wrote the code using this article and it works :

http://www.onling.com/forum/showthread.php?p=2865

what I can not seem to do is manage the attachments using the attachment manager of vB. For me it would be well handled manually, but I can't find the appropriate class in VB.
To be clear I need the method to manage the attachments in vb. Any help?

thank you in advance

st@rsky 04-19-2011 09:38 AM

No one has created a new post with attachment manually?

Tasking Mickey 04-21-2011 11:25 PM

Quote:

Originally Posted by st@rsky (Post 2186240)
No one has created a new post with attachment manually?

To be honest with you, I've been using 3.8.x, series, but they should all work with any vB3 series as well,

Now to my correction, the attachment manager by it'self, but it'll do the job manually.

What I can suggest is going to vBulletin Options - Message Attachment Options, and config a option there if it isnt already, or go into the template postbit_attachment or any one of it's sub-templates with attatchment, and view it's original, and replace what you have already.

kh99 04-22-2011 01:48 PM

Quote:

Originally Posted by st@rsky (Post 2180754)
To be clear I need the method to manage the attachments in vb.

I'm not familiar with it, but I think you want to look in attachment.php.


All times are GMT. The time now is 10:58 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.01099 seconds
  • Memory Usage 1,714KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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