Compliments on a nice hack.
I have a slight problem. The nick of my test commenter shows as black and not clickable.
### EDIT####
This has affected my other postbit as well, so it?s kinda critical. It?s a nice hack and I would not want to uninstall...
##########
Secondly, the add reputation button doesn't show for this second comment either.
See a sample here:
http://www.soundchilds.net/loud_loun...ead.php?t=2029
(Board not live yet)
My third problem is not so much of a problem, but an addition: In my standard postbit I have the AWS (Advanced Warning System) active. I tried adding the same code into the comment postbit template nothing shows up.
The code is:
PHP Code:
<!-- checks for warning system -->
<if condition="THIS_SCRIPT=='showthread'">
<if condition="$hierarchical=='No'">
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND $post[usergroupid]!=5 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">
<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>.:Warn $post[username]:.</a>
</if>
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND $post[usergroupid]!=5 AND ($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6)">
<a href='Warn.php?do=ViewWarnings&id=$post[userid]'>.:View $post[username]'s Warnings:.</a> ?
</if>
<if condition="$post[userid]==$bbuserinfo[userid] AND $post[usergroupid]!=6 AND $post[usergroupid]!=7 AND $post[usergroupid]!=5 AND $post[warning_level]>0">
<a href='Warn.php?do=ViewMyWarnings'>.:View your Warnings:.</a> ?
</if>
</if>
<if condition="$hierarchical=='Yes'">
<if condition="($post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])) OR ($post[usergroupid]==7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid]) AND $bbuserinfo[usergroupid]==5) OR
($bbuserinfo[usergroupid]==6 AND $post[usergroupid]!=6)">
?<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>.:Warn $post[username]:.</a>
</if>
<if condition="($post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5)) OR ($post[usergroupid]==7 AND $bbuserinfo[usergroupid]==5) OR ($bbuserinfo[usergroupid]==6 AND $post[usergroupid]!=6)">
<a href='Warn.php?do=ViewWarnings&id=$post[userid]'>.:View $post[username]'s Warnings:.</a> ?
</if>
<if condition="$post[userid]==$bbuserinfo[userid] AND $post[usergroupid]!=6 AND $post[warning_level]>0">
<a href='Warn.php?do=ViewMyWarnings'>.:View your Warnings:.</a> ?
</if>
</if>
</if>
Any ideas about the above?
Thanks,
-Mika