Jump to content
DevFuse Forums
Sign in to follow this  

Show message to members with 0 posts


Description

Have members that are just not posting? Display a message to the ones
Have members that are just not posting? Display a message to the ones with 0 posts.

First of go to Admin CP / Look & Feel Tab / select a skin / Global Templates / globalTemplate

Find:
[code]<if test="mainpageContent:|:$html">{$html}</if>[/code]

Add ABOVE (Replace # with the forum id):
[code]
<if test="zero_poster:|:$this->memberData['member_id'] AND $this->memberData['posts'] == 0">
<div class='block_wrap'>
<h3 class='maintitle'>Need help {$this->memberData['members_display_name']}?</h3>
<div class='general_box'><b>Our records indicate you have yet to post, if you are having trouble posting please search through our
<a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>Help Guide</a>. <br />If not why not introduce yourself in our
<a href="{parse url="showforum=#" base="public"}">Welcome Centre</a>, and get to know our community.</b></div>
</div>
</if>[/code]

The if function will see if the member has 0 posts if the member has, it will display the message with in the tag.


Recommended Comments

There are no comments to display.

×