vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [release] Quotes include Attachments (https://vborg.vbsupport.ru/showthread.php?t=86453)

filburt1 02-28-2003 10:00 PM

[release] Quotes include Attachments
 
Author: filburt1
Description: If you quote a post that has an attachment, then information about the attachment is included in the quote. It is added as BB Code so the end user has the option of editing or deleting the added text in the quote.
Screenshot: next post

Requested here. Adds one query to newreply.

filburt1 03-01-2003 09:30 PM

Screenshot:

ChevyMan 03-01-2003 10:08 PM

Is this suppose to be down by the quick reply box. I installed it and seen no change at all. Any ideas?

filburt1 03-01-2003 10:16 PM

No, on newreply.

ChevyMan 03-01-2003 10:17 PM

Quote:

Originally Posted by filburt1
No, on newreply.

Ok I got it. Can you make one for the quick reply as well?

filburt1 03-01-2003 10:19 PM

Not easily.

Tony G 03-01-2003 10:22 PM

Nice little feature here filbie. :)

imported_350Chevy 03-01-2003 11:30 PM

Excellent work.. Anyway to get this to show the actual image or just a link to the image or attachment (would rather show the actual image) and none of the other information?

filburt1 03-01-2003 11:31 PM

It's possible but as I said it's a security problem. There's another way to due to to avoid the problem but it requires Apache with mod_rewrite which not everybody has.

imported_350Chevy 03-01-2003 11:36 PM

Quote:

Originally Posted by filburt1
It's possible but as I said it's a security problem. There's another way to due to to avoid the problem but it requires Apache with mod_rewrite which not everybody has.


What if all my attachments were images and I added this phpinclude..?

Code:

.
.
.
        $attachmentbbcode = "\n\n[img]$bburl/attachment.php?s=$session[sessionhash]&postid=$postid]$qa[filename][/img]";
.
.
.



All times are GMT. The time now is 08:34 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.01057 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete