vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Top 10 Thread Stats v1.0 (https://vborg.vbsupport.ru/showthread.php?t=44719)

wolfe 10-17-2002 10:00 PM

Top 10 Thread Stats v1.0
 
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

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

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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/showthrea...highlight=top5

Next time give credit

PHP Code:

// #######################################
// #
// # 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

Code:

$pop = $DB_site->query('SELECT title,threadid,postusername,lastpost,lastposter,views FROM thread ORDER BY lastpost DESC LIMIT 10');
and replace it with

Code:

$pop = $DB_site->query("SELECT replycount,title,threadid,lastpost,postusername,lastposter,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

Code:

AND forumid<>'XX'
after

Code:

AND forumid<>'XX'
hope it helps :D

wolfe 11-27-2002 10:47 PM

Quote:

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.


All times are GMT. The time now is 04:50 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
  • Page Generation 0.02059 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete