Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Download System
jim7777 Offline
Junior Member
**
Posts: 41
Joined: Nov 2010
Post: #41
RE: Download System
1 last Smile

please help me with the htaccess xD
i can't remap it..
i try using another method which is this:

Code:
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domainname.com/ [nc]
RewriteRule .*.(gif|jpg|png)$ http://domainname.com/img/hotlink_f_o.png [nc]

replacing gif png blah blah to xtread file name
and i think there is something wrong. Do i need to use xthread.php/$ or xthread.php alone only? (sample name only: xthread.php Smile )

(This post was last modified: 11-20-2010 10:15 PM by jim7777.)
11-20-2010 10:14 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #42
RE: Download System
You need to look at the URLs.
Probably something like this:

Code:
RewriteRule .*/xthreads_attach\.php/.* http://domainname.com/img/hotlink_f_o.png [nc]


My Blog
11-21-2010 09:47 AM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #43
RE: Download System
I have problem when I put DisplayFormat code.

the error is 403 forbidden (see attachment)

but when I change/remove code that you gave,  there are no problem.

this is your code for File Upload (Custom Thred Field)

PHP Code:
<form action="{URL}" method="get">
<input type="submit" value="Download Now" />
</form>



Attached File(s) Thumbnail(s)
   
(This post was last modified: 12-26-2010 09:52 AM by kaixer.)
12-26-2010 09:51 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #44
RE: Download System
Not quite sure why that code can trigger the 403 page for you.
As an alternative, you can use an "usual" link.

(This post was last modified: 12-26-2010 10:20 AM by RateU.)
12-26-2010 10:20 AM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #45
RE: Download System
(12-26-2010 10:20 AM)RateU Wrote:  Not quite sure why that code can trigger the 403 page for you.
As an alternative, you can use an "usual" link.

you means HTML?
12-26-2010 10:24 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #46
RE: Download System
Yep.

12-26-2010 10:28 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #47
RE: Download System
I can't see the exact address from the screenshot.  My guess is a bad link.

My Blog
12-26-2010 10:50 PM
Find all posts by this user Quote this message in a reply
kaixer Offline
Junior Member
**
Posts: 41
Joined: Mar 2010
Post: #48
RE: Download System
I don't know what means with BAD link, but it happened again.

I installed mybb in other directory, but this time it will redirect to homepage. (differences between real homepage and redirect is Forum Icons)(See attachment)

I try in my localhost , it works great.

problem not only Download system, but also Articles Gallery, Product Reviews , garage.

Or if you want to try, I could give you demo admin account.


Attached File(s) Thumbnail(s)
   
(This post was last modified: 12-27-2010 11:57 AM by kaixer.)
12-27-2010 10:32 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #49
RE: Download System
Bad link = link to a bad address

Your screenshots conflict with each other (one is 403, other isn't).
You gotta figure out this one yourself unfortunately.

My Blog
12-28-2010 02:48 PM
Find all posts by this user Quote this message in a reply
Vapor Offline
Member
***
Posts: 115
Joined: Oct 2010
Post: #50
RE: Download System
Does this allow users to upload to downloads section or just the admin ?

D3G Gaming Team - http://d3g.in

[Image: vapor_sig.png]
01-06-2011 03:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: