View Full Version : Stats Hack
ok, here it is alot of people seem to want this kind of stats hack do here it is.
Features:
-Different bar for members and visitors
-Admins avatar plus welcome message for logged out users on stats bar
-log in feature in visitors stats bar
-hide unwanted information from certain forums
-code updated
so there you have it:D
update:
10/28:fixed speeling errors
10/29:code error fixed
to hide unwanted info from certain forums go into index.php and edit these line
$pop = $DB_site->query("SELECT title,threadid,lastpost,lastposter,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 5");
---------------------------
$pop1 = $DB_site->query('SELECT title,threadid,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 1');
---------------------------
$pop2 = $DB_site->query("SELECT title,threadid,lastposter,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 1");
---------------------------
and make the X,Z and Z to the number of the forums you wish to hide
if you need to add more just PM me and i will ship you the code;)
hmmm forgot the file didnt i, well here you go
unreistered or not logged in
https://vborg.vbsupport.ru/
logged in
https://vborg.vbsupport.ru/
poff gone.. if you want it ask and i might be nice
Unknown553
10-28-2001, 11:27 PM
FYI: "surton" is properly spelled "certain" in English :)
rekcah2000a
10-29-2001, 03:42 PM
i tried your hack and i have an error Parse error: parse error in /index.php on line 69
can you help me
[Edit: Attachment deleted. You can't post vB files here. - Steve]
could you give me the link to the error so i can see what it is, by looking at the code all i cant see anything wrong with it exept you added the file attachment top 5.
Steve Machol
10-29-2001, 04:36 PM
rekcah2000a,
Please see the last line of my sig. Thanks.
Turk Master
10-29-2001, 08:57 PM
same here I get Parse error: parse error in /usr/home/a/n/animeforums/public_html/index.php on line 71 I tried everything and im 100% postive that this is installed correctly, what seems to be wrong also can I see a workign demo plz?
wow... really it worked for me, hmmm here is a link
http://www.animegathering.com/
could you send me the index.php file so i can take a look at it.. hmm
doea anyone eles have this problem?
kaizen
10-29-2001, 09:56 PM
"rekcah2000a" has posted a vbulletin file?
Is that allowed?
I have seen it be deleted in the past ?
Turk Master
10-29-2001, 10:02 PM
neo can u message me at Forgotten Turk on aol/aim anispirit@hotmail.com on msn icq or how should i send this?
Steve Machol
10-29-2001, 10:37 PM
[QUOTE]Originally posted by Kaizen
"rekcah2000a" has posted a vbulletin file?
Is that allowed?
I have seen it be deleted in the past ?
DarkReaper
10-29-2001, 10:54 PM
Screenshot? :)
hmm... screneshots.. i dont have a program to do that.. sorry
and if you need help with the error problem in index.php contact me on AIM
twilightstar0
DarkReaper
10-29-2001, 11:42 PM
Yea you do! Hit that print screen key and paste it into a photo editing program, even paint will do. Then save as a JPG
i hit it and it does not do anmything;)
DarkReaper
10-29-2001, 11:49 PM
Hit that print screen key and paste it into a photo editing program
well damn.. and i call myself a computer wiz:rolleyes:
SWFans.net
10-30-2001, 12:01 AM
Using the keys ALT and Print Screen together will get you a clipboard image of the active window as opposed to the entire desktop image that using only Print Screen will produce.
BradC
10-30-2001, 01:36 AM
So... at the top where it says Welcome Back... could ya not figure out how to include the user's name lol..
I did it for snyx..
you know what.. i didnt add code to make it say the users name, but i guess i will now since you brought it up:rolleyes:
Team36
10-30-2001, 02:15 AM
This hack was written by NanoEntity, it is not yours, you only modified it from the original.
Credits go to NanoEntity + U for moding it, not just you.
so i guess that would be you, but really i said i updated it and changed the code of it, so it could be his code but since it was used as a open source code and edited and is still open source it is everyones code;)
DarkReaper
10-30-2001, 02:28 AM
So why didn't you mention that? :rolleyes:
well i really dont want to debate about this , and if you look i didnt put any credit to anyone. so in all happy fun this hack is her cuz alot of people wanted it and i made a new version of it. so i hope you all enjoy.
Team36
10-30-2001, 02:34 AM
This hack was updated by me, now it supports mysql, in options you can enter forum ids you want to hide and it hides it!
Still its a nice mod from the original one!
but give credit next time! : )
really, well i got that code from someone eles. hmm but ok
Knoman
10-30-2001, 02:38 AM
Originally posted by Team36
but give credit next time! : )
i hear ya buddy...*in reponse to the other threads*
really sorry about that, no need to make me feel bad. :(
Knoman
10-30-2001, 04:42 AM
lol. it's cool now man. just make sure next time you post something that is not yours/partially yours, ask the creator first. :)
open source might be free, but the owners love being credited.
toLTcaboLT
11-14-2001, 01:01 PM
Where is attach ?
Aracnakat
11-19-2001, 12:03 AM
Drat, this looked like a good hack .. I think that the original poster removed it because folks were griefing him for not giving everyone credit :(
~Kat
Amasov
11-19-2001, 05:15 PM
*uuuhh --- eeehhrrghh*
What is this all about?
How may I install this hack on my forum?
<amasov-is-a-little-confused-because-he-don't-understand-how-to-use-it>
:confused:
I do regret myself for stupidity.. sorry.
Edit:
Okay, okay. I did'nt read the postings before. Shame on me. :D
Saiyan XL
03-05-2002, 03:40 AM
this hack, looks nice, But where is the attachements? and how can I uninstall the top 5 thread stats and Welcome.Panel, I think this hack is better than both of those, but I can only install it if you tell me how to remove those 2 hacks completely
Notice:(forgot once before) Credit for base of code goes to the man... NanoEntiry
Thanks for the compliment. I will repost the file here... and maybe update it tomorrow.... as for how to uninstall the other hacks.. unless I do it for you, look at the install instructions and just do everything in reverse.
Saiyan XL
03-05-2002, 07:16 PM
it created some damn tables in phpmyadmin, how the hell am I suppose to know which ones?
Webmasta XT
04-17-2002, 06:45 PM
ok, this thing doesn't update the New Threads thing, it has the threads that were there in the begining.. and they are still there, why doesn't it display any other threads????????
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.