![]() |
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 |
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.
|
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... |
Quote:
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.. |
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 |
Quote:
|
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? |
Quote:
|
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? |
Quote:
|
Quote:
|
I would like to say that to add this txt to the showthread becuase i have found that there was no space and divider. So here it is:
PHP Code:
|
This seems like a great hack to me I am close to installing it. Is there a chance that Usergroup Permissions can be applied to this in a new version?
I would like only certain Usergroups to be able to download threads and not everybody that is registered on my board. |
Quote:
Find: Quote:
Quote:
|
Cool! I gotta grab that hack now and install it later on.
|
Works with 2.2.8. Cheers. :D
|
Excellent hack, working flawlessly on 2.2.8. Just one thing though, you should add a space after the img code in the showthread template, so the Download this thread link isn't right next to the image :).
|
Logician, I hope you don't mind: http://www.vbulletintemplates.com/mo...&threadid=1845 :)
|
This looks awesome, but I have a quick question. In step 1 it says
Quote:
|
Quote:
|
Oh geesh thank you...guess I'm more tired than I thought..lol Thanks again!
|
Thanks Logician. Great hack you made m8.
|
Works like a charm! *installs*
|
I just installed this on 2.2.9 and I have a thread title with quotes in it. When I go to download the thread it shows it as the following:
Quote:
when the actual name of the thread is: Quote:
|
Thanks for this hack.
- Installs |
I noticed the same bug as Boofo did, when there is a html character in the thread title, it will screw up the file name, something somewhere needs to be unhtmlcharacter'd
|
N9ne, I found a fix for our problem. I tried it and it works on my end. Test it out and let me know if it fixes it for you. You have to change it in 3 places so the file will have the html characters in the thread title and any post title you have those characters in also.
Replace: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
|
Quote:
And thank you for not running to bail me out when I first ran into this problem and posted it in the thread here. I never would have figured it out myself, if you had given me the code. You forced me to learn something (as little as it was). :) |
Quote:
|
I'm sorry. I didn't mean for that to sound in a negative way. I meant that by you being busy, it helped me to force myself to try and figure it out on my own, which is always better for learning. Sorry, if it sounded like something else. :)
|
This is the Italian translate of the hack
Questa ? la traduzione in Italiano dell'Hack. Thanks to LOGICIAN to have I date the licence to translate this Hack :) . Grazie a LOGICIAN per aver dato il permesso di tradurre questo Hack. |
Excellent hack!
(thumbs up) |
You should ass Boofo's update to the hack :p ANyways this hack works great. Thanks!
|
Well, I love this hack it`s a great idea but the users where complaining about the different tags showing up in the downloaded messages, I added the following to remove them.. (don`t know if this is the best way of doing this, but it works and for the users that`s all that counts)
add: Code:
$dlt = $post[pagetext]; Code:
while ($post=$DB_site->fetch_array($post_db)) Code:
print ("\r\n$post[pagetext]\r\n\r\n"); Code:
print ("\r\n$dlt\r\n\r\n"); |
thx for sharing.. not the best way to handle it as bbcode can change from board to board but still very useful for boards which are in English language and using default bbcodes.
|
Yep, you where right.. actually, after I thought about this a little more I realised that if I stripped everything between the [ ]'s that`ll work too.. So I`ve updated the original post with a much simpilier way of doing this that should be more suitable for those not using standard bbcodes or english ones ;)
|
Quote:
|
Well the other code was more flexible for customization as it removed each code seperately, but I found it did add quite a bit to the creation time for the download page, doing it with less preg_replaces is quicker (at least in my tests)
And yes that code will remove EVERYTHING in [ ]'s BBCode or Otherwise, and I`ve made a point of adding a notice to the post pages informing all users that text in [ ]'s is stripped from the downloaded thread's so they shouldn`t be used... (not that they have ever been used for anything but bbcodes, but well now people know *g*) I`m really just a beginner and wanted something effective that would stop users from complaining, this worked and in my test the only ill effect is that URL`s are stripped so if a URL is posted in a thread it`ll just display the name that was used not the URL, and I haven`t quite found a workaround for that which looks okay.. I can get it to display: http://www.domain.com]Link Name but can`t replace that ] with a space or a : to make the layout nicer.. maybe a better answer will come as I continue to investigate the PHP stripping, trimming, replacing functions.. Thanks for your comments.. |
Cudnt get the hack to work, kept gettin sent bck to the same page, then realised i hadnt re-uploaded the php file **dumbass** works brilliant thanks a bunch :>
|
All times are GMT. The time now is 10:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|