1 (edited by Maciek 2004-05-26 21:01)

Topic: Online/Offline MOD

Ah.. well this is a simple mod i know..
But i think some PunBB users going to use it.

http://www.networkx.wz.cz/glowne/image/on_off.gif

##
##
##        Mod title:  Online/Offline Mod
##
##      Mod version:  1.0
##   Works on PunBB:  1.1.4
##     Release date:  2004-04-05
##           Author:  Maciek Ziolkowski 
##
##      Description:  This mod show user online/offline status in topic view 
##
##   Affected files:  viewtopic.php
##                    lang/en/en_topic.php
##                    all.css files
##
##       Affects DB:  No
##
##       Notes:  
##          This mod has only been tested with PunBB v.1.1.4 and 1.1.3 .
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. 
##

download

UPDATE

I update mod pack ,now in archive u find two version graphic(+ image) and text

The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

Re: Online/Offline MOD

Ah, cool. I'm considering doing something similar for PunBB 1.2. Just having the username underlined when someone is online is nice and neat, but most people miss it and don't understand why usernames are underlined once in a while.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Online/Offline MOD

Perfect place for the blink tag roll wink

4 (edited by Maciek 2004-05-04 20:12)

Re: Online/Offline MOD

Rickard wrote:

Ah, cool. I'm considering doing something similar for PunBB 1.2.

Excellent idea smile

Rickard wrote:

Just having the username underlined when someone is online is nice and neat, but most people miss it and don't understand why usernames are underlined once in a while.

I think this is most comprehensible for most people , but your idea is not bad .
Meyby remove underlined and add something like that

$info = '<img src="img/greendot.gif" alt=""> <span class="punheadline"><a href="profile.php?id='.$cur_post['poster_id'].'">'.pun_htmlspecialchars($cur_post['poster']).'</a></span>';
        else
            $info = '<img src="img/reddot.gif" alt=""> <span class="punheadline"><a href="profile.php?id='.$cur_post['poster_id'].'">'.pun_htmlspecialchars($cur_post['poster']).'</a></span>';

http://members.lycos.co.uk/maciekziolkowski/on_of.gif

The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

5

Re: Online/Offline MOD

Nice Mod. There are two problems with using an underline to signify that a user is online. First, it is the generally accepted way of desingating a link so it is better not to use it to signify something else. Second, if somebody decides they want to underline all the links on their board it becomes useless.

6 (edited by Maciek 2004-05-04 20:09)

Re: Online/Offline MOD

sverrir wrote:

Perfect place for the blink tag roll wink

There is no problem with tag place ,i place this tag there beacouse i think this is good place for new user .

but

Find line 263

$info .= $lang_common['Registered'].': '.$registered.'<br>';

AND AFTER ADD

if (isset($online_list) && in_array($cur_post['poster_id'], $online_list))                        
        $stat = $lang_topic['Status'].': <b><span class="statsdetails1">'.$lang_topic['Status_online'].'</span></b><br>';
        else
        $stat = $lang_topic['Status'].': <b><span class="statsdetails2">'.$lang_topic['Status_offline'].'</span></b><br>';

now we dont need another tag smile

The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

Re: Online/Offline MOD

i like the online/offline the way it is... besides you can show it at the bottom of the main page if your heart desires.. just voicing my opinion in hopes to keep it out of 1.2

Re: Online/Offline MOD

DerekForReal: Fear not. It will not involve new images of flashy colors. I promise the change will be subtle.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Online/Offline MOD

My punbb currently uses the same feature except its a graphic not text
http://www.guitaraudio.com

10

Re: Online/Offline MOD

Maciek wrote:

Ah.. well this is a simple mod i know..
But i think some PunBB users going to use it.

I can't open this file for some reason. Could somebody post it as a zip file?
Thanx

I've been down so long it's beginning to look like up..

11

Re: Online/Offline MOD

JohnS wrote:
Maciek wrote:

Ah.. well this is a simple mod i know..
But i think some PunBB users going to use it.

I can't open this file for some reason. Could somebody post it as a zip file?
Thanx

Ok i add zip archive .

The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

Re: Online/Offline MOD

Does it work on 1.1.2?

13 (edited by Maciek 2004-05-05 14:57)

Re: Online/Offline MOD

madjedo wrote:

Does it work on 1.1.2?

I'm 100% sure it's works ,but i don't test.
I download 1.1.2 right now and tell you.
-------------------------------------------------
Ok i check and i don't see any problem mod must works smile

The best things in life are free*

* plus shipping and handling

[img]http://members.lycos.co.uk/maciekziolkowski/gmailsign.jpg[/img]

Re: Online/Offline MOD

thx

15

Re: Online/Offline MOD

This Link is got dawn, where i can download it now ?

16

Re: Online/Offline MOD

I purposed it about 1 month ago smile

17

Re: Online/Offline MOD

Grr I wanna this mod too, plz can some1 upload that mod somewhere else, link won't work.

[img]http://www.kaffir.org/images/sigs/pauliesig6.jpg[/img]

Re: Online/Offline MOD

Erm, 1.2 has something similar to this in it tongue