Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Download System
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #151
RE: Download System
(11-21-2012 06:00 PM)Sama34 Wrote:  xThreads attachments can be downloaded by everyone. The following attempts to do what you are asking for, but as you can read, it is not 100% effective.
http://mybbhacks.zingaburga.com/showthread.php?tid=1376
Hiding the link and randomising it, is pretty much 100% effective.
The above is a bit different in that it allows you to actually give out a 'permalink' to a file.

My Blog
11-21-2012 07:01 PM
Find all posts by this user Quote this message in a reply
WINBOY Offline
Member
***
Posts: 71
Joined: Nov 2012
Post: #152
RE: Download System
thanks yumi...
11-22-2012 12:20 AM
Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #153
RE: Download System
Hope RateU doesn't mind me sharing this, but I have a simple modification that enables a Moderator to mark a download as "Featured". I use the term "Plugin" for "Download" in this example, and you need to change the fid in the filter.

1. Create New Thread Field.
Name: Featured
Key: featured
Applicable Forums: (Choose your Downloads forum)
Hide Thread Field: Tick both options
Input Field Type: Listbox
Editable By/Required Field: Administrators
Values List:
Quote:No
Yes
Field Input Height: 1
Display Format:

PHP Code:
<span title="This Plugin has been chosen as a featured download. This means that it is one of the best Plugins available on our site."><a href="forumdisplay.php?fid=15&filtertf_featured=Yes">(Featured Plugin)</a></span>

Remember to change the fid and the term "Plugins".
Filtering Mode: Exact Match

2. Create New Custom Moderation Tool
Name: Mark as Featured
Description: Mark this Plugin as a Featured Plugin
Available in Forums: Select Forums > (Our Download Forum)
Modify Custom Thread Fields: featured=Yes

3. Template Edits
Open up dld_forumdisplay_threadlist Add {$GLOBALS['threadfields']['featured']} to it where you want this to display. I prefer this:

PHP Code:
<div class="author smalltext">{$lang->author}: {$thread['profilelink']} {$GLOBALS['threadfields']['featured']}</div>


There you have it, you now have a functioning Featured System. If you want to be able to unmark a download as Featured, create a new Moderation Tool that sets featured to No.

01-09-2013 08:13 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #154
RE: Download System
Can't you stick threads?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
01-09-2013 01:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #155
RE: Download System
I guess so, but the way I have my Downloads system set up, it's not very easy to tell Stuck threads apart. I guess it's just personal preference - most full fledged downloads systems I've used - and not just simple ones, but ones that took either xThreads or extensive PHP knowledge to create - have this sort of feature installed.
01-09-2013 05:27 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #156
RE: Download System
I had something similar to this in the early days of leefish but I took it out as I don't like the featuring concept Biggrin


[Image: leelink.gif]
MYBB1.6 & XThreads
01-10-2013 01:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sohil876 Offline
Junior Member
**
Posts: 2
Joined: Feb 2013
Post: #157
RE: Download System
Thanks bro, this is awesome just the thing i wanted. But, i dont want fupload and fscr to have upload via url functionality so how can i remove upload via url?
(This post was last modified: 02-14-2013 09:23 AM by ZiNgA BuRgA.)
02-13-2013 07:49 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #158
RE: Download System
(02-13-2013 07:49 PM)Sohil876 Wrote:  how can i remove upload via url?

Edit MYBB_ROOT/cache/xthreads.php file.
Find this code:

PHP Code:
define('XTHREADS_ALLOW_URL_FETCH', true);

Change it to:

PHP Code:
define('XTHREADS_ALLOW_URL_FETCH', false);


02-14-2013 01:40 AM
Find all posts by this user Quote this message in a reply
Sohil876 Offline
Junior Member
**
Posts: 2
Joined: Feb 2013
Post: #159
RE: Download System
Thanks bro, that did it Smile
02-14-2013 07:14 PM
Find all posts by this user Quote this message in a reply
Mantis Offline
Junior Member
**
Posts: 4
Joined: Mar 2013
Post: #160
RE: Download System
Could anybody update this to work with Newpoints and give it the correct security to prohibit anybody with the specified Newpoints for each download to download the file? This is very important to me for my new forum and I'm willing to donate a bit if somebody can do it. Someone made a download system for me once before but unfortunately it worked rather primitively and with attachments, which only worked for files up to a certain size, despite specifying a higher upload size in PHP.

Thanks.
03-02-2013 09:24 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: