Post your viewtopic.php file.
1,301 2007-11-12 19:49
Re: post count for specific user (8 replies, posted in PunBB 1.2 troubleshooting)
1,302 2007-11-12 19:21
Re: Blocking posts from users ? (3 replies, posted in PunBB 1.2 discussion)
Apparently that feature, (which is available in some forum softwares), leads to horribly disjointed looking threads, from what I have been told by others.
1,303 2007-11-12 19:19
Re: Extra Boxes mod (8 replies, posted in PunBB 1.2 discussion)
Of course, I don't think this one will work for me anyway will it? I get this when I run install_mod.php:
You are running a version of PunBB (1.2.15) that this mod does not support. This mod supports PunBB versions: 1.2.3, 1.2.4
1,304 2007-11-12 19:17
Re: post count for specific user (8 replies, posted in PunBB 1.2 troubleshooting)
Where in viewtopic.php are you placing the code?
1,305 2007-11-12 15:53
Re: Charset help (7 replies, posted in General discussion)
Have a look at this thread. It should explain the main parts required for setting up utf-8.
1,306 2007-11-12 15:50
Re: Capturing the destination uri (12 replies, posted in Programming)
would this help a little javascipt for delay on redirect?
<script language=javascript> setTimeout("location.href='[/index.php]'", 45); </script>
Cheers. I've sorted it via other means, but that one might come in handy at some future point.
1,307 2007-11-12 15:47
Re: Capturing the destination uri (12 replies, posted in Programming)
No
Cheers.
1,308 2007-11-12 04:44
Re: Capturing the destination uri (12 replies, posted in Programming)
Trying to introduce lags through those methods leads to some quirky results. Ended up just using the sleep function and pausing the script for the delay period. Will there be any detrimental side effects using that method? (Other than the obvious self inflicted DoS condition if used to excess )?
Thanks again.
1,309 2007-11-11 22:55
Re: Capturing the destination uri (12 replies, posted in Programming)
Cheers.
1,310 2007-11-11 22:52
Re: Capturing the destination uri (12 replies, posted in Programming)
So I'd need to do something along these lines?
if ($test == $condition)
{
echo '<meta http-equiv="refresh" content="'.$delay.';URL='.basename($_SERVER['PHP_SELF']).'"/>';
}
Cheers.
1,311 2007-11-11 22:42
Re: Capturing the destination uri (12 replies, posted in Programming)
An example would be if one is viewing the index and clicks on one of the topic links, to have an if clause at the top of header.php which would go something like:
if ($test == $condition)
{
header("Location: '.basename($_SERVER['PHP_SELF']).' Refresh: '.$delay.'");
}
so that you would actually end up going to the page you requested, but only after the delay specified.
Cheers.
1,312 2007-11-11 22:29
Topic: Capturing the destination uri (12 replies, posted in Programming)
I've got complete and utter mind block on this one, so just wanted to check.
In header.php, can you call:
basename($_SERVER['PHP_SELF'])
to capture the destination uri and then use that with the header function to insert a delay and then load the page after the delay, rather than loading it straight away, or does another var or method need to be used?
Cheers,
Matt
1,313 2007-11-10 03:06
Re: A Validation question (10 replies, posted in General discussion)
Well, I'm not much use with this one. This is the form line I have in mine, and it works as expected:
<form id="login" method="post" action="<?php echo $forumuri ?>login.php?action=in" onsubmit="return process_form(this)">
1,314 2007-11-10 02:56
Re: A Validation question (10 replies, posted in General discussion)
Have I lost you yet.
Completely.
Shouldn't the form id be login_form rather than the div id?
1,315 2007-11-10 02:51
Re: A Validation question (10 replies, posted in General discussion)
That looks like you need to tweak the javascript. I'm naff at js though. Elbecko might be the one to ask on that subject.
1,316 2007-11-10 02:46
Re: A Validation question (10 replies, posted in General discussion)
What exactly doesn't work? That is the login/header block, isn't it?
1,317 2007-11-10 02:44
Re: A Validation question (10 replies, posted in General discussion)
It's the id that matters. Should work fine without name.
1,318 2007-11-08 19:19
Re: Admin disappeared (3 replies, posted in PunBB 1.2 troubleshooting)
Db access controls are totally separate from PunBB's access controls.
1,319 2007-11-07 01:21
Re: Where can I change the length of the titles? (8 replies, posted in PunBB 1.2 troubleshooting)
User title below your name (overrides rank if they are used). Yours says Senior Member.
Are you allowing users to set them and want to limit them? If so, find the input box for the title, (I would assume in profile.php), and just set a max characters limit on the input box. That's the simplest 'hack'.
1,320 2007-11-07 00:27
Re: Where can I change the length of the titles? (8 replies, posted in PunBB 1.2 troubleshooting)
Which title(s)?
1,321 2007-11-06 19:49
Re: A new corporate forum (6 replies, posted in PunBB 1.2 show off)
Edit: Anyone have any advice about how to remove the light-colored outline from around the header graphic? I can't find a line to edit in CSS. I suppose I'll have to add a new line?
I may be incorrect, but try setting:
border: 0;
in the css for the image block.
1,322 2007-11-05 02:07
Re: Some advice on my modded Latest Topics (30 replies, posted in General discussion)
It makes a change for it not to be me having one of those moments.
1,323 2007-11-05 01:40
Re: Some advice on my modded Latest Topics (30 replies, posted in General discussion)
It's working fine on test here, so that must be related to something in your setup.
1,324 2007-11-05 00:53
Re: Some advice on my modded Latest Topics (30 replies, posted in General discussion)
Download it again and try it now.
1,325 2007-11-04 06:50
Re: photojojo forum... punBB totally tweaked (15 replies, posted in PunBB 1.2 show off)
If you create new files containing your own code only, then the copyright on those is yours. If you create new files containing existing code, with your own code added, then both copyrights should be contained within the script. If I remember correctly, that is.