PDA

View Full Version : display total Threads and replays


illogicalx
01-19-2002, 10:00 PM
I got the idea for this hack from bira’s hack
This hack displays the total Threads and replays for each user .

illogicalx
01-19-2002, 10:30 PM
screenshot

Shenlong
01-19-2002, 10:42 PM
Parse error: parse error in /usr/home/teleblaze/public_html/phpforums/admin/functions.php on line 1508

Fatal error: Call to undefined function: vbdate() in /usr/home/teleblaze/public_html/phpforums/admin/sessions.php on line 361

Line 1508: if (!is_array($frmjmpsel)) {

whats wrong?

illogicalx
01-19-2002, 10:45 PM
Originally posted by Shenlong
Parse error: parse error in /usr/home/teleblaze/public_html/phpforums/admin/functions.php on line 1508

Fatal error: Call to undefined function: vbdate() in /usr/home/teleblaze/public_html/phpforums/admin/sessions.php on line 361

Line 1508: if (!is_array($frmjmpsel)) {

whats wrong?


after :
function getpostbit($post) {

add
global $DB_site;

it's updated

Shenlong
01-19-2002, 10:54 PM
spectacular! 2nd hack ive installed from u today and its working great, thanx so much! I really enjoy it!

This DOES work 100% with vbb 2.2.1, tested and approved by me. Again a very simple and easy hack to deploy and install yet does an effective task!

thanx illogical!

always happy to go thru a little problem to make a hack better! keep em comin illogical!

illogicalx
01-19-2002, 10:57 PM
Originally posted by Shenlong
spectacular! 2nd hack ive installed from u today and its working great, thanx so much! I really enjoy it!

This DOES work 100% with vbb 2.2.1, tested and approved by me. Again a very simple and easy hack to deploy and install yet does an effective task!

thanx illogical!

always happy to go thru a little problem to make a hack better! keep em comin illogical!

LoL
thanks my hacks Supporter :)

ther is one more but i'm testing first :)

Lucky
01-19-2002, 11:39 PM
Great work buddy!

illogicalx
01-19-2002, 11:51 PM
Originally posted by Lucky
Great work buddy!

thanks
:supwink:

Admin
01-20-2002, 05:57 AM
Just like in this hack:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34278
You are adding a query inside a loop. So, for example, if you have a thread with 40 posts on it, you are adding 80 (40 times 2) queries to it = slows down the page a lot.

illogicalx
01-20-2002, 06:13 AM
Originally posted by FireFly
Just like in this hack:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34278
You are adding a query inside a loop. So, for example, if you have a thread with 40 posts on it, you are adding 80 (40 times 2) queries to it = slows down the page a lot.

hmmmm so ;)
more clear information + lettel slow = fine :D

thanks Chen :D

who is man ========> :frus:

ExcErr
03-10-2002, 10:26 AM
it's possible to show this stats in profile?

Jawelin
03-10-2002, 10:55 AM
Originally posted by FireFly
Just like in this hack:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=34278
You are adding a query inside a loop. So, for example, if you have a thread with 40 posts on it, you are adding 80 (40 times 2) queries to it = slows down the page a lot.

What about adding a couple of columns to user table updating that values each time the user logs in ? (or when the post number is updated ? )

Bye

wolfe
03-12-2002, 05:00 PM
m8 it don't work i am using VBB 2.2.0

i get this

Threads Started:
Repies Posted:

it is blank

wolfe
07-22-2002, 10:39 PM
updated to VBB 2.2.4 still not working someone please help me out :D

inetd
07-23-2002, 02:06 AM
this hack work with vb 2.2.6?

Chris M
07-23-2002, 08:18 AM
Dunno...

I'll let you know if it does...

Satan

Brianna
09-24-2002, 02:07 PM
Great hack! But I'd prefer to have something that updates everytime a new thread is made just like post count is to avoid all the queries that FireFly pointed out... :/

Also, what do you mean by "replays"??? :bunny:

BigJohnson
12-10-2002, 09:16 AM
Originally posted by ExcErr
it's possible to show this stats in profile?

Can someone please post what code we should add to the member.php file so we can have this information in the persons profile. Can someone please help. Thanks.

illogicalx
12-10-2002, 12:44 PM
hi all

ok i'll make it in a new Releas

regards

illogicalx

BigJohnson
12-10-2002, 07:56 PM
Originally posted by illogicalx
hi all

ok i'll make it in a new Releas

regards

illogicalx

Awesome. I will be waiting for this one. Can't wait. Your the greatest man.