DevFuse Forums: Show message to members with 0 posts

Jump to content

View All ProductsRandom Products

Personal Message

Auto Birthday Greeter



IP.Board: IPB 3.0.x
Price: $ 10.95
Logo View

Random Logos



IP.Board: IPB 3.0.x
Price: $ 14.95
Example Topic

Auto Anniversary Greeter



IP.Board: IPB 3.0.x
Price: $ 10.95
Manage Calendars

Calendar Topics



IP.Board: IPB 3.0.x
Price: $ 9.95
Default Portal Block

Videos System



IP.Board: IPB 3.0.x
Price: $ 26.00

Show message to members with 0 posts Bookmark

User is offline Michael 

  • Management
  • Icon
  • Group: Management
  • Posts: 2,081
  • Joined: 22-September 05
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.0.x
  • First Name:Michael

Find Posts Tutorial info

  • Added on: 15 January 2010 - 10:39 PM
  • Date Updated: 19 January 2010 - 07:16 PM
  • Views: 398
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:
<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>
</div>
</if>


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

Download this Tutorial:

Powered by (IM) Tutorials 1.0.1 © 2010, by Michael McCune