This script will show you how to make an informer look like an outputted thread. As informers can be placed anywhere the opportunities are endless.

1. To begin we will create a new informer by opening Control Panel > Tools > Infomers and selecting the new informer button.

2. Fill in the details the same as is shown in the screencast below;

$IMAGE2$


3. Once you have created the informer paste the following code over the existing template.

Code
<tr id="tt87"><td class="threadIcoTd" align="center" width="4%"><img alt="" style="margin:0;padding:0;vertical-align:middle;border:0;" src="http://s104.ucoz.net/img/fr/ic/4/f_norm_nonew.gif" title="No new messages" /></td><td class="threadIcoTd" align="center" width="4%"><img alt="" style="margin:0;padding:0;vertical-align:middle;border:0;" src="http://s104.ucoz.net/img/fr/ic1/thread.gif" title="Normal thread" /></td><td class="threadNametd"><a class="threadLink" href="$THREAD_URL$">$THREAD_TITLE$</a><div class="threadDescr"></div><div class="threadFrmBlock">[<span class="threadFrmName" style="padding:0 1px;"><a href="$FORUM_URL$" class="threadFrmLink">$FORUM$</a></span>]</div></td><td class="threadPostTd" align="center">$REPLIES$</td><td class="threadViewTd" align="center">∞</td><td class="threadAuthTd" align="center"><span class="threadAuthor"><a class="threadAuthorLink" href="http://www.ucause-entertainment.tk/index/8-12" target="_blank">$AUTHOR$</a></span></td><td class="threadLastPostTd"><a title="Go to the last message" class="forumLastPostLink" href="$LAST_POST_URL$">$DATE$, $TIME$</a><a href="$LAST_POST_URL$"><img alt="" style="margin:0;padding:0;vertical-align:middle;border:0;" title="Go to the first unread message" src="http://s104.ucoz.net/img/fr/ic/4/lastpost.gif" /></a><br />Message from: <span class="lastPostUser"><a class="lastPostUserLink" href="http://site.ucoz.com/index/8-0-Paradox" target="_blank">$POST_USER$</a></span></td></tr>


4. Then paste this wherever you would like the table to appear. Make sure that you change the informer number to the necessary value wink

Code
<script type="text/javascript">
$(document).ready(function(){  
  $(".gTable:first").after('<p></p><div class="gDivLeft"><div class="gDivRight"><table border="0" width="100%" bgcolor="#FFFFFF" cellspacing="1" cellpadding="0" class="gTable"><tr><td class="gTableTop" colspan="5"><div style="float:right" class="gTopCornerRight"></div><span class="catLink">Recent Threads</span></td></tr><tr><td width="8%" colspan="2" class="gTableSubTop"> </td><td class="gTableSubTop" align="left"><span class="topSortLink">Thread</span></td><td width="7%" class="gTableSubTop" align="center"><span class="topSortLink">Replies</span></td><td width="6%" class="gTableSubTop" align="center"><span class="topSortLink">Views</span></td><td width="14%" class="gTableSubTop" align="center"><span class="topSortLink">Thread starter</a></td><td width="21%" class="gTableSubTop" align="left"><span class="topSortLink">Updates</span></td></tr>$MYINF_1$<tr><td class="threadsDetails" colspan="7"><b><?rnd(2000)?></b> threads found. <b>25</b> newest threads displayed.</td></tr></table></div></div><div class="gDivBottomLeft"></div><div class="gDivBottomCenter"></div><div class="gDivBottomRight"></div>');
});
</script>


5. You have now finished the most difficult part. Hit save and admire your new creation!

  Paradox        0.0        0        28/03/2024

ComForm">
avatar

My Account
You are currently not logged in.

So what are you waiting for?
To get started log in or sign up to Dashboard Support to make use of all our cool site features.

Online Chat
[admin] Paradox: Please log in to take part in online chatter.

Food For Thought

Opinions Wanted!