PDA

View Full Version : Top 5


Murder-HE
01-05-2002, 10:00 PM
Top 5 Posters
Top 5 Latests Threads
Top 5 Latest Posts

See attachment for example

Murder-HE
01-06-2002, 08:21 PM
Install Procedure above :

kermit
01-06-2002, 08:37 PM
This has allready been done?..

FWC
01-06-2002, 08:38 PM
Originally posted by kermit
This has allready been done?.. Yep, the code is identical to a very old hack.

Murder-HE
01-06-2002, 08:58 PM
Yeap .. I was looking for it but because it wasn't here (Or at least, I didn't find it) I posted here so you can have it.

A friend give it to me.

If the Mod's consider in removing this Post because the Hack isn't mine ok. I didn't make it on purpose, i wanted to share the hack .. nothing else :)

Kumaro
01-06-2002, 11:01 PM
If this thread does stay, then you should at least give credit to those who originally made the hack.

Very nice one though

TheComputerGuy
01-07-2002, 12:34 AM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=32179&highlight=top5" target="_blank">https://vborg.vbsupport.ru/showt...highlight=top5</a>

It wasnt created by this guy either, but the guy who made it was using an illegal board so they took it down

Murder-HE
01-07-2002, 12:38 AM
I would if i knew the name or nick of the guy, honestly, i would give him the totally of the credits. The fact is that a friend give me the procedure and I just paste it onto a .txt and attach it here.

Lesane
01-07-2002, 06:48 AM
Thnx for sharing it ;)

SirSteve
01-10-2002, 04:52 AM
The hack is pulling up the most rated thread and I have that set to not allow thread ratings so how can it count it?

FWC
01-10-2002, 05:24 AM
Originally posted by SirSteve
The hack is pulling up the most rated thread and I have that set to not allow thread ratings so how can it count it? Remove that query from the hack and remove the call for it from the template. It will then be gone.

SirSteve
01-10-2002, 02:36 PM
I like the feature... so it's either there or not. No fix for my problem other than removing it totally?

Shenlong
01-11-2002, 12:26 AM
Hi my forums are http://www.teleblaze.com/phpforums/ and as you see, the statistics bar isnt coming up correctly, I copied everything accordingly, plz tell me vat is wrong?

Erwin
01-11-2002, 04:09 AM
Any way of excluding the Admin from the Top 5 posters?

FWC
01-11-2002, 05:49 AM
Originally posted by Erwin Loh
Any way of excluding the Admin from the Top 5 posters? Add:

WHERE userid<>"X" after FROM user in the query. Make "X' the userid number of the person you want to exclude.

Erwin
01-11-2002, 10:35 AM
FWC - May I bow down before you and offer you my respect.

Thanks! That worked very well, and fixed my problem! :)

Shenlong
01-11-2002, 11:31 AM
Well I hope someone can fix my problem....... :mad:

FWC
01-11-2002, 08:48 PM
Originally posted by Erwin Loh
FWC - May I bow down before you and offer you my respect.

Thanks! That worked very well, and fixed my problem! :) Glad it worked. :)

Shenlong
01-11-2002, 10:33 PM
I still need my problem fixed

FWC
01-11-2002, 10:53 PM
Originally posted by Shenlong
I still need my problem fixed Attach your g_statistics template to a message and we can take a look at it.

sk187
01-12-2002, 05:46 AM
how can i put a border around the statistics

i love this hack but it doesnt look right on my page unless it has a white border. Is there a simple way to add a html border to the hack?

thanks in advance
sk

hi stan

kermit
01-12-2002, 08:29 AM
You mean like on my forum?..

Shenlong
01-12-2002, 05:03 PM
Originally posted by FWC
Attach your g_statistics template to a message and we can take a look at it.


u da man, hehe :)

anyway, heres my g_statistics template:

<!-- key -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td background="black" colspan="4">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<tr>
<td>
<B><normalfont><center>[Statistics]</center></normalfont></B></td>
</tr>
</table>
</td>
</tr>
<tr>
<TD bgcolor="{secondaltcolor}" width="20%" valign="top">
<smallfont>

<b>Top 5 Posters:</b>
<hr>

<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$posts5name</b></smallfont></td>
<td align="right"><smallfont><b>$posts5post</b></smallfont></td>
</tr>
</table>

</smallfont></td>

<TD bgcolor="{firstaltcolor}" width="20%" valign="top">
<smallfont>

<b>Top 5 Newest Members:</b>
<hr>

<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$username</b></smallfont></td>
<td align="right"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

</smallfont></td>

<TD bgcolor="{secondaltcolor}" width="20%" valign="top">
<smallfont>
<b>Top 5 Last Posters:</b><hr>

<table>
<tr>
<td width=30%><smallfont>Last Posters:</smallfont></td>
</tr>
<tr>
<td width=30%><smallfont><b>$poplastposter</b></smallfont></td>
</tr>
</table>
</smallfont></td>
</tr>
<tr>
<td bgcolor="{categorybackcolor}" colspan="4">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<tr>
<td bgcolor="{categorybackcolor}">
<smallfont>
Popular thread is <b>$pop1title</b> | <b>$pop1views</b> views. </smallfont></td>


<td bgcolor="{categorybackcolor}" align="right">
<smallfont>
Rated thread is <b>$ratedtitle</b> | <b>$ratedrating</b> votes.
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / key -->

FWC
01-12-2002, 06:06 PM
Change this:<!-- key -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td background="black" colspan="4">
<table cellpadding="1" cellspacing="0" border="0" width="100%"> to <!-- key -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="black" colspan="4">
<table cellpadding="1" cellspacing="0" border="0" width="100%"> and see if that helps. Make sure you aren't using black as the font color for [Statistics]. :)

Shenlong
01-12-2002, 06:42 PM
thank ya, works now, u kickass

FWC
01-12-2002, 07:00 PM
Originally posted by Shenlong
thank ya, works nowCool. :)

sk187
01-12-2002, 07:35 PM
It just needs a white border of any sort around the outside of the statistics table

Austin Dea
02-04-2002, 02:00 AM
erm....sorry to revive a very old thread...but I have a question...

On my comp, i see >>Austin but on my other admins, he sees...

http://www.razael-central.com/images/stats.jpg


anyone know why this is happening?

SirSteve
02-28-2002, 01:58 AM
What about adding Top 5 Referrals?

datatec
02-28-2002, 02:52 AM
thanks for sharing

mewgood
02-28-2002, 11:56 PM
Why it doesn't show up. I put this code already $top5threadstats

But it didn't show up..

Why??

SONOFSAM
03-25-2002, 12:59 AM
can someone intergrate top thread starters into this hack? i really like the table its in, and would love if it could be done!!

take a look at my forum to see how it looks now. table is at the bottom of my page.

www.clanrk.com/forums/upload

Ryan McBain
07-11-2002, 01:33 AM
anyway I can get rid of top newest members and put top 5 threads in its place??

brauner
08-01-2002, 02:27 PM
Database error in vBulletin 2.2.1:

Invalid SQL: SELECT username FROM user WHERE Resource id #17 ORDER BY MB DESC LIMIT 0,5 mysql error: You have an error in your SQL syntax near 'id #17 ORDER BY MB DESC LIMIT 0,5' at line 1

mysql error number: 1064


Ohhhhh wat that? :rolleyes:

Please Help

stark427
11-04-2002, 09:36 PM
hello all.

Could someone help me on something?

I want to install this hack, but I want it only to show the 5 most recent posts (replies) ... and the top 5 newest members.

and not the other statistics...

what should I remove and from where?

could someone help me on this?
I would appreciate it

thanx in advance