Quote:
Originally Posted by mvigod
Anyone aware of an if condition that would allow only a usergroup to lock the first post instead of it globably applying to the entire forum?
|
The answered by mvigod below.
Quote:
Originally Posted by mvigod
For other usergroups, just add their usergroup id to the if condition:
=
Code:
<if condition="is_member_of($bbuserinfo, 6,5,7)">
|
Quote:
Originally Posted by MaXxed
works very well!
any way to add some more options to the Article template? Such as more profile fields or the add-rep button?
|
For the add-rep button; In your postbit_articles template
Find:
Code:
<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
Add before:
Code:
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
Quote:
Originally Posted by elmati
i dont know if this is a bug o just misconfiguration from me but when i use quickedit for 1st post the 1st post return to default vb postbit...
anyone have this problem too?
thx in advance
|
If you didn't change anything then it will stay as postbit_article, if you made the changes I posted then this is just part of it, if anything is edited, you must make sure you choose article.