News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Download System

Started by SMFHacks.com Team, October 31, 2007, 06:55:37 PM

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

RawDepth

Quote from: vbgamer45 on March 13, 2010, 11:33:50 AM
For RawDepth all files/data are saved when you uninstall.

When you upgrade uninstall lite first otherwise you will missing the "Download File" new permission that was added in additon to the view permission.

Other than that the system will automatically pickup all your downloads from Downloads Lite.

I am all done updating. You were right. Everything works great. Thanks for the help.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

RawDepth

Quote from: RawDepth on January 18, 2010, 10:03:55 AM
Thanks for the previous reply about the folders. One more question if you don't mind...

When viewing the download page with Internet Explorer (default curve theme) the menu buttons are off to the right. I am guessing I need to add a clear tag somewhere.

See the attachment.

Except this problem is still there. Go back one page and look at the attachment on post #1101.

I never did see a fix for this. Did I miss something?

vbgamer45

On all pages that have that menubar? And what version of internet explorer?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

RawDepth

Quote from: vbgamer45 on March 14, 2010, 08:30:32 PM
On all pages that have that menubar? And what version of internet explorer?

Didn't I already answer those questions? I'll take that to mean you don't know why it occurs. Oh well, no biggie.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

numus

So i am going to attempt to modify this program a little bit and could use some help (my php is rusty)...
The goal is to create a rss like list of the real url's for specific categories in the downloads modification...

The purpose behind this is I own and run a Samsung Android modification group (sdx-developers.com)
and we are trying to create a program that will list out download urls for a .zip file so you can easily download it right to your sdcard.. then in recovery mode you can patch the kernel by applying the zip file..

We already have everything working except wget can't resolve php redirects that download modification uses

We could use a standard list style interface and just scrap that but since we already use the download modification and have a nice listing and system going, it would be best to utilize this method....

numus

Thanks to Arantor for building the base that i built upon

<? header('Content-type: text/xml'); ?>
<rss version="2.0">
<channel>
<title>SDX-Developers Kernel RSS Feed</title>
<description>Feed of developed kernels</description>
<link>http://www.sdx-developers.com/</link>
<copyright>GNU GPL2</copyright>
<?
require('Settings.php');

$con = mysql_connect($db_server, $db_user, $db_passwd);
mysql_select_db($db_name);
$q="SELECT fileurl, title, id_cat, date FROM smf_down_file WHERE id_cat = 7 ORDER BY date DESC";
$doGet=mysql_query($q);
while ($result = mysql_fetch_assoc($doGet)){

?>
     <item>
        <title> <?=htmlentities(strip_tags($result['title'])); ?></title>
        <description> <?=htmlentities(strip_tags($result['fileurl'],'ENT_QUOTES'));?></description>
        <link><?=$result['fileurl'];?></link>
        <pubDate> <?=strftime( "%a, %d %b %Y %T %Z" , $result['date']); ?></pubDate>
     </item>
<? } ?>


</channel>
</rss>

That will create a rss feed for a specific cat_id if you want to publish that

dnuttall

Is it possible to have a SEARCH of title, description for the Downloads System?

TIA.

Dave Nuttall
San Antonio, TX

vbgamer45

I believe that should be built into the system there should be a search tab if not its in downloads pro.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Afro

How do you download the actual "download link" on the download page.
I mean the link people click to download files from my site

vbgamer45

You would right click the link to get the link of the item for a direct link
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Afro

Quote from: vbgamer45 on March 21, 2010, 05:50:03 PM
You would right click the link to get the link of the item for a direct link

Damn..

i was supposed to ask how i can underline and bold the link.
possibly colour it too..

vbgamer45

You would edit the downloads.template.php then use the <b> <u> tags to style the link
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Afro

thanks vb..

there are like a thousand "download" there.

which one ties to the download link ?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Afro


Element18592

Vbgamer could you tell me how exactly i would make it to where my users cant edit and delete categorys. Ive went through all the settings and permissions and cant seem to figure it out. I just want them to be able to upload and download. not really have access to the settings. Thanks for any help. Nice job on the system btw.

vbgamer45

Don't give them the Admin Downloads/Manage Downloads permission. Under Admin -> Permissions for each membergroup
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: