1
mjoel
online/offline button cbb 3.08
  • 2008/1/10 17:43

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


how can i use just text instead of image for the online/offline button in cbb 3.08?

i can't changed it in template newbb_thread.html

<{$topic_post.poster.status}>



so which file do i have to edit


thank you

2
mboyden
Re: online/offline button cbb 3.08
  • 2008/1/10 18:30

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


I'm assuming $topic_post.poster.status does an image. So, assuming that's the case, then just test for it. For instance:
<{if $topic_post.poster.status == ''}>On-Line<{else}>Off-Line<{/if}>
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

3
mjoel
Re: online/offline button cbb 3.08
  • 2008/1/10 19:10

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


not working

the image is from an imageset

i tried this with same result not working

<{if $topic_post.poster.status == ''}>On-Line<{else}>Off-Line<{/if}>

4
mjoel
Re: online/offline button cbb 3.08
  • 2008/1/10 19:11

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


- double post -

5
Will_H
Re: online/offline button cbb 3.08
  • 2008/1/10 21:40

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


The simplest way would be to use faux text, or an image that looks like its just text. Match your bg colors and no one will know the difference.

Login

Who's Online

251 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits