vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Private Attachments! (Attachments in Private Messages) (https://vborg.vbsupport.ru/showthread.php?t=35593)

TECK 03-02-2002 03:49 PM

firefly, edit your .txt file and replace this code:
PHP Code:

    if (intval($privatemessage['attachmentid'])!=0) {
      
$attach '<img src="https://vborg.vbsupport.ru/images/paperclip.gif" border="0" align="absmiddle">';
    } else {
      
$attach '';
    } 

with this one
PHP Code:

    if (intval($privatemessage['attachmentid'])!=0) {
      
$attach '<img src="{ imagesfolder }/paperclip.gif" border="0" align="absmiddle">';
    } else {
      
$attach '';
    } 


TECK 03-02-2002 03:52 PM

and i want to see also that is comming from me the idea!!!!.. hehe

Admin 03-02-2002 03:54 PM

The idea didn't come from you, people have been screaming for this forever.

TECK 03-02-2002 03:56 PM

true.... :p

Lionel 03-02-2002 04:17 PM

will this work in 2.21?

Admin 03-02-2002 04:22 PM

Yes but you might have a problem with attachment.php as it changed since then.

JJR512 03-02-2002 10:13 PM

Will this work with PPN's attachments as files hack?

Soma 03-03-2002 06:34 PM

great hack w00ting out loud

Admin 03-03-2002 06:41 PM

lol

Can anyone please test the hack a bit more and make sure attachment.php is ok, so I can release this as a full hack? Thanks. :)

Xelation 03-03-2002 07:13 PM

I've done about 10 tests with mine, works like a charm!


All times are GMT. The time now is 07:54 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.01200 seconds
  • Memory Usage 1,730KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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