News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Attachments_Mod

Started by Grek.Kamchatka, February 13, 2006, 09:57:06 AM

Previous topic - Next topic

Grek.Kamchatka

Link to Mod

Allow to see, how much attachments was posted by user, it's total sizes and how much attachments was downloaded by user and it's total sizes. Work with RC2, default theme.


Aitsukai


Aitsukai

Okay, I tried it. Instead of how much bandwidth used on attachments, it displays how much bandwidth used in total.

diegolyanky

MAN ! ... At last, one very usefull MOD ! ... Thanks for your excelent job  ;)

I installed, but show only Mb. downloaded but files is always in " 0 "

I tried on my own account, and my download not appear, just the Mb. downloaded.

I use SMF 1.1RC2 with Default and Helios_multi themes. Error, is present on the two themes.

Can you help me ?


;) ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Grek.Kamchatka

I think it is because of thumbnails of attach images. With other attachs everything ok, but with images you have this trouble (Count up)

diegolyanky

Yes, but ... Counter of many users is in 70 Mb. ... 70 Mb. of thumbnails ? ... I don't think that ...

Maybe, the problem was my installation ...

Please, enter in my site and check it out ...

Regards !  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

diegolyanky

Hi Grek:

I checked the working of this mod and:

If I upload any files, the counter goes up ... Working FINE !

If I download a file like .jpg, .exe, .bmp counter of Files goes up ... But, if I download a .PDF file counter don't go up but the total size yes go up.

Why ?

It's a bug ?

Can I modify anything for work with .PDF files ?

Thanks !  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Grek.Kamchatka

Hi everyone. My new reliese please =)
Many, many bugs was fixed. Now it work fine.

P.S. Big thanks to diegolyanky for idea and Klyk for script helping.

diegolyanky

Quote from: Grek_Kamchatka on February 21, 2006, 03:31:08 AM

P.S. Big thanks to diegolyanky for idea ...


Thanks to YOU ... Not to me  ;)

But:

I was installed old version. I uninstalled, but tables from database was not deleted, so when I try to install new version appears many errors in tables database.

Can you tell me what tables from old Attachments mod must I DELETE manually into MyPhPAdmin ?

Then, I delete the tables what you say and I will install new version again.

Many many thanks for your job  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Grek.Kamchatka

Hm. What errors do you have? Database modification failed? It's everything ok, because you have this tables in database, but if you want...ok =)
Delete in _attachments Poster_ID field with all exist data, and if you have _downloaded_attachments, delete it to.

diegolyanky

#10
Ok ... Thanks Grek ...

Best Regards !!  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

diegolyanky

And, finally ... IT WORKS FINE !

Many thanks Grek ... Great job !  ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Pattie

#12
Hi,

I just tried to install the Attachments Mod 1.1 and received the following error twice.  It was already within the package, so I uploaded a new copy from SimpleMachines and still I receive the same installation failure errors.  What should / can I do to correct this and install the mod.

IMAGE REMOVED by MEDIMAN

Thank you,

Pattie

Grek.Kamchatka

Hm, let me see. What errors do you resieve?

Pattie

Hi,

Thank you for replying.  I attached a screen shot of the error (failure) in my original message, but perhaps you have images turned off.  Or I used the wrong word when saying error and should have said failure.  As you can probably tell, I'm a bit new to installing and configuring a forum.

I've typed in below what that screen shot shows.  Specifically, it shows a "Failure" with executing the modification for:

./Sources/Display.php
./Sources/Subs-Post.php
./Themes/default/Profile.template.php

I did not proceed with the installation after I saw three files failed to execute.

Text from Screen Shot below:

Package Manager - Install Actions

Install Actions for archive Attachments_Mod_ver.1.1.zip:

Installing this package will perform the following actions:

Type > Action > Description

1. Execute Modification > ./Sources/Profile.php > Success

2. Execute Modification > ./Sources/Display.php > Failure

3. Execute Modification > ./Sources/Subs-Post.php > Failure

4. Execute Modification > ./Themes/default/Profile.template.php > Failure

5. Execute Modification > ./Themes/default/languages/Profile.english.php > Success

6. Execute Code > db_change.php > (Blank area; Success or Failure are not shown)

Any help you can offer will be greatly appreciated!

Thanky you again,

Pattie

Grek.Kamchatka

#15
Do you used Attachments mod ver.1.0? Do you have another installed mod?

If you have any problem, write here your forum version and version of Attachments mod please.

Pattie

#16
Hi,

No, I do not use Attachments Mod ver. 1.0

I have only attempted to install the Mod: Attachments mod ver. 1.1

I only have one other Mod installed: Group Moderators ver. 1.3c

Thank you for your continued assistance :)

Pattie

Pattie

Hi,

I am sorry, my error.  This Mod is not compatible with SMF 1.0.6, which is the version I am using.

Thank you, -very- much for your time and assistance :)

Pattie

Grek.Kamchatka


Salamence

I get a error:

Unknown column 'Poster_ID' in 'where clause'
Fil: /home/2/f/forten/www/wow/Sources/Profile.php
Linje: 1221


can anyone help me?

Advertisement: