Indeed it should.
102 2009-04-19 14:19
Re: Too much empty lines in mails. (3 replies, posted in PunBB 1.2 troubleshooting)
Look for the newline characters in include/email.php, where the text is generated for the e-mail.
103 2009-04-18 13:49
Re: PunBB on my Laptop (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 2009-04-18 13:47
Re: cannot set up punbb (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 2009-04-18 10:00
Re: PunBB on my Laptop (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 2009-04-18 08:58
Re: PunBB on my Laptop (15 replies, posted in PunBB show off)
No, sorry. That's a problem with the Dynamic DNS. I'm updating it manually now.
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.
107 2009-04-18 08:23
Re: Announcements for guests only (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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. 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. Even something as minor as a missing double quote will prevent the page from rendering.
108 2009-04-16 22:40
Re: Announcements for guests only (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Glad to hear that sorted it.
109 2009-04-16 22:39
Re: [Release] Meta Tags Administration (48 replies, posted in PunBB 1.3 extensions)
Just ditch that fourth parameter from the code. It obviously does nothing anyhow, if the option isn't available. I believe changing the character set was probably the prime change needed, so that last option should be fairly moot.
110 2009-04-16 18:28
Re: Announcements for guests only (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Bugger. Just looked at that code above again. I've got ballbearings for eyes today. 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);
}
111 2009-04-16 18:21
Re: Announcements for guests only (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
The link to your site?
Edit: Scrub that. Managed to see it in the screenshot. Enable the guest message again if you could.
112 2009-04-16 18:13
Re: Announcements for guests only (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.
113 2009-04-16 16:31
Re: Youtube tag. (7 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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?
114 2009-04-15 15:02
Re: PunBB "jumps" to the textarea of the username (userlist.php) - change? (7 replies, posted in PunBB 1.2 troubleshooting)
Templates or includes. I've no idea which, offhand. Use a text search tool to find it.
115 2009-04-15 14:51
Re: Removing footer (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 2009-04-15 14:48
Re: can someone help me code this right (15 replies, posted in Programming)
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. That one is obviously just me being pedantic again.
117 2009-04-15 14:03
Re: can someone help me code this right (15 replies, posted in Programming)
if($file == "." || $file == ".." || !($imagedata = @getimagesize(PUN_ROOT."gallery/".$file)))
continue;
118 2009-04-15 14:00
Re: Removing footer (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 2009-04-15 13:55
Re: can someone help me code this right (15 replies, posted in Programming)
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";
120 2009-04-15 13:51
Re: PunBB "jumps" to the textarea of the username (userlist.php) - change? (7 replies, posted in PunBB 1.2 troubleshooting)
Get rid of this line in the source code:
<body onload="document.getElementById('userlist').username.focus()">
121 2009-04-15 13:48
Re: Move PunBB from [URL]/board to [URL] (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.
122 2009-04-14 14:31
Re: [request] hide links when no new/active posts are present (4 replies, posted in PunBB 1.3 extensions)
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.
123 2009-04-11 20:09
Re: Account still getting created despite new account being OFF (4 replies, posted in PunBB 1.2 bug reports)
What are the webserver logs saying? Check their I.P against the logs and see what they're doing.
124 2009-04-11 20:07
Re: Whats the best chat script I can use for my website? (1 replies, posted in PunBB 1.2 troubleshooting)
Google for php chat scripts. There are a few knocking about.
125 2009-04-11 13:23
Re: Account still getting created despite new account being OFF (4 replies, posted in PunBB 1.2 bug reports)
So new registrations are disabled? Have you got an old backup/version of the forums still knocking about somewhere on the webserver, perchance?