PDA

View Full Version : Top 10 Thread Stats v1.0


wolfe
10-17-2002, 10:00 PM
Top 10 Thread Stats V1.0

Right here you got took me alot of time to figure it out but i have finnaly done it :D.

I have made this little hack :D called Top 10 Stats.

Features.

Top 10 Posters.

Displays the Top 10 new members.
Displays there posts.
Displays the Top 10 Posters.
Displays a option to find more/all posts by the user.
Displays there posts.

Top 10 Newest Members.

Displays the Top 10 new members.
Displays there posts.

Top 10 Threads

Displays how many replies the thread has
Displays top 10 newest replies.
Displays the Thread Starters Name.
Displays the Thread Replies Name.
Displays how many views it has.

Displays Most Popular Thread
And how many replies it has

Displays Most Rated Thread.
And how many votes it has.

Thats all for now i will be adding extra stuff in version 2.0

wolfe
10-18-2002, 12:22 PM
Main Layout

wolfe
10-18-2002, 12:23 PM
Search

wolfe
10-18-2002, 12:23 PM
Results

wolfe
10-18-2002, 12:24 PM
please note if you download and install please Click Here (https://vborg.vbsupport.ru/misc.php?s=&action=install&threadid=44719)

Tim Wheatley
10-18-2002, 12:30 PM
Where does it display? On it's own page?

wolfe
10-18-2002, 12:31 PM
what do you mean d00d on its own page

wolfe
10-18-2002, 12:33 PM
if you have this intalled

NewStatistikHack 1.2.1e English (https://vborg.vbsupport.ru/showthread.php?s=&threadid=41421&highlight=statistics )

you can change the Statistics link to go to that :D.

Tim Wheatley
10-18-2002, 12:36 PM
As in do these stats show on a page of their own, or do you show them on the forum index, usercp, where?

I don't want to install it if it shows on my main page and slows it down any, that's all. :)

TheSaint-AeD
10-18-2002, 12:36 PM
Guess he wants to know if it shows up in Forumhome or if you added a new executable .php-file where the Hack shows up, like showawards.php ie from Lesanes Awards-Hack.

wolfe
10-18-2002, 12:37 PM
Originally posted by Tim Wheatley
As in do these stats show on a page of their own, or do you show them on the forum index, usercp, where?

I don't want to install it if it shows on my main page and slows it down any, that's all. :)

will add it to v 2.0 d00d :D

Tim Wheatley
10-18-2002, 12:41 PM
Ok, thanks. :)

Mathiau
10-18-2002, 02:21 PM
sweet hack m8, shall have to try this one out :) - myself will be palcing it on forum home, - i assume that is possible :)

wolfe
10-18-2002, 02:46 PM
Originally posted by Mathiau
sweet hack m8, shall have to try this one out :) - myself will be palcing it on forum home, - i assume that is possible :)

yep d00d thats where you put it :D

Prince
10-18-2002, 07:53 PM
I cannot seem to open that rar file...could you post it as a zip please.

John
10-18-2002, 08:04 PM
Download WinRAR

wolfe
10-18-2002, 08:56 PM
Prince

http://www.rarlab.com/rar/wrar300.exe

Floris
10-18-2002, 10:43 PM
Originally posted by Tim Wheatley
Where does it display? On it's own page?

no

the install instructions say to edit the forumhome template, so it displays on index.php (the frontpage of your forum)

Mr_P
10-19-2002, 12:15 AM
works well added 6 queries once added.

Jadelit
10-19-2002, 03:11 AM
Shouldn't you give some of the credit to Nanoentity? Because you are using his old code and modified his old template. You also tried to achieve the effect of the real hack located at http://forums.gfxart.net/

I am not putting you down man, great hack and all.. but I think some credit should be displayed..

IllNation
10-19-2002, 09:30 AM
I don't think that's right, that we have to download another program to your computer, when you can just put up a zip file.

wolfe
10-19-2002, 10:16 AM
Originally posted by IllNation
I don't think that's right, that we have to download another program to your computer, when you can just put up a zip file.

ok will zip it up also i will give credit to Nanoentry but he said sorry no more support on this hack and i will not be releasing the new version so i did also mine is top 10 not 5

MultiSync
10-19-2002, 12:46 PM
Working great on my site:)

Mystic Gohan
10-20-2002, 01:05 AM
why did you rip my good friend NanoEntity's hack all you did is add 5 more things to each

Kinox
10-20-2002, 01:05 AM
No support yes, but you did take my coding, and top 10 can be really easly changed by changing the limit 5 to limit 10 in the query.

Jadelit, thank you for reporting this to me, still, its a nice mod to the original one...

https://vborg.vbsupport.ru/showthread.php?s=&threadid=32179&highlight=top5

Next time give credit


// #######################################
// #
// # COPYRIGHT NOTICE:
// #
// # ?Copyright 2002, HOLOLITH.COM(NanoEntity).
// # All Rights Reserved.
// #
// # Selling the code for this script
// # without prior written consent is
// # expressly forbidden. In all cases
// # copyright and header must remain intact.
// #
// #######################################

Mystic Gohan
10-20-2002, 01:06 AM
whoops Jadelit never saw your post and HOLOLITH was hosted on your sever nows its on mine!

wolfe
10-20-2002, 04:17 PM
like i said in post #22

also i will give credit to Nanoentry

ok

The Ghost
11-10-2002, 03:11 PM
hi,

if I move a thread, the stat display this thread 2 times :(

Look at my Screenie.

I can't explain why?!

wolfe
11-10-2002, 08:56 PM
d00d make sure you move it with out redirect not copy it

also update your counters
now

almightyone
11-18-2002, 06:38 PM
this is a bit different besides the being top 10 it has a few other things like the find posts by the usersname etc i mean wtf alot of hacks are made form other peoples hacks seems to many cry babies worry about petty things nice work on the hack and another thing if a person coding ahcks rars the file and the end user is to lazy to downlaod winrar then they ahve issues i mean winrar will do all file types i thought winzip did to but oh well laziness is sad ;)

Mathiau
11-22-2002, 06:59 AM
^^^^

not to mention winrar has far better compression and speed :)

WInzip is old and out of date now.

Mathiau
11-22-2002, 07:17 AM
OKay Question:


How easy would it to be to add other "top" list?

Lets say i want a "Top News reporter" and such? (possibly in a new table right below the 3 top stats already there.

i was trying to do it myself but just did not seem to come out right.......


P.S - Great job to BOTH guys who did this - the originator and the improved :)

GMeadows
11-25-2002, 06:06 AM
Is it possible to stop certain forums frmo being displayed in the "top 10 recent posts" box...i.e. posts to a hidden/moderator area.

Gary

wolfe
11-27-2002, 10:46 PM
tes like in the original one

in index.php find


$pop = $DB_site->query('SELECT title,threadid,postusername,lastpost,lastposter,vi ews FROM thread ORDER BY lastpost DESC LIMIT 10');


and replace it with


$pop = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,la stposter,views FROM
thread WHERE forumid<>'XX' AND forumid<>'XX' ORDER BY lastpost DESC LIMIT 10");


replace the XX with the forum id if the forum id is 1 number delete both X's and put the forum id number

and if you have more forums you want to add than whats there

add this


AND forumid<>'XX'


after


AND forumid<>'XX'


hope it helps :D

wolfe
11-27-2002, 10:47 PM
Originally posted by Mathiau
OKay Question:


How easy would it to be to add other "top" list?

Lets say i want a "Top News reporter" and such? (possibly in a new table right below the 3 top stats already there.

i was trying to do it myself but just did not seem to come out right.......


P.S - Great job to BOTH guys who did this - the originator and the improved :)


will look into it d00d :D

zahrani
12-12-2002, 06:19 PM
I wanted to make reated threads 5 instead of 1, so I changed
$rated = $DB_site->query('SELECT title,threadid,votenum FROM thread ORDER BY votenum DESC LIMIT 1');

to be:

$rated = $DB_site->query('SELECT title,threadid,votenum FROM thread ORDER BY votenum DESC LIMIT 5);

but all threads came in one line, not in 5 lines.

for example, I need it to be like this:

thread === user name === number of voting === thread rating



thanks

Kinox
12-13-2002, 01:34 AM
add <br>

$thread .= "$rated[title]<br>"; :P

Sebastian
12-17-2002, 01:06 AM
i like this hack, but i want people to see only threads/forums they have access to... for instance, i have moderators that have access to some forums and not others, while i also have admins that have access to all threads and some lower moderators with access to other forums.. so it would be cool for a user to only see threads/forums under their access level.

lifesourcerec
01-12-2003, 11:26 PM
How do I remove the "Displays how many replies the thread has". I removed $popreplycount from the template, but that only disabled the link. The [0] still shows up.

X-Fan
01-13-2003, 01:02 AM
Has anyone zipped this up yet? Or even easier, posted the install.txt as an attachment?

I've got WinRAR, but get an error when trying to extract the install file.

XrayHead
01-13-2003, 09:07 PM
INSTLLED, Thanks fo a cool hack.....

rY rY
01-15-2003, 07:29 AM
how to I edit the code so that the characters on the thread titles are limited to a certain amount so it doesnt throw the table off... check out my board.... "http://www.battleboards.com" its all out of wack

NanoEntity
01-15-2003, 08:13 AM
Look at this hack, this hack is basically modification to my version 1.

Here is version 2 if your intrested.
https://vborg.vbsupport.ru/showthread.php?s=&threadid=47428

Solice
02-02-2003, 06:31 AM
i get this whenever i open the rar file:

1 top10stats.rar: Unknown method in Top 10 Stats\install.txt
2 top10stats.rar: No files to extract

lifesourcerec
02-13-2003, 01:04 AM
Originally posted by Solice
i get this whenever i open the rar file:

1 top10stats.rar: Unknown method in Top 10 Stats\install.txt
2 top10stats.rar: No files to extract

you using winrar?

superman
03-13-2003, 12:38 AM
will this work with 2.3?

if not can you make an upgrade?

wolfe
03-13-2003, 01:21 AM
will try d00d depends if i got time sorry

superman
03-13-2003, 10:09 PM
aight, gimem a buzz if you get it done...

ckywang05 (aim)

msimplay
05-08-2003, 09:09 PM
hello i got the hack working and i checked everywhere however i can't seem to find the variable thats refered to in the templates
as and in the picture attached u'll see the empty []

$popreplycount is the variable that should be somewhere but it seems to be nowhere in the hack please help

ps i am using version 2.3 release candidate 3

Rapdis
05-27-2003, 06:22 PM
Yer, i need to remove these brakets, how can i do this?

Rapdis
05-29-2003, 01:28 PM
?

Rapdis
05-29-2003, 01:50 PM
Errrr

Thanks for the help, i fixed it myself

For those that need help:

Find in index.php:

$popthread .= "<i>[$poptop[replycount]]</i>&nbsp;<a href=showthread.php?s=$session[sessionhash]&threadid=$poptop[threadid]>$poptop[title]</a><br>";

And Remove:

<i>[$poptop[replycount]]</i>&nbsp;

The Result will be:

$popthread .= "<a href=showthread.php?s=$session[sessionhash]&threadid=$poptop[threadid]>$poptop[title]</a><br>";

And will remove those dredid brakets... :rambo:

Splitfyre
05-29-2003, 08:20 PM
What hack allows me to integrate Top 10 Threads for a non-VB page? Trying to include it on the front page of my site.

fino
08-09-2003, 12:56 PM
If id like to ad the $top10threadstats to a new page, lets say forum/top10.php.

What would the code be ?

wolfe
08-09-2003, 01:05 PM
put all the Top Ten stats info into a file called for E.G. top10.php and then load it in the files you want by adding

include_once('./top10.php');

to all the files you want it to show in but you still need to use the Varibles $xxxxx etc

to load the content

hope this helps

Khalid-B
04-19-2007, 11:17 PM
hello, the file is not open , can you cheak it plzzzzzz

fire2007
07-05-2007, 08:52 AM
any news on the 3.6.4 version?? looks really cool!