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)
-   -   Download Thread (https://vborg.vbsupport.ru/showthread.php?t=40981)

alpha2503 09-20-2002 11:53 AM

hi folks...

i'm also using the IE6 and the board only opens a blank page if i click on the download link ! hopefully someone get's a solution for this :) !

greetz

chitown 09-20-2002 12:22 PM

hey alpha my problem was a call to a .php extension and i use .php3 extensions. when ever i add a hack i have to make sure that i change the extensions. I hope that may be your problem.

alpha2503 09-20-2002 07:25 PM

it isn't cause i only use the *.php extension... i run the board locally on a windows webserver but as i know the javascript variables and so on are given over on the browser or client side so this shouldn't be the fault...

i really checked the hacked code many many times, but there's nothing wrong with it :ermm:... it may be a problem of IE6 + service pack 1 which is included in the windows xp version with service pack 1 but i don't know...

Logician 09-20-2002 08:27 PM

Quote:

Originally posted by alpha2503
i run the board locally on a windows webserver but as i know the javascript variables and so on are given over on the browser or client side so this shouldn't be the fault...

i really checked the hacked code many many times, but there's nothing wrong with it :ermm:... it may be a problem of IE6 + service pack 1 which is included in the windows xp version with service pack 1 but i don't know...

Some thoughts:
1- It does not matter for the hack whether you are in Windows or unix. My board is on unix server while my localhost is on Windows and the hack works well on both servers..

2- Your post gave me the impression that your problem is related to your file type associations or your browser. Here are some steps to find out:
a) Try to right click on Download Thread Link and choose "Save Target As" from the menu, does it download now?
b) Try to use different browsers like Netscape, Opera or Mozzilla, does it work?
c) Is it only you who have the problem? Can your users download without problems?
d) Cant you download from other boards' download thread link either? Say, try here:
http://www.bimmervibe.com/phorum/sho...=&threadid=415

If your answer is YES for either of above, it means the problem is not related to the hack but your file type settings/browser.

What can be your problem then? When you download a program with .xxx extension for the first time, Windows asks you what to do: Open it or Save it. And there is a small box there, Always ask before opening this type of file". If you accidently clear that for ".txt" files and choose to "OPEN" it once, then your IE will be associated with txt files and whenever you click one, IE will automatically open it, instead of save it (or ask what to do). If this is your problem you have to cancel .txt file associations with your IE. To do this either choose a .txt file SHIFT-Right mouse Click/Open With and choose notepad or My computer/View/Tools/Folder Options/File Types and cancel IE's relation with txt files..

I hope this will help..

alpha2503 09-20-2002 08:35 PM

hi logician !

a) it will download the showthread.htm
b) this ++++in' nutscrape and the other ones have all the same problem
c) i don't like other users on my local pc :D
d) it work's on this board so i think it's the hack itself

if you're good in php i can send you the files which are involved in this hack so that you can look at them, but i think i'm not bad in this by myself so that you wouldn't find any errors ;) but if you want you can try :)

greetz

Logician 09-20-2002 09:04 PM

Quote:

Originally posted by alpha2503
if you're good in php i can send you the files which are involved in this hack so that you can look at them, but i think i'm not bad in this by myself so that you wouldn't find any errors ;) but if you want you can try :)

If it would help, yes I could check by myself but I believe it wouldnt. The hack is very simple with 1 step only and since you are not a newbie it's certain that you didnt apply the code incorrectly. My checking it would not do any good, since the same code already works in my system. Your problem should be related to PHP/Server settings or maybe the server program itself. (BTW. are you using Apache?) May I suggest applying the hack to your real board? If its your local host settings that cause the problem, the hack should work in your real board. There are hundreds of users installed the hack and using it without any problems anyway..

marocnl 10-12-2002 07:48 PM

Hi there!

This is a great hack, but i just have one problem. When i try to download a thread it sends me to the nopermission_error template. I'm an Admin. How the hell is that possible?;)

this is what checks the perms:

// Check Permissions so that a smartass wouldnt download a thread he doesnt allowed to see
$getperms=getpermissions($thread['forumid'],-1,-1,$forum['parentlist']);
if (!$getperms['canview'] or !$thread['visible'])
{show_nopermission();}
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0))
{show_nopermission();}

What is going wrong here?

Logician 10-13-2002 08:40 AM

Quote:

Originally posted by marocnl
Hi there!

This is a great hack, but i just have one problem. When i try to download a thread it sends me to the nopermission_error template. I'm an Admin. How the hell is that possible?;)

Can you please apply this (as STEP 2) and tell me if your problem is cured? Thanks..

marocnl 10-13-2002 09:07 AM

Works great. Thnx man! :knockedout:

One question which has nothing to do with ur hack. :)

Does the amount of tables in a (MySql) database has any effect on the speed of that database?

Logician 10-13-2002 09:31 AM

Quote:

Originally posted by marocnl
One question which has nothing to do with ur hack. :)
Does the amount of tables in a (MySql) database has any effect on the speed of that database?

The answer is no for you.. If you are asking for a bank database or smt., I keep my right to change the answer.. ;)


All times are GMT. The time now is 02:03 PM.

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.01007 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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