entonces ve ha functions_post.php y busca
y agrega $tid a esta despues de $postcounter separado por (,)
quedaría así:
ahora busca
agrega antes
y ahora puedes ponerlo en el postbit usando la variable $subnum cualquier otra cosa a visa.
Recordad borrar lo de showthread.php y el del showthread template.
Código PHP:
global $db, $altbg, $theme, $mybb, $postcounter;
quedaría así:
Código PHP:
global $db, $altbg, $theme, $mybb, $postcounter, $tid;
ahora busca
Código PHP:
//get the usergroup
agrega antes
Código PHP:
//get the number subscriptions
if($tid){
$subnum = $db->fetch_field($db->simple_select("threadsubscriptions", "COUNT(tid) AS subnum", "tid='".$tid."'"),"subnum");
}
y ahora puedes ponerlo en el postbit usando la variable $subnum cualquier otra cosa a visa.
Recordad borrar lo de showthread.php y el del showthread template.
Última modificación: 3 Sep, 2011, 6:30 am por ermarco.