Log in

View Full Version : Profile Adjustment


Cell Block
07-05-2002, 08:02 PM
How would i be able to track how many threads the user has started and show this information in the members profile

g-force2k2
07-05-2002, 08:09 PM
not sure if there is a hack for it... but you'd have to probably make a few file alterations if you wanted to acquire this effect... i could try something if it already hasn't been done?

g-force2k2

Cell Block
07-05-2002, 08:11 PM
I haven't found anything for this apart from the Top Thread Starter thats all

yea please do this thanks

g-force2k2
07-05-2002, 08:31 PM
Okay i'll go check into it now ;)

g-force2k2

g-force2k2
07-05-2002, 08:52 PM
Step 1 -

[ Query to Run ]

ALTER TABLE user ADD threads int(10) NOT NULL DEFAULT '0'

Step 2 -

[ newthread.php ]

Find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"post=post+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

replace it with:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."', threads=threads+1 WHERE userid='$bbuserinfo[userid]'");

Step 3

[ Template Edit ]

open postbit template

find:

$post[posts]

after it add:

<br>Thread Count: $post[threads]

It isn't a perfect thing but it should get what you wanted ;) to an extent :)

g-force2k2