1

Topic: PunOnline (online list) for 1.0.1...

Sombody could convert this mod to support 1.0.1 too?
Its really important to me... smile

Thanks.
Eran.

2

Re: PunOnline (online list) for 1.0.1...

somebody please? :J

3 (edited by ConnyT 2004-04-29 22:51)

Re: PunOnline (online list) for 1.0.1...

Eran,
You could try the one I use in my forum.
Url: ftp://igarderoben.no-ip.com/punBB/PunOn … b1.0.1.zip

4

Re: PunOnline (online list) for 1.0.1...

Thank you! wink

5

Re: PunOnline (online list) for 1.0.1...

mm...
You have somthing to 1.0?
not 1.0.1 just 1.0?
Thanks.

Re: PunOnline (online list) for 1.0.1...

Aren't you running 1.0.1?

7

Re: PunOnline (online list) for 1.0.1...

yes i do...
but i need PunOnline also for 1.0...

8 (edited by ConnyT 2004-04-23 19:08)

Re: PunOnline (online list) for 1.0.1...

Can't help you on that one...
What happens if you try to install it on 1.0?

9 (edited by Eran 2004-04-23 19:14)

Re: PunOnline (online list) for 1.0.1...

it says:

You are running a version of PunBB that this mod does not support. This mod supports PunBB versions: 1.0.1


=\

10

Re: PunOnline (online list) for 1.0.1...

Ok, open install_mod.php and replace line 12 with

$punbb_versions        = array('1.0','1.0.1');

11

Re: PunOnline (online list) for 1.0.1...

doesnt work sad

Re: PunOnline (online list) for 1.0.1...

Hmm, that should work. What happens when you change it?

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

13

Re: PunOnline (online list) for 1.0.1...

I'm really sorry that im UP'ing this message.
It doesnt affects the mod installation, On 1.0.1 It gives me the message:
[qoute]You are running a version of PunBB that this mod does not support. This mod supports PunBB versions: 1.0.1[/qoute]
And with the editing it also doesnt works.
[qoute]You are running a version of PunBB that this mod does not support. This mod supports PunBB versions: 1.0, 1.0.1[/qoute]

Re: PunOnline (online list) for 1.0.1...

In that case, you aren't running PunBB 1.0.1. Are you absolutely sure it's 1.0.1 you're running? Could I have a look at the forums?

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

15

Re: PunOnline (online list) for 1.0.1...

What other versions of PunBB exists prior to 1.1?
Are there perhaps "1.0.Beta1" versions out there?

16

Re: PunOnline (online list) for 1.0.1...

Rickard,
Here: http://punbb.magikz.net/Forum
Its 1.0.1 !
Really strange neutral

Re: PunOnline (online list) for 1.0.1...

The link doesn't work for me.

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

18

Re: PunOnline (online list) for 1.0.1...

Oh, oops.
I forgot the WWW tongue
http://www.punbb.magikz.net/Forum/

Re: PunOnline (online list) for 1.0.1...

Hmm, I had a look at Punres and I can only find a version for PunBB 1.1. I doubt that version will work with 1.0.1.

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

20

Re: PunOnline (online list) for 1.0.1...

I saw ConnyT's forum,
He has 1.0.1, So how can't i install it? roll

Re: PunOnline (online list) for 1.0.1...

I guess he has made a mod of the mod :)

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

22 (edited by ConnyT 2004-04-29 21:42)

Re: PunOnline (online list) for 1.0.1...

As it says in the install_mod.php-file "$author         = 'Chrippa (changed to suit punBB v1.0.1 by ConnyT)';"

This is what differs Chrippas original from the 'updated' version..
en_online.php =  identical
install_mod.php

difference: 
    $punbb_versions        = array('1.1'); 
-to-> 
    $punbb_versions        = array('1.0.1');

online.php

added line: 
    require $pun_root.'config.php';

difference: 
    if ($cookie['is_guest'] && $pun_config['p_guests_read'] == '0') 
-to-> 
    if ($cookie['is_guest'] && $permissions['guests_read'] == '0')

difference: 
    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_online['Online list']; 
-to-> 
    $page_title = pun_htmlspecialchars($options['board_title']).' / '.$lang_online['Online list'];

difference: 
    if ($cur_user['status'] > PUN_USER) 
-to-> 
    if ($cur_user['status'] > 0)

difference: 
    if ($cur_user['status'] > PUN_USER) { 
-to-> 
    if ($cur_user['status'] > 0) {

readme.txt =  identical
update_online.php =  identical

23

Re: PunOnline (online list) for 1.0.1...

Oooops!
I imagine that if you open install_mod.php and replace line 44

if(!in_array($pun_config['o_cur_version'], $punbb_versions))

with

if(!in_array($options['cur_version'], $punbb_versions))

it will work like a dream..

*blush*

Sorry, Eran!

Re: PunOnline (online list) for 1.0.1...

ConnyT wrote:

As it says in the install_mod.php-file "$author         = 'Chrippa (changed to suit punBB v1.0.1 by ConnyT)';"

I'm guessing that is your modified version. I haven't been able to check it out though because the link you posted earlier is broken.

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

25

Re: PunOnline (online list) for 1.0.1...

Yes, that's another thing, Rickard: the url beginns with ftp:// but is linked as http://ftp://.... That doesn't work...