I'm adding a bit of functionality back to this very useful style, building for a smart phone with a larger screen - i.e., iphone, blackberry, or android.
I pulled language from the default postbit template, trimed it down, and added to the mobile postbit template. I thought I'd document my efforts here if anyone else wanted to use them.
Issue infraction or warning:
Code:
<vb:if condition="$show['infractionlink']"><a href="infraction.php?{vb:raw session.sessionurl}do=report&p={vb:raw post.postid}">[Infract]</vb:if>
Show received infraction or warning:
Code:
<vb:if condition="$show['redcard']"><a href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}">[Red]</a>
<vb:elseif condition="$show['yellowcard']" /><a href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}">[Yellow]</a></vb:if>
Report post:
Code:
<vb:if condition="$post['reportlink']"><a href="{vb:raw post.reportlink}">[Report]</a></vb:if>
I still need to work on the infraction page itself - it won't show that the infraction actually gets issued, though it does issue it.
Continuing my documentation, I added a "view deleted thread" link in threadbit_deleted:
Code:
<vb:if condition="$show['viewthread']"><a href="showthread.php?{vb:raw thread.threadid}">[{vb:rawphrase view}]</a></vb:if>
-jk