If it would have been Apache what could have been the problem then?

I'm running the following configuration:
-Win2K Server
-Sambar Server v6
-PHP 4.3.2
-ISAPI (php4isapi.dll)

Hehe, thats me ..
Dead end, in other words..

Can someone tell me why I sometimes get the Open/save dialogue when I try to run a PHP page?

55

(12 replies, posted in PunBB 1.2 discussion)

- Why can I not include an image in the signature?

You are a gentleman!
smile

Tell you what I did:

Instead of your code above I replaced it with
if($locked == '1') {
$isUserInList = strpos($locked_users, $username);
  if (!$isUserInList) {
   message($lang_common['No permission'].' T');
  }
}

and that seems to solve the problems I had.
As I understand this solution doesn't take any notice of the users status and if the forum is locked, checks if the user is in the list of accepted users.

Please correct me if I am doing something seriously wrong..

If the forum is locked and the user exists in the $locked_users he/she should have access.

That's what I want..

I have installed EFAM with the hope that i could set viewing permissions for the individual user, to each forum individually.

My problem is that the user can access the locked forum but not view the topic in it.
I did some alterations to the code were the user status was checked.

viewtopic.php
---------------
if($locked == '1' && $cur_user['status'] < 2 && !eregi("$username", $locked_users))
    message($lang_common['No permission']);

viewtopic.php after alteration
--------------------------------
if($locked == '1' && $cur_user['status'] < 1 && !eregi("$username", $locked_users))
    message($lang_common['No permission']);

Still the user can not access the topic unless set as moderator.
I do not want the user to be given the moderator status in order to access the topics in the locked forums. (I have done the same type of modification in the viewforum.php)

60

(8 replies, posted in PunBB 1.2 discussion)

What is changed in version 1.1?

Sorted!
I almost got what I wanted by getting a "no-ip" address.
Then adding it to the hosts-file cured the symptom of 404..

Again, thanks!

Well, garderoben.just.nu isn't really a domainname, as far as I have understood. The service "just.nu" only points to my ip-address, it doesn't translate it.

(I will have to give up the "cheap" stuff and get myself a proper domain name .. hehehe .. *ehrm* ..)

I guess i'll just have to back to the drawing board.
Thanks anyway!

I can not access the forum with http://194.237.242.39/users/td2/pbb.
I tried to update the hosts-file without success sad . All I do then is trying to connect to the router/gateway that I have installed. (D-Link DI-804). It doesn't pass the request through..

I used to have DI-704 and with that one I could connect to my IP address from inside my local network, but that 'feature' isn't there in 804. OR, I haven't found the setting for it..

I sit behind a firewall working on my forum. In order to do that i set the base url to
'http://garderoben/users/td2/pbb' were 'garderoben' is the 'local domain' name.

So far so good! When I enable the option to 'Validate registrations' an email is sent to the registrant. It points to 'http://garderoben/users/td2/pbb/login.php'. That doesn't work.

What I would like is 2 'base_url'; one if user connects from the local network and one if the user connects from the Internet (Remote).

Local: 'http://garderoben/users/td2/pbb'
Remote: 'http://194.237.242.39/users/td2/pbb

All suggestions are appreciated smile