vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Downloaded This Attachment - for Gold (https://vborg.vbsupport.ru/showthread.php?t=63468)

Fi_InCogNiTo 04-05-2004 06:15 PM

I couldnt find any of that code in my attachment.php file....

Where should I add this code since it's not in the file?

Mr Blunt 04-05-2004 06:22 PM

Quote:

Originally Posted by Fi_InCogNiTo
I couldnt find any of that code in my attachment.php file....

Where should I add this code since it's not in the file?

Unless you have another hack installed, that code I listed is in there.
It's right above this line.....

Code:

        $extension = strtolower(file_extension($attachmentinfo['filename']));
Are you sure your using vb3 Gold??

Fi_InCogNiTo 04-05-2004 06:35 PM

No, ur right. I found it. I was looking in admincp/attachment.php. I used my text scanner and it didnt find it at all.....

[high]* Fi_InCogNiTo goes off to look for another good scanner ;)
[/high]

EDIT: Works :)

Vivi Ornitier 04-06-2004 12:03 AM

I had to change the postbit code a bit in order for the template ot work.

<a href="java_script_:whodownloaded($attachment[attachmentid])">Who Downloaded This?</a>

The java_script_:whodownloaded($attachment[attachmentid]) should be changed to javascript:whodownloaded($attachment[attachmentid]);

Mr Blunt 04-06-2004 12:38 AM

Vivi, I'm confused.
What do you click now to get the popup??

That href line you modified is the click.
The phrase "who downloaded this?" is the text I click to get the popup.

Or are you saying you just added a semi-colon inbetween ) and "
And if this semi colon is neccessary, then wouldn't it go after the question mark in the phrase??

Forgive me for questioning you.
I'm just trying to learn why.
And moreso, why mine works for me.

Link14716 04-06-2004 03:14 AM

It's already been done for vB3... ;)

Mr Blunt 04-06-2004 05:11 PM

Quote:

Originally Posted by Link14716
It's already been done for vB3... ;)

May I ask where??
I pulled all kinds of searches here over the last few months.
I'd love to see a more advanced version if there is one floating around.

JaNa 04-26-2004 04:49 PM

I wouldn't call this a "Major Addition" But it's useful.

/me Clicks install

XJeepguy 05-01-2004 11:27 PM

Hi

Seems all members can see this , where do u delete the usergroup that you do NOT want to see this ? Im looking around the .php file but wanna make sure I do this correct .

Thanks

XJ

Rambo 02-06-2005 05:28 PM

Hrm..

Anyone manage to get this working on Version 3.0.6? o_o


All times are GMT. The time now is 06:14 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.01524 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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