Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Default avatar in postbit?
Ukshep Offline
Junior Member
**
Posts: 9
Joined: Oct 2014
Post: #1
Default avatar in postbit?
How would i go about this so if user has no avatar or guest has no avatar it will display a default avatar.
01-26-2015 07:14 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Default avatar in postbit?
For postbit:

Code:
<if !$post['useravatar'] then>
WHY U NO AVATAR?
</if>


Other places (eg profile page) may require different conditionals in different places.


My Blog
01-26-2015 04:18 PM
Find all posts by this user Quote this message in a reply
Ukshep Offline
Junior Member
**
Posts: 9
Joined: Oct 2014
Post: #3
RE: Default avatar in postbit?
(01-26-2015 04:18 PM)ZiNgA BuRgA Wrote:  For postbit:

Code:
<if !$post['useravatar'] then>
WHY U NO AVATAR?
</if>


Other places (eg profile page) may require different conditionals in different places.


Thanks
01-27-2015 08:32 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: