View Full Version : Threads Started?
TripleH
09-15-2001, 10:20 AM
Hey everyone...
I would like to know if there is a hack for this.. I know that there is one that will put the info in your User Info..
I am wondering if there is a way that it can be put to the left of each post... Under the avatar by total posts..
Can someone do that?
Thanks
HHH
kvanque
09-15-2001, 11:19 AM
i saw that somewhere
TripleH
09-15-2001, 06:46 PM
I have saw it on another forum.. but I couldnt find the hack for it though...
HHH
Znaper
09-16-2001, 12:47 PM
<a href="http://www.vbulletin.com/forum/showthread.php?s=&threadid=12104&highlight=thread+started" target="_blank">Here</a> you can find the Hack!
TripleH
09-16-2001, 06:24 PM
I tried this one.. but it only shows it in the user info.. not beside your post..
Thanks anyways=)
HHH
Znaper
09-17-2001, 02:37 AM
Search for this into your showthread.php:
if ($post['receivepm'] and $enablepms==1) {
eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$post[pmlink] = "";
}
below this add follow code:
// Find out how many threads this user has started
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$post[userid]' AND open!='10'");
$starts = $startcount[starts];
if ($starts == ""):
$starts = "0";
endif;
// end Find threads
Now you can edit your postbit Template and you can use the $start variabel into your showthread.php.
TripleH
09-22-2001, 06:28 AM
you rock! Thanks so much!
HHH
yuppie
10-28-2001, 11:59 AM
Thnanks for your work,
but i want to see the started threads in memberlist?
anybody know how>?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.