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)
-   -   Who Downloaded This Attachment? (https://vborg.vbsupport.ru/showthread.php?t=36900)

TWTCommish 04-02-2002 10:38 PM

LOL. :laugh: Well, I guess I've got a supernatural sense of timing. Glad you like it.

69-FLy-gUy 04-02-2002 10:44 PM

ok.. i have a problem though.. the link doesn't work:(

TWTCommish 04-02-2002 10:45 PM

You're gonna have to be a little more specific. :)

69-FLy-gUy 04-02-2002 10:48 PM

ok... at the bottom of the page.. it says there are errors on th epage.. when i click the link.. who has downloaded this.. nothing happens at all.. the error that i get from IE is this

Object Expected

TWTCommish 04-02-2002 10:50 PM

Hmmm. Did you remember to add the JS function to your headinclude template? Sounds like it's having trouble with the JS popup function...

69-FLy-gUy 04-02-2002 10:51 PM

i used vbhacker....

and i am checking it... and it appears it is there.. here is what it looks likek

Code:

<script language="JavaScript">
  <!-- START HIDEfunction whodownloaded(attachmentid) {
    window.open
("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid,
 "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50"); }
  -->
</script>

$headnewpm


maverick1236 04-03-2002 12:04 AM

same problem here

java popup doesnt work

all code is there

TWTCommish 04-03-2002 12:06 AM

I know what's wrong. Don't use this:

Code:

<script language="JavaScript">
  <!-- START HIDEfunction whodownloaded(attachmentid) {
    window.open
("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid,
 "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50"); }
  -->
</script>

$headnewpm

Use this:

Code:

<script language="JavaScript">
  <!-- START HIDE
function whodownloaded(attachmentid) {
    window.open
("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid,
 "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50"); }
  -->
</script>

$headnewpm

See, the function line needs to start on it's own line. I suppose I forgot a crucial line break. I'll go back and fix it. :)

maverick1236 04-03-2002 12:21 AM

WELL DONE

Works great now

thanks for the great support

69-FLy-gUy 04-03-2002 03:24 AM

Thanks! It works now


All times are GMT. The time now is 09:12 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.02235 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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