It would look tons better if the site was centered
1,301 2006-10-22 14:31
Re: SA Forum (3 replies, posted in PunBB 1.2 show off)
1,302 2006-10-22 13:41
Re: Downloading 1.3 from trac (14 replies, posted in PunBB 1.2 discussion)
Sorry, made an error in the link; should work now
1,303 2006-10-22 12:13
Re: do i need to reinstall if...? (5 replies, posted in PunBB 1.2 troubleshooting)
Just change your base url and it should be fine
1,304 2006-10-22 09:41
Re: Question!! (8 replies, posted in Programming)
I wouldn't use str_shuffle
Do you want to show both affiliates or only one?
1,305 2006-10-22 09:38
Re: Downloading 1.3 from trac (14 replies, posted in PunBB 1.2 discussion)
1,306 2006-10-21 20:49
Re: Downloading 1.3 from trac (14 replies, posted in PunBB 1.2 discussion)
1,307 2006-10-21 19:52
Re: Downloading 1.3 from trac (14 replies, posted in PunBB 1.2 discussion)
svn checkout http://punbb.org/svn/punbb/branches/punbb-1.3-dev/
Or enter the link after checkout in TortoiseSVN if you're on Windows
1,308 2006-10-21 18:49
Re: Forum and nw design finally up (19 replies, posted in PunBB 1.2 show off)
elbekko wrote:I mean the footer of the forum
Ah yes, ofcourse. Sorry.
I think I see what you mean. The footer draws more attention than the actual forum part. I turned the black text to a shade of grey.
Thanks for your comments.
Much better now
1,309 2006-10-21 17:35
Re: Forum and nw design finally up (19 replies, posted in PunBB 1.2 show off)
I mean the footer of the forum
1,310 2006-10-21 17:20
Re: Forum and nw design finally up (19 replies, posted in PunBB 1.2 show off)
Very nice, although you should make the footer text lighter, so it isn't standing out that much
1,311 2006-10-21 13:32
Re: Internet Explorer 7 Final released (20 replies, posted in General discussion)
Installed it today... still the same problem as I had in the betas: I have to open at least 3 tabs before I can open a site, and after that I can only navigate by using the links. No chance in using the address bar.
Oh well
1,312 2006-10-21 10:27
Re: special characters show as "?" (1 replies, posted in PunBB 1.2 troubleshooting)
Set character encoding in your language files (common.php) to UTF-8
1,313 2006-10-20 18:52
Re: Internet Explorer 7 Final released (20 replies, posted in General discussion)
Plus I was reading that FF has more holes than IE now
could this be true...
Microsoft propaganda anyone?
Doubt it really.
1,314 2006-10-20 18:43
Re: Wierd random link. (10 replies, posted in PunBB 1.2 troubleshooting)
Nope, those look fine...
In the output it's messed up for some reason:
<li id="navextra2"><a href="http://www.simzi.co.uk/misc.php?action=markread"?Mark all as read</a></li>
But that's a code you entered, so edit it there
1,315 2006-10-20 16:33
Re: Wierd random link. (10 replies, posted in PunBB 1.2 troubleshooting)
I see no error in FF1.5 nor IE7.
But it's probably an <a> tag that isn't being closed
1,316 2006-10-18 19:28
Re: Restore Database (7 replies, posted in PunBB 1.2 troubleshooting)
If you have shell access to your server, do this:
$ mysql -u <username> -p
Password: <enter your password here>
mysql> CREATE DATABASE <db_name>;
mysql> use <db_name>;
mysql> \. <location of file to import .sql file>
mysql> \q
This will allow you to easily import everything alot faster than through phpMyAdmin, but I'm not quite sure if it works with remote locations (if not, just upload it to your FTP and find the absolute path to it).
Did it plenty of times for a DB I have to migrate alot. It's tons faster than phpMyAdmin IMO.
1,317 2006-10-18 18:52
Re: PunBB 1.2.14 (95 replies, posted in News)
The newsletter was sent though... maybe you didn't subscribe well? =/
1,318 2006-10-18 17:57
Re: What is actually a "NULL byte"? (14 replies, posted in Programming)
But when you pass it as a character it must be represented as \0, no?
1,319 2006-10-18 17:55
Re: Alt Tag in Images (12 replies, posted in PunBB 1.2 troubleshooting)
As I said, I made this quickly
But, as all input is run through htmlspecialchars(), it can be done by just adding quotes to the BBCode, something like this:
<?php
$str = htmlspecialchars('[img?width="60"&height="60"&alt="Booh" onmouseover="alert(\'Insecure!\')""]http://punbb.org/forums/img/avatars/2.png[/img]');
$str = preg_replace("#\[img\?width\="(.+)"&height\="(.+)"&alt\="(.+)"\](.+)\[/img\]#i", '<img src="$4" width="$1" height="$2" alt="$3" />', $str);
echo $str;
?>
The onmouseover won't work this way, but the image will
1,320 2006-10-18 16:29
Re: How to use gmail as smtp server in admin_options.php? (3 replies, posted in PunBB 1.2 troubleshooting)
http://mail.google.com/support/bin/answ … p;hl=en_GB
I doubt the PunBB SMTP system supports SSL though
1,321 2006-10-18 13:41
Re: the basics... (8 replies, posted in PunBB 1.2 troubleshooting)
Line 65 in header.php loads the user-selected stylesheet.
1,322 2006-10-18 13:25
Re: Alt Tag in Images (12 replies, posted in PunBB 1.2 troubleshooting)
Do note, all those extra attributes need to be filled in Else the image code won't be parsed.
It should be somewhere in parser.php, I think you could put it in do_bbcode if you'd like to allow it everywhere.
1,323 2006-10-18 13:13
Re: Alt Tag in Images (12 replies, posted in PunBB 1.2 troubleshooting)
OK, so I had my shot at it, and I found a pretty good solution:
This is the code I had in my testing file:
<?php
$str = '[img?width=60&height=60&alt=Booh]http://punbb.org/forums/img/avatars/2.png[/img]';
$str = preg_replace("#\[img\?width\=(.+)&height\=(.+)&alt\=(.+)\](.+)\[/img\]#i", '<img src="$4" width="$1" height="$2" alt="$3" />', $str);
echo $str;
?>
The HTML output is:
<img src="http://punbb.org/forums/img/avatars/2.png" width="60" height="60" alt="Booh" />
Now, I don't know exactly where you'd put this code, but atleast the code is there ^^
1,324 2006-10-18 12:40
Re: Alt Tag in Images (12 replies, posted in PunBB 1.2 troubleshooting)
Not now, I'm quite busy, but I could have a look at it sometime... unless someone with better RegEx knowledge can do this
1,325 2006-10-18 12:35
Re: Alt Tag in Images (12 replies, posted in PunBB 1.2 troubleshooting)
Hrmm... would introduce a new way of BBCode handling Something like
[img=width=<w>&height=<h>&alt=<alt text>]<source>[/img]
All optional, if not occuring a standard value will be taken or it won't be put in. Something like that?