1

(17 replies, posted in General discussion)

Kato wrote:

... True, but the way it renders some CSS and stuff like that keeps me away from it. ...

Well, it does pass the Acid2 test; however, I still prefer Firefox.

2

(92 replies, posted in General discussion)

http://img.scottywz.com/desktop/thumb.png

3

(16 replies, posted in PunBB 1.2 show off)

Well, they did add their own copyright: 

Quote:

Copyright © 2006 Tucows Inc. All Rights Reserved

4

(2 replies, posted in Programming)

Width is a percentage.  You can't set height to a percentage and have it dynamically resize.  I think JavaScript would do it, but I have very little JavaScript knowledge.

5

(2 replies, posted in Programming)

First, some background info:  I'm using PHP and JavaScript to create a "tabbed homepage" application.  The idea is that you can have multiple "home pages" accessible from one central page, and have it accessible via the Internet (this makes it different from Firefox's multiple homepage feature).

Each tab has an iframe in it.  In this iframe is not the page itself, but one generated by the PHP script providing basic navigational functions (back, forward, etc.), and then the iframe containing the actual homepage.  I am using the WebFX Tab Pane script for the tabs.

Here's the problem:  both iframes have a fixed height: 429 px.  Both iframes need to be resized with the browser window.  Can anyone please help me with this?  (The solution must work in as many browsers as possible, not just Internet Exploder or Firefox.)

I will GPL and release the final script once it's done.

6

(71 replies, posted in News)

...
* Fixed BBCode validator not allowing certain code tag combinations.
...
* Fixed certain BBCode combinations resulting in garbled output.
...

Does that mean [colo r=#RRGGBB][/colo r], [im g][/im g], etc. won't work?  Some guy did that at me on my forums.

7

(7 replies, posted in Programming)

You don't use DOCTYPEs in CSS.

Some may find a use of this, though.

Guests can see it if they quote you.

9

(71 replies, posted in News)

kiz wrote:

what's the easiest way to upgrade from 1.2.5? i have extremely limited knowledge with mysql and i'm not sure how to backup my databases sad. how can i upgrade while keeping my forum running smoothly?

Copy the files under upload/ directory in the changed files zip and run 12_to_126.php or whatever on your server (I think that file's in extras/ in the zip, well, usually). (If it's all modded, you're better off patching it and running the script.)

10

(7 replies, posted in Programming)

Well, OK. Now, if you have an app you're making, you can just put the include in a file that has all these other includes. Then just type write_dtd(); or whatever. Look at PunBB. That includes two things a file. smile

What about PunBB?

12

(1,382 replies, posted in General discussion)

That guy who got aquitted

What about

© by Rickard Andersson

To access the forums folder from the parent folder, use forums/

To access the parent folder from the forums folder, use ../

Any mods?

16

(3 replies, posted in Programming)

PHP can do PDFs. I don't know about SVG, though. Or Python.

17

(1 replies, posted in Feature requests)

Yes. Disable e-mail verification.

There's an Image Verification mod for PunBB, but I've not gotten it to work on 1.2.5.

18

(35 replies, posted in General discussion)

The editor would be the preview box. Also, TinyMCE can have a preview button (you just have to enable it in some JavaScript) to preview the post.

19

(35 replies, posted in General discussion)

Yeah, but to get it to render in the editor is the problem.

20

(35 replies, posted in General discussion)

When a user edits the post, I have to convert it back into HTML. Besides, there would be 3 (at least) additional steps to add extra BBCodes.

21

(14 replies, posted in PunBB 1.2 troubleshooting)

I used your latest post of your index.php file and, in Notepad2 (color-coded), it looks okay. Just for some funny reason, it marks the class attribute as an "unknown attribute."

22

(35 replies, posted in General discussion)

It's hard to turn a HTML editor into a BBCode editor. So, why not allow certain HTML in posts? And, some people don't know perfect XHTML 1.0 Strict.

(If I allowed all HTML in posts, some maluser could use a Pocket PCor a browser with JavaScript disabled or something or even the HTML Source editor to add malicious JavaScript that installs spyware or something.)

No offense.

23

(34 replies, posted in PunBB 1.2 bug reports)

Sorry.

No, I think he uses Audioscrobbler and [ScrobblerSig(Thx) or modified or code from that] like I do.

shinko_metsuo wrote:
server wrote:

Warning: imagettfbbox(): Could not find/open font in /home/www/videogamenation.ath.cx/sig/index.php on line 352

Warning: imagettfbbox(): Could not find/open font in /home/www/videogamenation.ath.cx/sig/index.php on line 356

Warning: imagettftext(): Could not find/open font in /home/www/videogamenation.ath.cx/sig/index.php on line 415

Warning: imagettftext(): Could not find/open font in /home/www/videogamenation.ath.cx/sig/index.php on line 420

Warning: Cannot modify header information - headers already sent by (output started at /home/www/videogamenation.ath.cx/sig/index.php:352) in /home/www/videogamenation.ath.cx/sig/index.php on line 437

Warning: Cannot modify header information - headers already sent by (output started at /home/www/videogamenation.ath.cx/sig/index.php:352) in /home/www/videogamenation.ath.cx/sig/index.php on line 442

Warning: Cannot modify header information - headers already sent by (output started at /home/www/videogamenation.ath.cx/sig/index.php:352) in /home/www/videogamenation.ath.cx/sig/index.php on line 443
ÿØÿà

Upload your tahoma.ttf file to the same folder as the script.
Also, make sure the case of the filename is ALL LOWERCASE.
In the image script, use something like

include "quotes.php";

$currentlyListeningText = $st."Listening to:";
$LastListenedText = $st."Last listened to:";
$ErrorText1 = $st."Error:";

or whatever.

The $st is the KEY to getting it to work in this situation.

I'll look into the headers problem maybe tomorrow.

25

(7 replies, posted in Programming)

As you may know, the DOCTYPE is MANDATORY (eg. in X/HTML, MathML, SVG, etc.).

However, it's hard to remember all thw ways to put it into a Web page.

So, I made the ScottyWZ.COM DTD PHP Function. It only takes 2 lines of PHP code:

<?php

include "dtdf.php";
write_dtd();

or

<?php

include "dtdf.php";
write_dtd("DOCTYPE")

where DOCTYPE is the abbreviation for the DTD you want to use. These abbreviations are located in the script itself and readme.txt. If the DOCTYPE you want to use isn't listed, you can add it.

Get it here:
.tar.gz
or
.zip

Enjoy!

P.S. I've gotten it to work in PunBB. In fact, that's how I tested it.