News:

Join the Facebook Fan Page.

Main Menu

Download System

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

Previous topic - Next topic

shaitanfr

Ok, I can give you an ftp access to a fresh Smf install and phpmyadmin with the Download Mod in 1.1.5 version. Or I can do all the test you want.

SoLoGHoST


SoLoGHoST

Ok, fully converted the Enhanced Downloads System AddOn to SMF 1.1.x.  You may download this Addon in the same spot.  The total package with both versions of SMF (2.0.x, and 1.1.x) are located here ==> Enhanced Downloads System AddOn for the Downloads System MOD.  Please note that I haven't tested this AddOn with any of the newer versions of this MOD.  Only tested it with version 1.1.5.1 and know that it works perfect with this version of the Downloads System MOD (1.1.5.1).  As You can see it working here => EDS on SMF 1.1.8 TEST SITE
If you'd like this AddOn to be incorporated with any newer version of the Downloads System MOD, please let me know.

SoLoGHoST

vbgamer45, While you may not feel a need to include my AddOn with your MOD, I highly recommend it.  As I have fixed the following problems with this MOD for SMF 2.0.x and SMF 1.1.x (by the way, your MOD works very well, and looks rather nicely in SMF 1.1.8, I can definitely tell that you've been coding for SMF for awhile :) Been only about 3 weeks for me ;)):

Problems FIXED for SMF 2.0.x with EDS AddOn installed:

1. SpellCheck not working for IE Browsers when Adding/Editing Downloads and Add/Editing Comments.  Fixed with my AddOn.

2. Empty Downloads would be created if a user would attempt to upload a file that the server was not setup, or able to handle files of that size, when it falls in between the filesize of that specified in the Downloads Configuration Settings.

Problem in both SMF 2.0.x and 1.1.x (FIXED with EDS AddOn installed):

3. If you have a Category set to display Added Downloads to an SMF Board, it creates a post when the download is added, however, if the user edits the download after this, the new info does not get updated in the post for that board.  Even further, if the user deletes that download, the post still remains in that board, giving false information, since the download doesn't exist anymore.  This is the case for both SMF 1.1.x and SMF 2.0.x, FIXED with the Enhanced Downloads System ADDON -  If download get deleted, it is also deleted from the post.  If download gets edited, then it is also updated in the post.

Please take my AddOn, as I debugged the hell out of it, so it should be perfect for both SMF 2.0.x and 1.1.x versions.  Take a look at it, and if it meets your standards, please use these files instead of the files you are using now, and just update these.  Ofcourse, it's your decision, I apologize if this post offends you.  I am just trying to lend a helping hand as best that I can.  I don't want anything from you in return.  I think your MOD has a lot of potential and was very glad to expose some of its potential in my AddOn.

Please respond either way, and know that I do not wish to take anything away from you, but just hope that I've helped you even a little bit with your MOD.  Just ask that I can also host it at Graphics Mayhem if that is not too much too ask.  Ofcourse just the FREE VERSION if that is ok with you.  Please consider this.

Thank You.

shaitanfr

Thank you a thousand times SoLoGHoST.  My English is too poor to tell you how what you did is great.  :D


SoLoGHoST


m1ss1nnocent

Hi, I am sorry if this has been covered before and I have missed it :/

Anyhoo, I have been using the downloads system for a long time with no issues whatsoever...however now I am unable to upload my files :(

I constantly get a time out etc. I am using SMF 1.1.8 and the donwloads sstem I have been using for ages is version 1.0.4

Do you think this is due to some changes with my hist rather than the package?

SoLoGHoST

vbgamer45 - just saw your newest version.  Probably not a good idea to have the adminIndex() function in the AddCategory/EditCategory/DeleteCategory functions, since if the Admin gives permissions for one of his users to have Admin Priviledges for the Downloads System, they will also inherit Admin Priviledges for the Forum as well  >:(

m1ss1nnocent - You should install the newest version of the Downloads System MOD.  Also, have you tried my EDS AddOn, please do, fixes some problems when uploading files via the Add Download link.  It's in my Sig.

Also, have tested my AddOn with Downloads System 1.2.1 and installs perfectly.  Though, vbgamer45's tiny portal updates, and any other updates after 1.1.5.1 are not currently in this AddOn.

scatman_mv

Hi there

Firstly thanks vbgamer for a great mod.
Once sorted my php issue it's been smooth sailing.

I do have a few requests, perhaps for the pro edition yet to come?

-Could there be something added for a box within Simple Portal, like latest download available?

-Also, would it be possible for guests to view that there are files there, and what files, but simply not be able to access them?

-Another thing I noted was I have categories with sub categories, and the files in my sub categories can pile up.
Instead of the prime category counting the number of files, could it count the number of sub cats, with a file count per sub cat?
I realise it would add more queries, and space to occupy, but it would make the system a bit more involved for the people downloading.

Apart from that, great mod, and I am getting good use out of it.

vbgamer45

Quote from: scatman_mv on April 27, 2009, 08:23:12 PM
Hi there

Firstly thanks vbgamer for a great mod.
Once sorted my php issue it's been smooth sailing.

I do have a few requests, perhaps for the pro edition yet to come?

-Could there be something added for a box within Simple Portal, like latest download available?

-Also, would it be possible for guests to view that there are files there, and what files, but simply not be able to access them?

-Another thing I noted was I have categories with sub categories, and the files in my sub categories can pile up.
Instead of the prime category counting the number of files, could it count the number of sub cats, with a file count per sub cat?
I realise it would add more queries, and space to occupy, but it would make the system a bit more involved for the people downloading.

Apart from that, great mod, and I am getting good use out of it.
I will see what I can do sounds like great requests
Early preview hopefully in the next couple of weeks http://www.smfhacks.com/storedemo/index.php?action=downloads
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

Marcus J

Quote from: vbgamer45 on April 25, 2009, 04:16:52 PM
New Update! Added an easy import tool from Tiny Portal Downloads!

1.2
+Added Tiny Portal Downloads Import Feature. Will import all downloads,categories,ratings from TP Downloads. Downloads Pro coming soon will also import the screenshots.




I can't put into words how awesome that is!

vbgamer45

Quote from: Marcus J on April 27, 2009, 10:57:09 PM
Quote from: vbgamer45 on April 25, 2009, 04:16:52 PM
New Update! Added an easy import tool from Tiny Portal Downloads!

1.2
+Added Tiny Portal Downloads Import Feature. Will import all downloads,categories,ratings from TP Downloads. Downloads Pro coming soon will also import the screenshots.




I can't put into words how awesome that is!
Glad you liked it.  Took a little bit of time but was worth it.
Quote from: SoLoGHoST on April 27, 2009, 05:08:37 PM
vbgamer45 - just saw your newest version.  Probably not a good idea to have the adminIndex() function in the AddCategory/EditCategory/DeleteCategory functions, since if the Admin gives permissions for one of his users to have Admin Priviledges for the Downloads System, they will also inherit Admin Priviledges for the Forum as well  >:(

m1ss1nnocent - You should install the newest version of the Downloads System MOD.  Also, have you tried my EDS AddOn, please do, fixes some problems when uploading files via the Add Download link.  It's in my Sig.

Also, have tested my AddOn with Downloads System 1.2.1 and installs perfectly.  Though, vbgamer45's tiny portal updates, and any other updates after 1.1.5.1 are not currently in this AddOn.
admindex is needed to show that it is selected in the admin section in SMF 1.1.x it does not give them admin permissions of the forum just access to the downloads admin section if they have access to it.
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

SoLoGHoST

Sounds good and all vbgamer45, but you do not have AddCategory, EditCategory, and/or DeleteCategory in the Administration section of SMF 1.1.x anywhere.  So why would adminIndex() function be needed here?  I have taken this out with my AddOn, and works just fine without it.  Nothings changed, cept for the box on the left in the pic below is not there as this does nothing anyways, and if I'm an Admin, I don't need to see the Admin Settings when Adding/Editing/Deleting Categories, as this is not even an Admin Setting in there, but I think I follow you with your train of thought on this tho.  IMO, If I want to see the Admin Settings, I'll just click on the Admin Menu Button.  I can see you using this function everywhere else you have it, but just don't understand why it is in AddCategory, EditCategory, and DeleteCategory since these functions are performed from within the Downloads Section, not located anywhere in the Admin Section.  I disagree with you on adminIndex() being needed in these specific functions.  I don't have it with my AddOn and it works just fine :)

Here is what the user see's:


So, you were right here, as my assumption was wrong.  For when the user clicks on either of these links on the left it just tells them that they do not have any rights in here.  I don't see any access to the Downloads Admin Section in here, sorry.  Tho, it is in here when clicking on the "Settings" link from the Downloads index.  Wouldn't it be better to not display this at all for AddCategory, EditCategory, and DeleteCategory??  Ofcourse, it's your MOD, do what you wish with it.  Sorry for the wrong accusation in the prior post and thanks for clearing that up. :)

scatman_mv

Hey vbgamer

Sorry, I did forget one more thing.

When you go to the list of items added from a user, it shows the files and file size, but not where they have been put (aka, in what category)
Could this also perhaps be added?

Thanks.

hartiberlin

Hi VBGamer  and ALL,
how do I best convert from SMF 1.1.8 with Tinyportal0.983
to SMF 2.0RC1 and PortaMX 0.957r2 with this DOWNLOAD SYSTEM ?

Do I first have to add the
DOWNLOAD SYSTEM to my SMF 1.1.8, so that this mod takes over
the Tinyportal downloads ?

Then disable Tinyportal0.983 and make an upgrade to SMF 2.0RC1 ?
(But this will also delete ALL MODS !)

So how do I do the conversion from
from SMF 1.1.8 / Tinyportal 0.983
to SMF 2.0RC1 / PortaMX 0.957r2 + Download System 1.2.1
the best way ?

There was no documentation or readme file  about the import
function in this new release....

Many thanks in advance.

Regards, Stefan.

hartiberlin

Okay, I could not wait and installed the Download System Mod now first on
my SMF 1.1.8 / TP 0.983 forum
and executed the Import Function that is in the
Admin panel.

Then the following error come sup:


Database Error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1,)' at line 1
File: /xxxxxx/xxxxx/xxxxx/overunity/Sources/Downloads.php
Line: 5545

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.10. The above error might possibly go away if you execute the latest version of upgrade.php.

INSERT INTO smf_down_rating (ID_MEMBER, ID_FILE, value) VALUES (, 1,)


So what should I do now ??

Please help.

Many thanks in advance.

hartiberlin

Hi,

I now upgraded my overunity.com
forum to
SMF2.0RC1 + PortaMX0.957r2 and
then installed Download System 1.2.1

and when I then try to import from Tinyportal,

it gives me the error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 6,)' at line 1
File: /xxxxxxxx/xxxxxxxx/yyyyyyyy/zzzzzzzzzz/overunity/Sources/Downloads2.php
Line: 5585

INSERT INTO smf_down_rating (ID_MEMBER, ID_FILE, value) VALUES (, 6,)

Hmm, are the Tinyportal downloads still now in the database ?

The problem is also in this moment, that I can not restore my SMF 1.1.8 database in this moment,
which I saved before the upgrade, cause my hoster has a limit on the database file to 100 Mbytes
and the overunity.com database is 266 Mbytes big...
Damn.

So what should I do now ?

I don´t want to put my forum live before I have not resolved this
Tinyportal import issue.

The download system page shows the former categories, but it does not import files,
only 1 file was imported during several tries...

Hmm,please can you help me ?

Many thanks in advance.

Regards, Stefan.


vbgamer45

Released an update
1.2.2
!Fixed support with mod_security
+Now storing the topic id of the post download topic and when deleting a download deletes the posted topic
!Fixed a case for importing from tiny portal if there is an empty rating it would error out
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

hartiberlin

Many thanks for the update,
can it just be overinstalled onto the old 1.2.1 version ?

Many thanks.

vbgamer45

Quote from: hartiberlin on April 29, 2009, 08:26:33 PM
Many thanks for the update,
can it just be overinstalled onto the old 1.2.1 version ?

Many thanks.
First uninstall the old version then install the new version

Then after installed deleted all the old categories from the downloads page that was already imported then after they are deleted run the import tool again.


The import tool will not delete the old entries from Tiny Portal or the old files in tiny portal since some people may want to go back or if the import was to fail for a reason people would be missing some data.
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: