![]() |
DM, Im going to try to repair the country detection as soon as I am able (time willing) perhaps the queen could hand down a edict of some sort should the miracle pass and I get time to do anything. :( I will *try* to look at it in the next day or so, as well as at least upgrading the instructions for 2.2.2 ...
|
There is something wrong with the top posters in this hack. Here is the top posters ever for my site using this hack:
http://www.theforumz.com/forumz/vbst...ion=topposters Now here is the top posters that is just part of 2.0.3: http://www.theforumz.com/forumz/memb...ers&perpage=15 Why isn't your hack doing it right? :confused: Also, how do I change the default font for this hack to something different? I would really like to show the top posters for the Last 24 Hours on the front page. Is there a varaible that gets that info? On the Members Referred page, I would like the reffered names small and aligned to the left, not centered. (Please help me with this one as it is really annoying) Also I have another hack installed that in the regular whos online it puts the letters PM behind their name and allows you to PM that person that way. On your hack when it shows the people online, on the first person farthest to the left it shows a PM behind their name, but nobody else. What gives? :( If you could help me with these problems, I would really really REALLY appreciate it. I love the hack so far, but I am having troubles customizing it and if somebody could help me I would greatly appreciate it. Thanks. :( |
Gutspiller, most of your customization can be done through the vbstats templates, just like every other part of vb. As far as the top posters, Im aware of the problem, just havent hit on a solution.
|
Quote:
|
I have been enjoying vbstats from day one. Yesterday I placed the following important code in my php include
ob_start(); require("/var/www/aboutus/textads/textad.php"); $textads = ob_get_contents(); ob_end_clean(); and vbstats stopped working with the following error: Warning: Supplied argument is not a valid MySQL result resource in /var/www/haitianforums/vbstats.php on line 555 No Database Selected The code that I placed is very useful and I need them both. Any idea why this will conflict with vbstats? Once I remove it, vbstats works. My entire php include looks like this: include("vbs_counter.php"); // start - get online users (hack by firefly) $datecut=time()-$cookietimeout; $headerguests=$DB_site->query_first("SELECT COUNT(*) AS count FROM session WHERE userid=0 AND lastactivity>$datecut"); $headerusers=$DB_site->query_first("SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>$datecut"); $headerguests=$headerguests[count]; $headerusers=$headerusers[count]; $headeronline=$headerguests+$headerusers; // end - get online users (hack by firefly) ob_start(); require("/var/www/aboutus/textads/textad.php"); $textads = ob_get_contents(); ob_end_clean(); |
Have you tried changing the order around? Put the vBStats include last and see what happens.
|
I tried reversing the order.
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 07:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|