101

(7 replies, posted in PunBB 1.3 bug reports)

Indeed it should. smile

Look for the newline characters in include/email.php, where the text is generated for the e-mail.

103

(15 replies, posted in PunBB show off)

Depending upon what O.S you are running on the machines, set up cron jobs/batch files to connect and update through the remote machine.

104

(7 replies, posted in PunBB 1.3 bug reports)

I.E has no concept of XML. If the page is being served as application/xml, I.E will try to palm it off onto a handler programme.

105

(15 replies, posted in PunBB show off)

Currently the dynamic DNS client connects through the international IP and updates with that address. But the port forwarding that you are referring to, I deliberately did not set up on that IP because I'm paying much more for bandwidth used through that connection.

Can you connect through, from your local machine, to that other server/client on the international I.P without getting shafted for connection charges?

106

(15 replies, posted in PunBB show off)

Grant wrote:

No, sorry. That's a problem with the Dynamic DNS. I'm updating it manually now. sad

Anyone know of a Dynamic DNS client that will detect and send the IP from another connection and not the one  through which it is connecting to the DNS Server?

You need to set up a port forward on your router to forward port 80, (or whichever port you are using), to the internal machine. Sending the I.P address of the internal machine would be useless, in most cases, as it will be an internal I.P which is being NAT'ted on the firewall/router.

If you are referring to a totally separate connection, then you can use an update client for most of the dynamic DNS services, to update the I.P periodically, or when it changes.

Tieguy wrote:

Didn't think the absence of the else would effect anything.

To be honest, in general, it doesn't cause too much of a problem. It's just that Opera does tend to punish one for any minor mistakes. big_smile The '<pun_guest_message>' would have been left in the page source when the page was created and a user was logged in. It technically became a start tag with no closing tag.

The reason I have an overly keen eye for these things is that I run all of my code in XHTML1.1 mode, which is served as XML rather than HTML. Hence, anything like that will just prevent the page rendering completely in XML compliant browsers. As you can probably guess, I have to be rather paranoid about making sure every piece of output is perfect. big_smile Even something as minor as a missing double quote will prevent the page from rendering.

Glad to hear that sorted it. smile

Just ditch that fourth parameter from the code. It obviously does nothing anyhow, if the option isn't available. big_smile I believe changing the character set was probably the prime change needed, so that last option should be fairly moot.

Bugger. Just looked at that code above again. I've got ballbearings for eyes today. big_smile Change the end of that code from:

<?php
    
    $tpl_temp = trim(ob_get_contents());
    $tpl_main = str_replace('<pun_guest_message>', $tpl_temp, $tpl_main);
    ob_end_clean();
}

to:

<?php
    
    $tpl_temp = trim(ob_get_contents());
    $tpl_main = str_replace('<pun_guest_message>', $tpl_temp, $tpl_main);
    ob_end_clean();
}
else
{
    $tpl_main = str_replace('<pun_guest_message>', '', $tpl_main);
}

The link to your site?

Edit: Scrub that. Managed to see it in the screenshot. Enable the guest message again if you could.

Not guaranteed to be the cause, but try adding a clear to the bottom of that block, like so:

<div class="block">
    <h2><span>Guest Announcement</span></h2>
    <div class="box">
        <div class="inbox">
            <div>Message here.</div>
        </div>
    </div>
</div>
<div class="clearer"></div>

Opera can be a right pain in the arse for layout issues. big_smile

Srut wrote:

Strange thing is that i tried that and it does work at all. I'm wondering if its because the <object cannot be embedded?

The object tag is the correct way to embed information in a page. What browser are you testing with?

Templates or includes. I've no idea which, offhand. Use a text search tool to find it.

115

(9 replies, posted in PunBB 1.3 troubleshooting)

Search for debug mode. There's info on here somewhere. Alternatively, wait for one of the 1.3* chaps to advise.

I believe there is an extension knocking about somewhere on here to remove all of that extensions related gubbins.

116

(15 replies, posted in Programming)

Tieguy wrote:

Doesn't seem you need to, but no real reason not to.

I was becoming more dubious as to whether I was actually correct or not as I was typing that line, hence the last part. big_smile big_smile That one is obviously just me being pedantic again. big_smile big_smile

117

(15 replies, posted in Programming)

                if($file == "." || $file == ".." || !($imagedata = @getimagesize(PUN_ROOT."gallery/".$file)))

                    continue;

118

(9 replies, posted in PunBB 1.3 troubleshooting)

That generated caption can be removed by disabling debug mode. (In truth, that should be the default way the code is supplied).

What exactly are you referring to as the footer, btw? The complete block and everything it encompasses?

119

(15 replies, posted in Programming)

Tieguy wrote:

Sorry for the switch to single quotes, but I don't like using two [they confuse me for whatever reason].

    echo '<td><img width=\'50\' height=\'50\' src='.PUN_ROOT.'gallery/'.$file.'></td>\n';

You do need the double-quotes for 1.1 strict validation, (I believe. Cant remember if single quotes are okay?). Best to put it as:

echo '<td><img width="50" height="50" src="'.PUN_ROOT.'gallery/'.$file.'"/></td>'."\n";

Get rid of this line in the source code:

<body onload="document.getElementById('userlist').username.focus()">

Change the base url in the admin section, (o_base_url if accessing the config table directly, I believe), and then move all of your files to the root directory. As always, backup everything first, just incase.

esupergood wrote:

Also, I LIKE to see those links even if the result is zero because at least I have a way of finding out if there has been any recent activity.

That's why he posted in extension requests. Not everyone has the same preferences, hence the extensions system.

What are the webserver logs saying? Check their I.P against the logs and see what they're doing.

Google for php chat scripts. There are a few knocking about.

So new registrations are disabled? Have you got an old backup/version of the forums still knocking about somewhere on the webserver, perchance?