26

(19 replies, posted in General discussion)

Made a few new:
(NB! over 2mb each 2560x1600)

With text.
http://www.epixplx.com/images/galleries … normal.png
http://www.epixplx.com/images/galleries … .color.png

Without text:
http://www.epixplx.com/images/galleries … ne.txt.png
http://www.epixplx.com/images/galleries … .light.png

Tried with the orginal image to, but way to much pixelation..
http://www.epixplx.com/images/galleries … o.font.png

MySQLI:
Object-oriented interface
Prepared statements
Bound input and output parameters
SSL connections
Multi-query functions
Designed to work with the version 4.1.3 or above of MySQL

##
##
##        Mod title:  Horizontal Layout for Viewtopic
##
##      Mod version:  1.0
##   Works on PunBB:  1.2.15
##     Release date:  05.11.2007
##           Author:  Tjalve @ punbb.org / punres.org 
##              Azog @ epixplx.com
##
##      Description:  This mod allows the user too change his viewtopic layout to horizontal.
##              This is done via changing your style, too a style with the name %stylename%_horizontal.
##              Valid XHTML 1.0 Strict!
## 
##   Affected files:  viewtopic.php
##
##       Affects DB:  No
##
##            Notes:  None
##
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Download here

This is my first official mod, so if anyone have pointers please say so smile

especial wondering if this is the best and fastest way too do it...

    if (ereg ('([A-Za-z])_horizontal', $pun_user['style'])){
        include('horizontal_layout.php');
    }else{
        include('normal_layout.php');
    }

29

(2 replies, posted in PunBB 1.2 troubleshooting)

Had some problems with the reg. email.. (didn't get one)
So I got PhaxeNor change my password (ta again).

30

(19 replies, posted in General discussion)

Jérémie wrote:

I'm not sure I've seen a vector format of the PunBB logo...

Liquidat0r just gave me the link on IRC... and I have been waisting my time converting the png files too vector :S
http://punbb.org/download/logo/

31

(19 replies, posted in General discussion)

Been working on some more wallpapers, hope you like them smile

Tried too make 2 wallpaper for mercury and cobalt but they are pretty hard too see hmm :
http://www.epixplx.com/images/galleries … Cobalt.png
http://www.epixplx.com/images/galleries … ercury.png

Star blue: (OBS! 2.2mb each 2560x1600)
http://www.epixplx.com/images/galleries … 0_v3.1.png
http://www.epixplx.com/images/galleries … 600_v4.png
http://www.epixplx.com/images/galleries … 600_v5.png

Star greay: (OBS! 2.2mb each 2560x1600)
http://www.epixplx.com/images/galleries … 0_1600.png

Star orange: (OBS! 2.2mb each 2560x1600)
http://www.epixplx.com/images/galleries … 0_1600.png
http://www.epixplx.com/images/galleries … 0_v2.1.png

32

(2 replies, posted in PunBB 1.2 troubleshooting)

Got some annoying css  problems with aligning divs...
In IE the last div is too long BUT only at some resolutions.
FF it's off by 1px on one side or 1px on each side, dependent of your screen res. Same with opera.


trying too align divs with tc1, tc2, tc3 and tcr....

$border = '<div class="border"><div class="xsnazzy"><b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b></div><div class="postborder"><b class="postb"><b class="xb44"></b><b class="xb43"></b><b class="xb42"></b><b class="xb41"></b></b></div><div class="ysnazzy"><b class="xbottom"><b class="xb34"></b><b class="xb33"></b><b class="xb32"></b><b class="xb31"></b></b></div></div/>';

if ($cur_category != 0)
            echo "\t\t\t".'</tbody>'."\n\t\t\t".'</table>'."\n\t\t".'</div>'."\n\t".'</div>'."\n".''.$border.'</div>'."\n\n";

In FF on 1680x1050 the third div (aligning 1px off with tc1) is off on the right (by 1 px), but when you logout the 1px is on the left(aligning 1px off with tcr).
If anyone could take a quick peak and see if they find whats wrong, I would be great full.

http://www.epixplx.com/dev/

33

(19 replies, posted in PunBB 1.2 show off)

Done a few things, mostly validation fixes but(arg!)..

You can now see the horizontal layout as guest.. http://forums.epixplx.com/viewtopic.php?id=5143
Fixed A LOT too get the pages back too XHTML 1.0 strict
Index and viewforum are 100% XHTML 1.0 strict.
Viewforum is pretty much impossible to get it valid, since I can't live without modern bbcode mod, and some other custom bbcodes.

Still working on the rounded edges, just takes some time to get it working(perfect) inn any thing but FF tongue

34

(17 replies, posted in PunBB 1.2 show off)

Yeah, you can even get oxygen to look good with that style tongue

http://www.epixplx.com/images/galleries … _title.png

Some users on my forum requested the old layout back and some liked the new one... so I changed the code a bit. Just added an "if $pun_user['style'] == 'Mercury_horizontal'", so now you can choose what layout you want to use.

http://www.epixplx.com/punbb/horizontal … normal.php

Don't know if include or a big if/else statement is faster, just that this was cleaner tongue

This is the current setup...
Index.php, viewtopic.php (with same $pid) and viewforum.php (with same $id) 100 times (takes about 20sec) (running wget -r -1 -0 url now)
Show_avatar and show_sig is set to 0, so it don't load any off-site images.

Forum Stats
Users: 888
Topics: 4,753
Posts: 36,173

Index lists:
4 cats
22 forums
extra nav links
announcement

Viewforum lists:
One forum with 47pages (1385 topics)

Viewtopic lists:
One post with 40 post (2 pages, some bbcodes and nice blocks of text)

The load time is then inserted into a table via fotter.php.
then a simple "sum() / count(*)" and rounded up too 3 des.

Is this gonna work better?
x= over 10k atleast
Fill _topic with same topic with 1/40 of _posts
Fill _posts with x posts the same 40 and change topic_id every 40 post.
lower query_cache_size a bit (under 8mb)
Run wget and crawl through the site.


Would this work better,  just what too know before I use 2 hr of my time.

ok thanks, and I forgot about the query_cache_size in mysql....

So I guess there is no way too get a real load time if you just run the same 3 files over and over ?

I'm running some speed tests on the current alpha of 1.3, just for fun.

And I was wondering if running the php pages from console over and over again would skew the results? (is there any internal cashing for php etc)

Current script (.sh):
php -f index.php
php -f viewtopic.php
php -f viewforum.php

this is repeated 100 times.

40

(19 replies, posted in General discussion)

Here are the vector image if anyone wants it.

http://www.epixplx.com/images/galleries … vector.svg

And inn png if you cant edit/open svg
http://www.epixplx.com/images/galleries … 20x430.png

Free too use for ANYONE ofc.

41

(19 replies, posted in PunBB 1.2 show off)

Dr.Jeckyl wrote:

@Tjalve: would you mind sharing that style when you're done? I've been looking to make the user info on top of the posts like you've got it now.

edit: found how you did the info on top: http://punbb.org/forums/viewtopic.php?id=16996

i'd stil be interested in the style tho.

Here is what I currently have at the end of Mercury.css:

div.userinfo td {
    
    BORDER-WIDTH: 0px
}

div.userinfo table {
    border-bottom: 1px dashed #565656;
}

div.postmsg, div.postsignature {
    margin: 5px;
}

And then OFC the html, witch you already found smile

If you still whant the complete style sheet just rip these smile
http://www.epixplx.com/dev/style/Mercury.css
http://www.epixplx.com/dev/style/imports/Mercury_cs.css
http://www.epixplx.com/dev/style/imports/base.css

42

(19 replies, posted in PunBB 1.2 show off)

Replace:

            <div class="postleft">
                <dl>
                    <dt><strong><?php echo $username ?></strong></dt>
                    <dd class="usertitle"><strong><?php echo $user_title ?></strong></dd>
                    <dd class="postavatar"><?php echo $user_avatar ?></dd>
                    <?php if (count($user_info)) echo "\t\t\t\t\t".implode('</dd>'."\n\t\t\t\t\t", $user_info).'</dd>'."\n"; ?>
                    <?php if (count($user_contacts)) echo "\t\t\t\t\t".'<dd class="usercontacts">'.implode('  ', $user_contacts).'</dd>'."\n"; ?>
                </dl>
            </div>
            <div class="postright">
                <h3><?php if (($post_count + $start_from) > 1) echo ' Re: '; ?><?php echo pun_htmlspecialchars($cur_topic['subject']) ?></h3>

With:

    <div class="userinfo">
        <table cellpadding="0" cellspacing="10" border="0" width="100%">
        <tr>
            <td class="userimg"><?php echo $user_avatar ?></td>
            <td nowrap="nowrap">
                <div id="username">
                    <strong><?php echo $username ?></strong>
                </div>
                <div class="user_title">
                    <strong><?php echo $user_title ?></strong>
                </div>
            </td>
            <td width="100%"> </td>
            <td valign="top" nowrap="nowrap">    
                    <div class="userinfo">
                        <?php if (count($user_info)) echo "\t\t\t\t\t".implode('</dd>'."\n\t\t\t\t\t", $user_info).'</dd>'."\n"; ?>
                        <?php if (count($user_contacts)) echo "\t\t\t\t\t".'<dd class="usercontacts">'.implode('  ', $user_contacts).'</dd>'."\n"; ?>
                        <?php if ($cur_post['poster_id'] > 1) echo '<p>'.$is_online.'</p>'; ?>
                    </div>
            </td>
        </tr>
        </table>
      </div>

css too clean it up:

div.userinfo td {
    
    BORDER-WIDTH: 0px
}

div.userinfo table {
    border-bottom: 1px dashed #565656;
}

div.postmsg, div.postsignature {
    margin: 5px;
}

43

(19 replies, posted in PunBB 1.2 show off)

MattF wrote:
Tjalve wrote:

Trying to find out what is wrong... any ideas?

I may be in ball bearings for eyes mode, but what problem? big_smile All I can see is the space after index in the <a link in that screenshot.

Try http://www.epixplx.com/dev/ in IE and safari....
And a strange prob in FF, if you are logged inn everything is fine and aligned, but when you logout the there is a 2px alignment error on index.php.

44

(19 replies, posted in PunBB 1.2 show off)

hmm just noticed how fucked the corners was in IE and safari, so I removed them. (hopefully temporally, that what you get for testing the site in only FF )

//edit

The rounded corners are now at http://www.epixplx.com/dev/

45

(19 replies, posted in PunBB 1.2 show off)

hmm wtf, first I couldn't find it, but after a while I logged out and there it was.. o.O

Trying to find out what is wrong... any ideas?

46

(19 replies, posted in PunBB 1.2 show off)

The rounded corners are 100% html and css.

HTML

<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>

CSS

.xb51, .xb52, .xb53, .xb54 {display:block; overflow:hidden;}
.xb51, .xb52, .xb53 {height:1px;}
.xb52, .xb53, .xb54 {background:#383838; border-left:1px solid #565656; border-right:1px solid #565656;}
.xb51 {margin:0 5px; background:#565656;}
.xb52 {margin:0 3px; border-width:0 2px;}
.xb53 {margin:0 2px;}
.xb54 {height:2px; margin:0 1px;}

47

(19 replies, posted in PunBB 1.2 show off)

That bad, eh? tongue

48

(19 replies, posted in General discussion)

Finally got around too make it new wallpaper...this time I made a real vector image of the logo smile

A simple wallpaper, since my artistic sense is missing (know what to do but can never come up with anything cool and original). So if anyone have ideas, please post em and I'll see what I can do. smile

http://www.epixplx.com/images/#PunBB

Open you config.php file and edit the "$db_type = 'mysqli';" too "$db_type = 'mysql';" .


And send a e-mail too the sysadmin and ask if they are bringing the mysqli module up again..

50

(19 replies, posted in PunBB 1.2 show off)

Been using punbb for about 2 years now, and I thought it was about time too show you my current forum.
So here we go....

Forum:
http://forums.epixplx.com

News:
http://epixplx.com

Image too show the full layout:
http://www.epixplx.com/images/galleries/PunBB/forum.jpg

Username Menu pop-up :
http://www.epixplx.com/images/galleries/PunBB/Username.gif

And my dev site:
http://epixplx.com/dev

Changes from the live forums:
viewtopic got a horizontal layout (like vb) http://www.epixplx.com/dev/viewtopic.php?id=5051

If anyone has ideas on what too improve, please say so :) .