Jump to content

Welcome to DevFuse Forums

Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Jan 15 2010 10:39 PM
  • Date Updated: Jan 19 2010 07:16 PM
  • Views: 3335

Show message to members with 0 posts

Have members that are just not posting? Display a message to the ones

Posted by Michael on Jan 15 2010 10:39 PM
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

<if test="mainpageContent:|:$html">{$html}</if>

Add ABOVE (Replace # with the forum id):
<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>

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

Powered by Tutorials 1.5.1 © 2016, by Michael McCune