View Full Version : [product] Attachment stats on forumhome
ericgtr
12 Mar 2006, 18:04
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 :)
HI
This aint working...have done all the edits (twice actually)
Imported the product and nish, nito, nothing! :(
Please advise?
ericgtr
12 Mar 2006, 19:21
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.
No errors...
Just not showing on forumhome :(
Just noticed...Its working fine with IE 7b but not with FF :(
ericgtr
13 Mar 2006, 02:36
It works fine for me in FF 1.5
Barakat
13 Mar 2006, 02:42
i love it nice one ......
ericgtr
13 Mar 2006, 02:45
i love it nice one ......
Thanks! Sure looks different on your board but I can still read the numbers ;)
Hornstar
15 Mar 2006, 21:26
how many queries does this put on the forum page?
ericgtr
16 Mar 2006, 15:11
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.
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
23 Sep 2006, 05:27
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
23 Sep 2006, 05:45
wow brilliant this was exactly what ive been looking for *installed*
Red Spider
06 Nov 2007, 22:51
Works on 3.6.8.
BTW, the phrase "Attachment Statistics" was missing ;)
Ok, ive got it working on vBulletin 3.7 Beta 4
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.