News:

Wondering if this will always be free?  See why free is better.

Main Menu

Download System

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

Previous topic - Next topic

vbgamer45

Don't know u would have to search the file i don't remember.
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

daked

i might find that hard i just know how to replace or paste below or above a place,should i attach the download.template.php ?

arty5

My Facebook Id : 1245925771

Community Message Boards - Create a Free Sig Now


Community Message Boards - My Main Forum

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

Ned.net

Hi,

First of all thanks for that great mod, it's very useful to me :)

I get an error message each time I try to delete a download on my forum :


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 'AND approved = 1' at line 4
File: /home/html/somwhere/forum/Sources/Downloads.php
Line: 4486


In fact, first click does nothing, the download still seems to be there, so when I click to delete a 2nd time, I get the error message, but the deletion is effective.
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

improv

Is there a way to display the latest downloads in another page with a code? Including to show images?
Thanks!


vbgamer45

Quote from: ned.net on June 21, 2010, 03:57:14 AM
Hi,

First of all thanks for that great mod, it's very useful to me :)

I get an error message each time I try to delete a download on my forum :


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 'AND approved = 1' at line 4
File: /home/html/somwhere/forum/Sources/Downloads.php
Line: 4486


In fact, first click does nothing, the download still seems to be there, so when I click to delete a 2nd time, I get the error message, but the deletion is effective.
I couldn't recreate the first click doing nothing always deleted it.
I fixed the error if you have two windows open on the delete page and delete on one and try to delete on the second posted the new update
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

Ned.net

@vbgamer :

Thanks for having a look at my problem.

In fact, I suspect my server to have a refresh problem : if I click "delete" on a download, confirm the deletion, the displayed page afterwards still lists it.
- If I ask again for deletion, I can trigger the error I talked about.
- But If I reload my page, the deleted download isn't shown any more, and everything is ok.

Sorry for annoying you with this "not-a-bug", and thanks again for having taken time to answer  :)

I added the french translation in the present attachment ("downloads.xml" and "downloads2.xml" only contain the 3 <file> nodes concerned by language) If you find it interesting to add
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

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

Ned.net

with pleasure, it's the least I could do to thank you for letting us use your great mod :)
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

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

Ned.net

I surely do ! :)

I have a last question : when translating, I saw the $txt['permissionname_downloads_autoapprove'], but I can't find where in my admin interface it is used, though I'd like to enable the autoapprove feature.
I'm using SMF 1.1.11

TIA
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

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

Ned.net

of course, it was the only part where I didn't look  ;D
thanks a lot
no shame not knowing,
a lot not learning
------------------------
Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

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

Minor Bugfix
!Fixed issue with MySQL 5.5 since it no longer supports the Type for create tables uses Engine instead
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

daked

how can i add an html popup to the downloads page (before viewing a download)
like a floating message that should be read before viewing the download

something like
                                     
                                      Please Make Donations To Support US
                                     
QuotePayPal HTML CODE
Close Message

vbgamer45

You would need to be modify the downloads.template.php and include the code.
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

daked

i'm like a newbie coder so where exactly do i add the code and can you please post an html of the floating bar ? (as in where to put text,html,and the close message link)  :-\ :-\ :-\


Advertisement: