PDA

View Full Version : [product] Attachment stats on forumhome


ericgtr
03-11-2006, 10:00 PM
What it does:
Displays attachment statics on forumhome in a collapsable table. There is one file modification that must be done, I couldn't use the hook system for all of it but it's a minor change. See screenshot for an idea of how it looks.

Installation:
Should take only a minute. It's all in the readme as are the removal instructions.
Import the product-attachcount.xml
1 File edit (attachment.php)
1 Template modification (forumhome)

Please click install if you use it :)

bashy
03-12-2006, 05:07 PM
HI

This aint working...have done all the edits (twice actually)
Imported the product and nish, nito, nothing! :(
Please advise?

ericgtr
03-12-2006, 05:21 PM
HI

This aint working...have done all the edits (twice actually)
Imported the product and nish, nito, nothing! :(
Please advise?
Are you getting any errors? If so please post them. I just tested again on a fresh install (3.5.1) and didn't have any troubles.

bashy
03-12-2006, 05:30 PM
No errors...
Just not showing on forumhome :(

bashy
03-12-2006, 05:34 PM
Just noticed...Its working fine with IE 7b but not with FF :(

ericgtr
03-13-2006, 12:36 AM
It works fine for me in FF 1.5

Barakat
03-13-2006, 12:42 AM
i love it nice one ......

ericgtr
03-13-2006, 12:45 AM
i love it nice one ......
Thanks! Sure looks different on your board but I can still read the numbers ;)

b00k
03-14-2006, 09:35 PM
Thanks, great :)

Hornstar
03-15-2006, 07:26 PM
how many queries does this put on the forum page?

ericgtr
03-16-2006, 01:11 PM
It's going to add 3. However it's only on the forumhome, I haven't noticed a performance hit on my major site at all from it. I primarily wrote this becuse my board is geared towards attachments and I thought it would be handy for everyone to see.

DPSR
09-21-2006, 06:19 AM
Nice hack :)
ericgtr can you please guide me how to put these stats somewhere else like in header location??

Actually i am using a custom skin and want to add this in somehere in header :)

Thanks for your help ericgtr

ericgtr
09-23-2006, 03:27 AM
Basically, you can put the code in between the:
<!-- Begin Total Attachments -->

<!-- /End Total Attachments -->
anywhere you want. Say you want it at the top of your forums, you can just put it under $navbar for instance.

Rickie3
09-23-2006, 03:45 AM
wow brilliant this was exactly what ive been looking for *installed*

Red Spider
11-06-2007, 08:51 PM
Works on 3.6.8.

BTW, the phrase "Attachment Statistics" was missing ;)

Andy92
01-21-2008, 09:50 PM
Ok, ive got it working on vBulletin 3.7 Beta 4