![]() |
Read my message above your last message. ;)
[high]* Boofo ducks![/high] |
Quote:
Quote:
|
Woah! that shouldn't be doing that. It works fine on my site. Set up a test account so I can log on and see the full stats.
|
User: Test Dummy
Pass: test |
I'm not sure what is going on with the percentages on your site. I am going to have to look at it further and figure out what to do. The code should work for bigger numbers the same as it does for smaller numbers.
You can go ahead and take out the code for percentages for now if you want until I can figure it out. It doesn't make sense why it isn't working, though. Apparently, the threads and posts being that big of a number must make the percentage code do something wierd. I'll let you know when I have something for you to test (since my baord is so small). ;) |
No problem, its still an excellent hack :D
It sure got my vote for HoTM :P |
Thank you, sir. ;)
And I WILL figure out what is going on and supply a fix for it, somehow. ;) |
What about excluding certain members from being in the stats? For example...I own the site, as such, I have significantly more posts and other stats, than my members. I prefer this to be something more for my members, and I wish to be excluded from showing up in the stats. How can I do that?
|
Quote:
Let me know what stats you want to be excluded from and I can give you the code to do it. ;) |
I don't get it. It removed the Who's Online area instead of the old stats area. Also, I get funky decimal percentages, and the name of the community doesn't appear. Just using the default, unhacked FORUMHOME template, the code you say to replace, does not exist. It is similar, but it is not exact.
You can login to see what I'm talking about here: www.onlinedebate.net/forums/ User: llama pass: llama Also, as far as excluding members...isn't there a way to go by userid? I'd just prefer to remove myself AND my forumbot from all possible stats. |
Ok, show me the default code for that area and I will see what I can do to fix it for you. I was using the code from RC3 so it may be different in vB 3 Gold.
Tne percentages seem to have problems with larger thread counts than I have on my board, for some reason. Take the percentage code out for now until I can figure out a way to fix it. Do you want to excluded from ALL stats or just certain ones? |
Ahhh...that's gotta be it. I assumed this was for vb3 GOLD.
Here is the code: PHP Code:
|
I had it right. You just accidentally replaced too much code. Replace this part of it with the stats hack:
HTML Code:
<tbody> |
That's what I DID replace. I gave you code before this part on purpose (I didn't replace all of that). I provided the additional "What's going on" part of the code.
|
Well, as you can see, this hack doesn't touch the Who's Online code at all, so you must have replaced too much of the code. ;)
Put the template back at the default (or the way it was BEFORE you installed this hack) and try it again with just the code replaced from above. See if that fixes your problem. Let me know. |
ok, I think I fixed that. ;)
What about excluding users from the stats? |
Ok, how did you fix it? Do I need to change the instructions again?
Also, like I said above, I need to know which stats you want to be excluded from. |
How about these:
Top Poster Top Thread Starter Top Reputation As far as fixing...I don't know...it was a copy/paste job. I reset to default, used an html editer so I could compare code, did what I thought I had done in the template system...but it seemed to be correct this time around. I didn't change any code. |
Top thread starter, use this instead of the query in the hack:
PHP Code:
PHP Code:
PHP Code:
NOT IN (1,2,3,4,5) ;) |
k, thanks. I'm waiting for it to update...we'll see if it worked. ;)
Also, what about the Title of the block? It says: "%1$s Statistics " |
Change this:
HTML Code:
$vbphrase[x_statistics] HTML Code:
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> |
Top Poster: Owen (4,782 Posts = 8,389.47%)
Top Thread Starter: SSJ3 Goten (214 Threads = 7,133.33%) Those percentages are a bit too precise for my taste, How do I limit it to 2 decimals? (http://vxforums.com) |
LOL I'm working on that. I haven't figured out how to do it yet. I will post it here the second I have it. Until then, just take out the percentage code in the template. ;)
|
nah, I'll just leave it, as long as I know it will be fixed. So I can tell my members that...
|
I'll get it fixed, somehow, or die trying, anyway. ;)
|
What dedication! Thats the spirit!
|
LOL I haven't ever had a piece of code beat me yet and I ain't about to let that happen now! ;)
|
There have been 33,184 visits to this page since January 1st, 2003.
Could you possibly release that as a hack or addon to this? |
That's a page counter that I've had (seems like) forever. I could probably add the code for that fairly easily. Once I get the percentages code figured out, I will look into getting that added for you. How does that sound, sir? ;)
|
Sounds great, I am a stats freak, in case you didnt figure that out yet ;)
|
Did you check out my forumdisplay stats hack yet?
Also, you DID vote this hack for hack of the month for March, right? ;) |
Do you guys get anything out of having your hack be the "hack of the month"? I never understood this.
Also, your change fixed the forum name error. ty ;) |
Quote:
As for hack of the month, its quite the achievement if out of all the hacks yours gets picked for hack of the month. |
a lot of queries though aint it - won tit bring the forum to a halt this ?
|
No, because the queries aren't hard on the server and they are quick. ;)
|
Quote:
|
Quote:
Well, yes and no. Usually it is a real honor to be voted hack of the month but since vB3 Gold just came out, there aren't as many hacks in the running right now so there isn't a lot to choose from. But it would still be nice to win. ;) |
Quote:
Instead of "since your list visit" it should say "since your last visit" :P |
I'll fix that, thank you for spotting it. ;)
|
I think we have come up with a fix for the percentage problem, but I need to have someone test it that has a large board. Try this and let me know if it fixes this one percentage. If it does, I will post the rest of the fix for this.
In Index.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 06:12 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:
|