1. Dodamies CP - Informers - Create informer
2. Section: - Users
3. Sorting mode: - No. of forum posts
4. Number of entries: - 9
5. Number of columns: - 3
6. Spiežam pogu Create
7. Pēc tam pie informera spiežam pogu [Informer template] un atvērsies jauns logs, kura saturā liekam šo kodu:
Code
<table align="center" border="0" cellspacing="0" cellpadding="0" width="100%" class="infTable"><tr><td class="infTd" width="33%"><div align="center" style="margin:2px 0 8px 0"> <a href="/index/8-$USER_ID$" target="_blank"> <?if($AVATAR_URL$)?><img src="$AVATAR_URL$" style="height:40px; width:40px; margin-right:5px; border:1px solid #DDD; padding:2px;"><?else?><img src="http://latdizaini.ucoz.lv/geroine/no_avatar.png" style="height:40px; width:40px; margin-right:5px; border:1px solid #DDD; padding:2px;"></a><?endif?><br> <b><a href="/index/8-$USER_ID$" target="_blank">$USERNAME$</a></b><br> <span style="font-size:7pt"> <span style=" color:#999;">Posti:</span><br> $FORUM_POSTS$<br> </span></div> </td></tr></td></table>
Iznākums:
Avots:
html.ucoz.lv