- black theme*

(* almost)



(11 replies, posted in PunBB show off)

DNAImagery wrote:

faax, very impressive, but how did you change the sticki note icon?

I went here
/* Status indicators
.brd .main-content .sticky .icon {
    border-color: #D7E5F3 #C3CFDC #9FB3C7 #90A2B4;

and put in

.brd .main-content .sticky .icon {

but it doesn't work.

i define .icon in style.css

.brd .main-content .main-item .icon {
     border-width: 0;
     height: 16px;
     width: 16px;
    position: absolute;
    left: 15px;
    margin-top: 17px;
    display: block;

and than in style_cs.css

.brd .main-content .sticky .icon {
    background:url(sticki.gif) no-repeat;

be carefull what you do... there is a lot of css changes...

petebaldwin wrote:
AMG wrote:

very nice..  good work..


tnx / hvala smile


(11 replies, posted in PunBB show off)

it's active 7 days and still it's BETA ... i'm workin'g on it smile


(11 replies, posted in PunBB show off)

Extensions used: Profile About Subscriptions Link, Active Topics List on Index, Admin add user, Antispam System, Default Avatar, Gender Profile tag, Improved online list, Latest posts on profile, Private Messaging, Pun Admin Manage Extensions Improved, PunBB Repository, Show links in new window, Show subscriptions, Subforums, Subscribe User and VideoTag.

Some major css changes (not fully done jet, i'm work on it)

And that's all...



(6 replies, posted in PunBB show off)

i don't have time but i'm try... sometime


(6 replies, posted in PunBB show off)

It's just PSD of design
how it look like?


(6 replies, posted in PunBB show off)

Well im back to PunBB smile here is screenshot

i will create some theme 4 all soon and Bosnian language update too smile



(49 replies, posted in PunBB 1.2 discussion)

i'm only think i can help and it's bug... and notify to fix it...


(49 replies, posted in PunBB 1.2 discussion)

i think there is error to set charset... doe's not work... i set windows-1250 like on PunBB 1.2.* and letters like ???? are not show like i write...
i test this maybe before long time... I'm download PunBB manualy file by file huuuuh... and test

sorry 4 my bad english


(8 replies, posted in PunBB 1.2 show off)

me too use IE7 and all seems cool, later i'ill fix Mozilla...


(8 replies, posted in PunBB 1.2 show off)

Dr.Jeckyl wrote:

the the preview hover on threads with bbcode in them show the raw bbcode and not the parsed output in firefox 2.0.01. other than that it's very nice.

ahmm... my english is bad... can you take screenshot or help me to fix it?
I'm using Internet Explorer Beta7 and seems perfect...


(8 replies, posted in PunBB 1.2 show off)

it's on bosnian language... it's migrated punbb from phpbb

P.S. Rickard can you tell me how many times (language) is downloaded? If you can add download counter in download.php page it will be great...
I think...

I'm workin on this forum (this is a demo) and what you think can i present PunBB on Bosnian language with official page with all "thing's" for PunBB on Bosnian language?


(8 replies, posted in PunBB 1.2 show off)

see here any sugestions?

Download Lightbox2 and unpack to folder lbox. Go to /lbox/ and copy (not cut) folder /images/ and paste to PUN_ROOT.

Now if you have installed image_upload_mod:

Open header.php


 echo '<link rel="stylesheet" type="text/css" href="style/imports/image_upload.css" />'."\n";

After add:

echo '<script type="text/javascript" src="lbox/js/prototype.js"></script>'."\n";
      echo '<script type="text/javascript" src="lbox/js/scriptaculous.js?load=effects"></script>'."\n";
      echo '<script type="text/javascript" src="lbox/js/lightbox.js"></script>'."\n";
      echo '<link rel="stylesheet" href="lbox/css/lightbox.css" type="text/css" media="screen" />'."\n";

Open image_upload.php (located in /includes/image_upload)


if (!$edit) $output[] = "\t\t\t\t\t\t\t\t\t<a href='postgallery.php?".

Replace with:

$source = $pid.'/';
            if (!$edit) $output[] = "\t\t\t\t\t\t\t\t\t<a href='uploads/".$source.
                                    "$url_name' rel='lightbox[roadtrip]'>";

But i have only one problem. If i upload some image with space in filename Lightbox don't work (space become +) anyone know where i can change -> to space become % ?

Sorry about my bad English wink


(1 replies, posted in PunBB 1.2 show off)

Some info about footer:
Bazirano na PunBB forumima © - Based on PunBB Forums ©
Za izgled zaslu?an faax - Desing by faax
Sva prava pridr?ana od strane autora! - All Rights Reserved!


(1 replies, posted in PunBB 1.2 show off)

see here

i think there is somewere code...

// Collect some statistics from the database
$result = $db->query('SELECT COUNT(id)-1 FROM '.$db->prefix.'users') or error('Unable to fetch total user count', __FILE__, __LINE__, $db->error());
$stats['total_users'] = $db->result($result);

$result = $db->query('SELECT id, username FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
$stats['last_user'] = $db->fetch_assoc($result);

$result = $db->query('SELECT SUM(num_topics), SUM(num_posts) FROM '.$db->prefix.'forums') or error('Unable to fetch topic/post count', __FILE__, __LINE__, $db->error());
list($stats['total_topics'], $stats['total_posts']) = $db->fetch_row($result);

<div id="brdstats" class="block">
    <h2><span><?php echo $lang_index['Board info'] ?></span></h2>
    <div class="box">
        <div class="inbox">
            <dl class="conr">
                <dt><strong><?php echo $lang_index['Board stats'] ?></strong></dt>
                <dd><?php echo $lang_index['No of users'].': <strong>'. $stats['total_users'] ?></strong></dd>
                <dd><?php echo $lang_index['No of topics'].': <strong>'.$stats['total_topics'] ?></strong></dd>
                <dd><?php echo $lang_index['No of posts'].': <strong>'.$stats['total_posts'] ?></strong></dd>
            <dl class="conl">
                <dt><strong><?php echo $lang_index['User info'] ?></strong></dt>
                <dd><?php echo $lang_index['Newest user'] ?>: <a href="profile.php?id=<?php echo $stats['last_user']['id'] ?>"><?php echo pun_htmlspecialchars($stats['last_user']['username']) ?></a></dd>

if ($pun_config['o_users_online'] == '1')
    // Fetch users online info and generate strings for output
    $num_guests = 0;
    $users = array();
    $result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());

    while ($pun_user_online = $db->fetch_assoc($result))
        if ($pun_user_online['user_id'] > 1)
            $users[] = "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';

    $num_users = count($users);
    // Most users-mod START
    // Set up the query and get the data
    $result = $db->query('SELECT * FROM '.$db->prefix.'most_users') or error('Unable to fetch most users online data', __FILE__, __LINE__, 


    $max_users_online = $db->fetch_assoc($result);
    // Add users and guests ´to $currently_online.
    // If you don't want to include guests, remove ' + $num_guests' below..
    $currently_online = $num_users + $num_guests;
    // If the amount of currently online users are more or equal to what was previously recorded..
    if ($currently_online>=$max_users_online['most_online']) 
        // Set the time
        $max_users_online['when_was_it'] = time();
        // Set the amount of online users
        $max_users_online['most_online'] = $currently_online;
        // Store it in the table
        $db->query('UPDATE '.$db->prefix.'most_users SET most_online='.$currently_online.', when_was_it='.$max_users_online['when_was_it']) or error('Unable to update most users online data', __FILE__, __LINE__, $db->error());
    // Most users-mod END
    // utilisateurs en ligne aujourd'hui
    $date = getdate(time());
    $todaystamp = mktime(0,0,0, $date['mon'], $date['mday'], $date['year']);

    $result = $db->query('SELECT username, id, last_visit from '.$db->prefix.'users WHERE last_visit >= \''.$todaystamp.'\' ORDER by last_visit DESC') or error('Impossible de retrouver la liste des utilisateurs en ligne aujourd\'hui', __FILE__, __LINE__, $db->error());

    $users_today = array();
    while ($pun_user_online_today = $db->fetch_assoc($result))
        $users_today[] .=  "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online_today['id'].'" title="Derni?re visite de '.$pun_user_online_today['username'].' : '.format_time($pun_user_online_today['last_visit']).'">'.$pun_user_online_today['username'].'</a>';
    $num_users_today = count($users_today);
    echo "\t\t\t\t".'<dd>'.$lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Users today'].': <strong>'.$num_users_today.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong></dd>'."\n\t\t\t".'</dl>'."\n";

    if ($num_users > 0)
        echo "\t\t\t".'<dl id="onlinelist" class= "clearb">'."\n\t\t\t\t".'<dt><strong>'.$lang_index['Online'].': </strong></dt>'."\t\t\t\t".implode(',</dd> ', $users).'</dd>'."\n\t\t\t".'</dl>'."\n";
        echo "\t\t\t".'<div class="clearer"></div>'."\n";
    // liste utilisateurs en ligne aujourd'hui
    echo "\t\t\t".'<dl id="onlinetodaylist">'."\n\t\t\t\t".'<dt><strong>'.$lang_index['Online today'].': </strong></dt>';
    if ($num_users_today > 0) 
        echo implode(' </dd> ', $users_today).'</dd>'."\n\t\t\t".'</dl>'."\n";
        echo '<dd><em>jo? niko ;)</em></dd>'."\n\t\t\t".'</dl>'."\n";
    echo "\t\t".'</dl>'."\n\t\t\t".'<div class="clearer"></div>'."\n";



(3 replies, posted in PunBB 1.2 show off)

not done yet


(3 replies, posted in PunBB 1.2 show off)

i work on this it's not finish yet but almost done! This is (see topic name), first is here

Tubby my fault...
open chatbox.php find (line ~ 26):

require PUN_ROOT.'include/common.php';

and replace with:

/* require PUN_ROOT.'include/common.php'; */

('coz common.php is already included from index.php)

see here...

there is by CodeXP (download and install)
set up height and width from Administration / plugins.
open index.php, find (line ~ 39):

require PUN_ROOT.'header.php';

add after:

include PUN_ROOT.'chatbox.php';

open chatbox.php, remove lines wich include header.php and footer.php
open /include/js/ajax_chat.js, find:'POST', 'chatbox.php', true);

replace with:'POST', 'index.php', true);

find again:'POST', 'chatbox.php', true);

replace with:'POST', 'index.php', true);

find:'POST', 'chatbox.php?get_host='+hostId, true);

replace with:'POST', 'index.php?get_host='+hostId, true);

find:'POST', 'chatbox.php?del='+delThis+'&usr='+usrPostCount, true);

and replace with:'POST', 'index.php?del='+delThis+'&usr='+usrPostCount, true);

save/upload & check your index.php

if you have error post here... maybe i miss something wink

you have error because of header.php
check mail i can't post here