PDA


View Full Version : Help Porting "Top "X" stats" hack


jzewatsky
03-13-2005, 03:59 AM
I would like to include the "Top "X" Stats" hack http://www.vbulletin.org/forum/showthread.php?t=59609&page=1&pp=15&highlight=top+stats on my vBadvanced homepage. I've read every thread I could find, looked through the documentation for advanced, and am still having no luck.

What I've done:

Created four new templates

3 from the hack instructions
1 from the "add to forum home template" from the instructions

Created a new PHP file from the code that was supposed to go into index.php.

Results:
I can get the main template to load on the advanced page, but there is no data not contained in the template, with the exception of the number of stats in the title bar.

What am I missing?

The part of the origional hack that I'm really looking for is the "most recient posts".

I'm very new to PHP and VB so any help would be great!!

If your interested my site is http://www.ddrcn.org

Thanks!

Brian
03-13-2005, 10:59 AM
Can you post what you entered for each field when you added the module?

jzewatsky
03-13-2005, 12:40 PM
Title: Top Statistics

Files to Include: topstats.php

templates used: dv_portal_topstats, adv_portal_thread, adv_portal_poster, adv_portal_statsmember

Thanks for taking a look.
Is this what you were looking for Bryan?

Brian
03-13-2005, 12:42 PM
Yea, that looks ok... If you'd like to submit a support ticket I'll be glad to take a look and see if I can tell what the problem is.

jzewatsky
03-13-2005, 05:08 PM
Brian,

Thanks for your help. Somehow you just thinking about the issue made it resolve itself. Working great now! Please feel free to delete this thread if you wish.