1

(70 replies, posted in News)

Anatoly wrote:
Vovochka wrote:

http://www.gnu.org/licenses/gpl.html
PunBB breaks 5.a because all FluxBB copyrights are removed.

Smartys wrote:

No matter what, if code based on FluxBB is used, then FluxBB's copyright statement has to be kept intact.

Yup. This will be done.
Sorry for oversight.

MattF wrote:
Anatoly wrote:
Vovochka wrote:

http://www.gnu.org/licenses/gpl.html
PunBB breaks 5.a because all FluxBB copyrights are removed.

Smartys wrote:

No matter what, if code based on FluxBB is used, then FluxBB's copyright statement has to be kept intact.

Yup. This will be done.

When? The RC download still has the copyright violation, judging by the quick look I just had.

MattF wrote:
Anatoly wrote:
MattF wrote:

When? The RC download still has the copyright violation, judging by the quick look I just had.

It doesn't seem to us a good idea to modify already openly released version.

To be honest, it doesn't matter a monkeys what your companies opinion is on this matter. You are directly violating a copyright. That is not a matter you address at your convenience or when you see fit. Plus, there is no valid technical reason not to update that source with a valid copyright. It would neither directly nor indirectly affect anything.

Totaly agree with you there MattF.

Frankly it is disgusting that the copyright violation was not corrected instantly. Suggests to me it was done on purpose in the first place, otherwise why not rectify it immediately.

Got to love the GPL though haven`t you, suck what you want out of it (or should I say the developers, who work for free), break the terms, suffer no consequences and reap the benefits.

You could at least comply with the license. Discrasefull.

EDIT:
Moreover I doubt Rickard would of let this in the first place, let alone go unamended.

Don`t get me wrong, after you pointed out the reasons for haveing it I think it`s good Pun does it that way, it`s just not for me.

My sites not aimed at the blind, and the off chance that a blind user may visit doesn`t justify an extra image. Especially as I don`t know how well the rest of my site does on the accessibility side.

Well that makes more sense, thanks for explaining. I still don`t like it though because non of those things apply to my forum atm, guess it`s up to me to change it then.

I have to say I`m not likeing the move to use a 1x1 px png which doesn`t do anything. Or does it?

5

(48 replies, posted in News)

Best news of the year smile

Goes to crunch..

6

(3 replies, posted in PunBB 1.2 troubleshooting)

Check out the markup on my forum, I edited the source code to move the crumbs above the page numbers. You basicly just need to move the list up and down for the top and bottom crumbs respectivly.

So for the crumbs at the top of the forum page, change this in viewforum.php..

<div class="linkst">
    <div class="inbox">
        <p class="pagelink conl"><?php echo $paging_links ?></p>
<?php echo $post_link ?>
        <ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul>
        <div class="clearer"></div>
    </div>
</div>

to this..

<div class="linkst">
    <div class="inbox">
        <ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul>
        <p class="pagelink conl"><?php echo $paging_links ?></p>
<?php echo $post_link ?>
        <div class="clearer"></div>
    </div>
</div>

and for the crumbs at the bottom of the forum page, change this again in viewforum.php..

<div class="linksb">
    <div class="inbox">
        <p class="pagelink conl"><?php echo $paging_links ?></p>
<?php echo $post_link ?>
        <ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul>
        <div class="clearer"></div>
    </div>
</div>

to this..

<div class="linksb">
    <div class="inbox">
        <p class="pagelink conl"><?php echo $paging_links ?></p>
<?php echo $post_link ?>
        <div class="clearer"></div>
        <ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul>
    </div>
</div>

It`s basicly the same thing for the other files. Good luck.

Oops

[url=http://example.com/][img]http://example.com/image.gif[/img][/url]

Replace the link text with the image tag and url like so

9

(7 replies, posted in PunBB 1.2 show off)

Funny you should mention 1.3.. origionaly I was going to install that because it looks a lot better than 1.2 by default, saving me making a style.. but decided against because it`s still in development.

So, I incorporated a few design elements from 1.3 (aside from moving the crumbs over lo the left, I did that before the change was made to the branch tongue) and based it on the style from my old site.

It took a while to get the colours right but I`m very pleased with the result even if I do say so myself! It`s fresh, clean and clear. The content shines through the style imo.

As for releasing it, don`t think I`ll bother but of course you free to use it as you like.

Thanks for all your comments.

EDIT: Removed dead link.

10

(7 replies, posted in PunBB 1.2 show off)

Explore

To do list:
Put crumbs/ads on the forum index
use php to include a .js file on the site if IE6 detected


You may recognise the inew indicator wink

Comments and suggestions welcome.

11

(14 replies, posted in PunBB 1.2 discussion)

What does the "[1]" do because the origional code appears to work fine.. I have it on a live forum now too.

Looks like it`s in viewtopic.php

13

(14 replies, posted in PunBB 1.2 discussion)

Thank you so much orlandu63.

14

(14 replies, posted in PunBB 1.2 discussion)

anyone??

15

(14 replies, posted in PunBB 1.2 discussion)

Nice find orlandu63 smile

So how would one go about implementing this optimization into 1.2?.. smartys said the above code wouldn`t work.. or is this optimization only applicable to 1.3..

Looks the same in IE7 too. Grr.

EDIT:
Aha, this works for IE

#link1 {
    float: right;
    width: 2.2em;
    white-space: nowrap;
}

#link2{
    float: right;
}

#link3{
    float: right;
}

Now just to figure out how to hide the width attributes from IE.

EDIT:
I think the child selector command will work.

I hate IE it`s a pain in the arse

http://img35.picoodle.com/img/img35/5/11/5/f_hateiem_dcb5b0a.gif

Paul you know your stuff, why isn`t there a self destruct button for all instances of ie 6?? er I mean, any ideas why this happens? I`m using em and it displays ok in FF and Opera..

#link1{
    float: right;
    width: 2.2em;
    white-space: nowrap;
}

#link2{
    float: right;
    width: 6.8em;
}

#link3{
    float: right;
    width: 11.6em;
}

Yeah I`ll change to em`s later, thanks for the reminder though.

Just one last note, you can`t use the additional menu items option because the they will appear above the floated right links in the source which pushes them out of line.
I`ve just hard coded the extra link I wanted into functions.php, there might be a way to have them apear below the floated links but I`ve not bothered looking.

I can usually figure stuff out eventually but this had me stumped. It`s all very quick and easy when you know how!

Your simple solution of putting both links in the same list item half works, only way to space them is with multiple   and if each link isn`t in it`s own li then I might aswell remove the list altogether and use divs instead. Luckily setting the width for each link worked so I can stay with the more semantic list. smile

The final result then:
http://img29.picoodle.com/img/img29/5/11/5/f_punbblifloam_a096421.gif

functions.php

    // Index and Userlist should always be displayed
    $links[] = '<li class="navextra1"><a href="index.php">Link 1</a>';
    $links[] = '<li class="navextra2"><a href="index.php">Link 2</a>';
    $links[] = '<li class="navextra3"><a href="index.php">Link 3</a>';
    $links[] = '<li id="navindex"><a href="index.php">'.$lang_common['Index'].'</a>';
    $links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';

CSS

.navextra1 {
    float: right;
    width: 24px;
    white-space: nowrap;
}

.navextra2 {
    float: right;
    width: 74px;
}

.navextra3 {
    float: right;
    width: 124px;
}

The width and white-space attributes on the first link are only necessary to control the space between the link and edge of the board.

Thanks to everyone who helped and I did say I`d paypal some cash for a solution, so how much do I owe who?

Sure

.navextra {
    float: right;
    display: inline;
    margin-right: 12px;
    padding-right: 10px;
    clear: both;
}

I tried using a div to clear then aswell

Here`s an image of the two links ontop of each other on the right..

http://img152.imageshack.us/img152/7440/clipboard04am9.gif

Anyone? I`m stuck sad

Yep and no luck.

normaly yeah but it doesn`t work on this float for reasons I wish I knew.

EDIT:
I have a feeling it`s not possible to acheive this with one list. Again I could be wrong but for the life of me I can`t figure it out.

punbb automagicaly closes it a few lines down in functions.php