1

(11 replies, posted in General discussion)

I want one...someday.  They're super rare in Canada/US.  And we're waiting for the strap issue to be resolved because more stock comes in.

Clickable headers.  I know I can mod this, but it should be standard.  YES, it should.

Something like this header example, but obviously without images.

3

(4 replies, posted in General discussion)

http://crave.cnet.com/8301-1_105-967720 … ag=slide_1

4

(3 replies, posted in Test forum)

poop

~sigh~

This is my 'main.tpl' file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<link rel="shortcut icon" href="favicon.ico" />
<pun_head>
</head>
<body id="where-discussion">

<pun_include "csheader.php">

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <pun_navlinks>
        <pun_status>
    </div>
</div>

<pun_announcement>

<pun_main>

<pun_footer>

</div>
</div>

<pun_include "csfooter.php">

</body>
</html>

See the <pun_include "csheader.php"> and <pun_include "csfooter.php">?  That's the include script.

The actual files themselves are located at /discussion/include/user/.

I don't get what you're saying...isn't that exactly what you want?

I'll quote directly from the PunBB FAQ that's included in your download.

3.4 - Is it possible to include my own PHP scripts in the templates?
Yes. PunBB has a special replacement variable called pun_include for including scripts in the templates. For example, if you wanted to include a script called banner.php at the bottom of all forum pages, you would place the script in include/user/ and add the following to your template files:

<pun_include "banner.php">

The script banner.php must be located in the user include directory mentioned above. PunBB will execute the script and the pun_include variable will be replaced by any output that the script produces. Please note that all included scripts have access to the PunBB variables, so if you e.g. wanted to access the database, you could use the $db object just like the rest of PunBB does. Replacement of the pun_include variable is the last thing that PunBB does when it outputs a page, so you don't have to worry about not using variable names that PunBB uses.

IE has a bug which doesn't recognise the margin: auto.  When we go margin: 0px auto, we're saying the top and bottom has a margin of 0px, while the left and right have an auto margin.  We can also do margin: 10px auto 0px auto, for top, right, bottom and left, respectively.

Thankfully, IE has another bug, which was can use to center the div.  The body text-align will centre the entire div, which must have a set width, then the text-align within the div will make sure text inside hte div isn't centre.  Confusing yeah, but trust me, it works!

Check the includes/templates directory.

Also, when centering...

body {text-align: center;}
#wrapper {text-align: left; margin: 0px auto; width: 600px;}

That way it'll work in IE too.

9

(3 replies, posted in PunBB 1.2 discussion)

I remember 1.1.

Those were the days.

I hated the admin cp.

10

(3 replies, posted in Feature requests)

Mailbombing sounds dangerous, sir.

Kinda like.

Bomb.

Err...

Kay.

11

(3 replies, posted in Feature requests)

Edit that post, and e-mail using the link on the main forum page dude.

12

(5 replies, posted in Feature requests)

Hells yes!

13

(6 replies, posted in PunBB 1.2 show off)

Awesome.

14

(5 replies, posted in Feature requests)

While there's obviously a large ammount of code that would be cool, one thing jumps out at me.

How about the good 'ol list?

  • list item

Just a thought!

Flawless!  Thanks mate.

Yeah, I tried adding it myself, but all I got was errors.  I'll give that a try after work, thanks.

Please guys, any help!

18

(109 replies, posted in General discussion)

It's only natural, hahahha.

Maybe you misunderstood.  If you checked the page you'd see I can make it work, I'd just like it to display as a list?

Calsoft temporary address: http://www.secondpagemedia.com/~beeh/

I'm working on making a website that's integrated with PunBB, but that darn exern.php is beyond me.

What I'd like is for the information displayed under the 'Discussion board" header to be displayed as a list (as below).

* Guests online: 0
* Registered users online: 1
* Total number of registered users: 3
* Newest registered user: Ares
* Total number of topics: 8
* Total number of posts: 21

I've tried editing extern.php myseldf, but all I get is errors.

Thanks guys!

21

(3 replies, posted in PunBB 1.2 troubleshooting)

/* 3.4 Creates the inset border for quote boxes, code boxes and form info boxes */

.pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {BORDER-COLOR: #ACA899 #FFF #FFF #ACA899}

/* 3.5 Gecko's default fieldset borders are really nasty so this gives them a colour
without interferring with IE's rather nice default */

.pun DIV>FIELDSET {BORDER-COLOR: #ACA899}


Section three of the _cs.css series.

22

(12 replies, posted in PunBB 1.2 troubleshooting)

Ohhhhh, my bad.

23

(3 replies, posted in PunBB 1.2 troubleshooting)

/* 1.5 Fieldset legend text colour */

.pun LEGEND {COLOR: #6C8A3F}

It's right there in the _cs.css series of stylesheets.

24

(12 replies, posted in PunBB 1.2 troubleshooting)

Can't you add extra links in the admin CP?

25

(15 replies, posted in PunBB 1.2 troubleshooting)

Hahahaha.

I think of llama furiously pounding the enter key.

Funny in the head.