PDA

View Full Version : [Release 2.0.3] Stats Hack


neogeniseva
Sun 28th Oct '01, 8:55pm
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

neogeniseva
Sun 28th Oct '01, 9:00pm
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;)

neogeniseva
Sun 28th Oct '01, 9:01pm
hmmm forgot the file didnt i, well here you go
unreistered or not logged in

http://www.animeutopia.com/unreg.gif
logged in
http://www.animeutopia.com/reg.gif

Unknown553
Sun 28th Oct '01, 9:27pm
FYI: "surton" is properly spelled "certain" in English :)

rekcah2000a
Mon 29th Oct '01, 1:42pm
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]

neogeniseva
Mon 29th Oct '01, 2:26pm
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
Mon 29th Oct '01, 2:36pm
rekcah2000a,

Please see the last line of my sig. Thanks.

Turk Master
Mon 29th Oct '01, 6:57pm
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?

neogeniseva
Mon 29th Oct '01, 7:51pm
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
Mon 29th Oct '01, 7:56pm
"rekcah2000a" has posted a vbulletin file?

Is that allowed?

I have seen it be deleted in the past ?

Turk Master
Mon 29th Oct '01, 8:02pm
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
Mon 29th Oct '01, 8:37pm
Originally posted by Kaizen
"rekcah2000a" has posted a vbulletin file?

Is that allowed?

I have seen it be deleted in the past ? Good catch! I missed this the first time around. I thought it was a file from this hack. Thanks!

DarkReaper
Mon 29th Oct '01, 8:54pm
Screenshot? :)

neogeniseva
Mon 29th Oct '01, 9:20pm
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
Mon 29th Oct '01, 9:42pm
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

neogeniseva
Mon 29th Oct '01, 9:45pm
i hit it and it does not do anmything;)

DarkReaper
Mon 29th Oct '01, 9:49pm
Hit that print screen key and paste it into a photo editing program

neogeniseva
Mon 29th Oct '01, 9:52pm
well damn.. and i call myself a computer wiz:rolleyes:

SWFans.net
Mon 29th Oct '01, 10:01pm
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
Mon 29th Oct '01, 11:36pm
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..

neogeniseva
Tue 30th Oct '01, 12:05am
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
Tue 30th Oct '01, 12:15am
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.

neogeniseva
Tue 30th Oct '01, 12:24am
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
Tue 30th Oct '01, 12:28am
So why didn't you mention that? :rolleyes:

neogeniseva
Tue 30th Oct '01, 12:34am
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
Tue 30th Oct '01, 12:34am
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! : )

neogeniseva
Tue 30th Oct '01, 12:37am
really, well i got that code from someone eles. hmm but ok

Knoman
Tue 30th Oct '01, 12:38am
Originally posted by Team36
but give credit next time! : )

i hear ya buddy...*in reponse to the other threads*

neogeniseva
Tue 30th Oct '01, 2:34am
really sorry about that, no need to make me feel bad. :(

Knoman
Tue 30th Oct '01, 2:42am
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.