News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Download System

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

Previous topic - Next topic

vbgamer45

themes/default/languages/modifications.english.php
and
themes/default/languages/downloads.english.php
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

ls-agro

Quote from: vbgamer45 on August 25, 2010, 04:59:05 PM
themes/default/languages/modifications.english.php
and
themes/default/languages/downloads.english.php

Thanks  ;)

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

ls-agro

Hi again

I made the changes to the files regarding the language, but the changes only appears when im using the standard core theme, if I use another theme everything is back to normal english format.

Is there by any change a way to edit this, so it would work with other themes as well ?

 

vbgamer45

If SMF 2.0 clear cache under forum maintenance.

Check your other themes langauges folder too
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

ls-agro

Quote from: vbgamer45 on August 25, 2010, 06:22:49 PM
If SMF 2.0 clear cache under forum maintenance.

Check your other themes langauges folder too

Thanks again for this quick answer  ;)

Changes works now.

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

Storm3y

Does anyone know how I can add more download URLS for one file. See we have 3 servers hosting files and I'd like to add a various different links / mirrors.

Ta

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


vbgamer45

Would require some major work to add would need another database table to store files/links
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

Storm3y

Ok cheers. How hard would it be to move the 'Download' links from the top into the description? Since I could just add a link myself in the description and keep the original one below that.

ls-agro

Well, I have 2 questions now.

1. I would like to remowe the "Upload File" option from the Add download sektion, cause I only need the "Upload URL" option on my forum

If im correct, I have to edit the Downloads.template.php file, but could anyone tell me exactly wath I have to edit or remowe ?


2. In the download sektion the 4 newest downloads are shown, is there anyway that the amount of the newest downloads shown, can be changed ?



vbgamer45

1. Yes it is Downloads.template.php

2. It is hardcoded at the moment to 4 check Downloads.php file and MainPageBlocks function I think
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

Dave009

Hi vbgamer i would like to ask i have searched most files but i am having a problem i have the main site witch i would like to keep the same but i would like to be able to have the downloads page
NOT parse the global template_above and template_below do u know how i could do this.
Thanks
Dave

vbgamer45

I am not sure how that would work since the above and below contain the main html for the forum and you would just be left with the tables for the downloads system.
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

Dave009

Quote from: vbgamer45 on August 30, 2010, 09:59:40 AM
I am not sure how that would work since the above and below contain the main html for the forum and you would just be left with the tables for the downloads system.

Thats what i would like plan to use in lightbox so user do not need to leave front page 6400+ members and counting lol

vbgamer45

You could do giant if/else in the main template_above beleow if $_REQUEST['action'] == 'downloads' do this if not do that.
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

Dave009

so your saying do a request like if anypage but downloads else nothing lol

i will give it a go hope its works lol

Dave009

Quote from: vbgamer45 on August 30, 2010, 10:18:48 AM
You could do giant if/else in the main template_above below if $_REQUEST['action'] == 'downloads' do this if not do that.

Looks like your a giant help lol
the giant if else works perfect don't know why i didn't think of it lol Thanks vbgamer  when the modification is complete i will send you some pics

Thank You very much
Dave

Advertisement: