Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by GameZilla GameZilla is offline
Developer Last Online: Apr 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-10-2001 Last Update: Never Installs: 6
 
No support by the author.

This is a pretty coool hack that me and my friend made.
What is make people login or register to download a file from your site:

ex: http://www.youforum.com/download.php...d.com/file.zip

When you click that it wil send you tto a login page were you use your *** login info to download the file ot sign up. After you are logged in it will store cookies so you wont have to login.

WORKS WITH ALL vBulletin VERSIONS

I will have a working preview up soon!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-12-2001, 10:53 AM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't you store the path in the database and just use the id to download? Like download.php?id=2543
Reply With Quote
  #23  
Old 11-12-2001, 01:05 PM
SgtSling SgtSling is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would not work for me at all. i couldnt get past the login screen to download the file..
Reply With Quote
  #24  
Old 11-12-2001, 09:41 PM
Ruth Ruth is offline
 
Join Date: Oct 2001
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have 2 choices to correct this problem:

(1) put the files on a folder outside the web "not accessible unless you call it from the php file"

(2) Integrate D-Man from http://www.accountbiller.com with vB
Reply With Quote
  #25  
Old 11-12-2001, 10:59 PM
Justice's Avatar
Justice Justice is offline
 
Join Date: Oct 2001
Location: New Orleans
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GameCrash
Why don't you store the path in the database and just use the id to download? Like download.php?id=2543
can someone please pull this off?? Intergrating site file downloads with vB's user database would be a dream come true, if done properly!...especially if they could also be remotely hosted files
Reply With Quote
  #26  
Old 11-14-2001, 01:43 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Palmer ofShinra
Bah. It's so bloody easy to get around "no right clicking"
Its not that easy to get around it when the link is in a pop-up.
Reply With Quote
  #27  
Old 11-14-2001, 02:36 AM
Syphin Syphin is offline
 
Join Date: Oct 2001
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Goldfinger


Its not that easy to get around it when the link is in a pop-up.
Its still pretty easy... All you have to do, is get the url of the actual pop-up page..... witch can be done by viewing the source of the page that spawns the popup...


-Syphin
Reply With Quote
  #28  
Old 11-14-2001, 09:52 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Goldfinger
Its not that easy to get around it when the link is in a pop-up.
Reply With Quote
  #29  
Old 11-14-2001, 11:02 AM
kaizen kaizen is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly

It's very easy, all you need to do is click right button, then click enter, then click right button again real fast.

Justice, I have a picture of how the Admin CP will look like already.
You will be able to manage links from it, add links, remove links, and all you need to link to will be download.php?s=&fileid=x.
you can also just click the left button anywhere in the window and then press the menu key by the right ctrl button.

Easy as pie! because your not using the right mouse button at all - the protection doesnt even come into it.
Reply With Quote
  #30  
Old 11-14-2001, 12:35 PM
Syphin Syphin is offline
 
Join Date: Oct 2001
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
Justice, I have a picture of how the Admin CP will look like already.
You will be able to manage links from it, add links, remove links, and all you need to link to will be download.php?s=&fileid=x.

I wanan see... lol I might use this very soon if you release it...


-Syphin
Reply With Quote
  #31  
Old 11-22-2001, 05:42 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what you do to do it good. First off...why would you want to attach files...that slows down the database considerably if you have a lot of files and file sizes are big.

anyway.

Step 1

download your default style

Step 2

re-upload it as a new style and re-name it "Files"

Step 3

Now that you have a whole new set of templates, open up the "forum_display" template in the "Files" set and edit all the stuff out and put in html for a files page. Save it.

Step 4

create a new forum in your list of forums called "Files" and apply it (make it visible)

Step 5

go to the new forum link on your main forum page and right click on the link to that forum and save it to notepad or something.

Step 6

Now go back into "Forums and Moderators" and click "Modify" and edit the new forum "Files"....make it not appear now and be sure to edit permissions for the forum to allow or disallow whatever usergroup you feel right. You can even make it a private forum. Make the style be "Files" and make it "Overide users custom settings" and "Not user selectable"

Step 7

Make a link to the forum "Files" somewhere on your site. and now you have an integrated files page on your forum that utilizes the login process if you choose.

Now that you have integrated a files page in your forum you now need to get a file called "downloader.cgi" and it is an anti-leech script that stops any linking to files from anywhere that you do not specify. It is very easy to set up and works great and even promotes you to organize your files in a good manner.

you put the code on every link to a file and the script decides whether or not you have come from the right plcae and you can make it re-direct to a custom page if they have not.

Done.

This works very good for me but like it has already been said.....nothing will stop them from posting anything elsewhere....this only preserves you bandwidth and allows you do either make it private and decide who gets in and who doesn't or can be set just for members only.....all in how you set the permissions.

I am very new to php and this is an okay solution to integration issues until I get better and can make a custom php page that has all the "requires" and "else's" to be able to integrate without a whole nother set of templates.

anyway...this works great and can be used to integrate many other kinds of things into your forum.

Have fun
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:55 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.09407 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete