2 2009-09-23 20:13
Re: Huuuh almost done :) (11 replies, posted in PunBB show off)
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 {
background-image:url('/img/sticki.gif');
}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...
AMG wrote:very nice.. good work..
Bravo!
tnx / hvala
3 2009-08-12 13:12
Re: Huuuh almost done :) (11 replies, posted in PunBB show off)
it's active 7 days and still it's BETA ... i'm workin'g on it
4 2009-08-11 13:16
Topic: Huuuh almost done :) (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...
Comments?
5 2009-08-11 13:11
Re: theme :) (6 replies, posted in PunBB show off)
i don't have time but i'm try... sometime
6 2009-03-27 08:51
Re: theme :) (6 replies, posted in PunBB show off)
8 2007-01-31 09:05
Re: PunBB 1.3 Preview (49 replies, posted in PunBB 1.2 discussion)
i'm only think i can help and it's bug... and notify to fix it...
9 2007-01-31 01:14
Re: PunBB 1.3 Preview (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
10 2007-01-29 00:39
Re: Just a DEMO (8 replies, posted in PunBB 1.2 show off)
me too use IE7 and all seems cool, later i'ill fix Mozilla...
11 2007-01-27 09:28
Re: Just a DEMO (8 replies, posted in PunBB 1.2 show off)
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...
12 2007-01-27 09:25
Re: Just a DEMO (8 replies, posted in PunBB 1.2 show off)
it's on bosnian language... it's migrated punbb from phpbb
13 2007-01-27 00:24
Re: PunBB on bosnian language... yes or no? (1 replies, posted in PunBB 1.2 discussion)
P.S. Rickard can you tell me how many times Bosnian.zip (language) is downloaded? If you can add download counter in download.php page it will be great...
I think...
14 2007-01-27 00:08
Topic: PunBB on bosnian language... yes or no? (1 replies, posted in PunBB 1.2 discussion)
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?
15 2007-01-26 23:43
Topic: Just a DEMO (8 replies, posted in PunBB 1.2 show off)
see here any sugestions?
16 2006-12-20 12:34
Topic: Add Lightbox to image upload mod (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
Find:
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)
Find:
if (!$edit) $output[] = "\t\t\t\t\t\t\t\t\t<a href='postgallery.php?".
"pid=$pid&filename=$url_name'>";
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
17 2006-12-18 12:02
Re: My new intergration (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!
19 2006-07-18 12:24
Re: I need a users online today mod (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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>
<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>
<?php
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>';
else
++$num_guests;
}
$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__,
$db->error());
$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";
else
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";
else
echo '<dd><em>jo? niko ;)</em></dd>'."\n\t\t\t".'</dl>'."\n";
}
else
echo "\t\t".'</dl>'."\n\t\t\t".'<div class="clearer"></div>'."\n";
?>
</div>
</div>
</div>
21 2006-07-06 16:02
Topic: my second forum (3 replies, posted in PunBB 1.2 show off)
22 2006-07-06 15:58
Re: ChatBox (ajax) on index.php (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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)
23 2006-07-05 12:10
Re: OLD TOPIC TO DELETE (65 replies, posted in PunBB 1.2 modifications, plugins and integrations)
see here...
24 2006-07-05 12:02
Topic: ChatBox (ajax) on index.php (9 replies, posted in PunBB 1.2 modifications, plugins and integrations)
there is ChatBox_ajax.zip 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:
http.open('POST', 'chatbox.php', true);
replace with:
http.open('POST', 'index.php', true);
find again:
http.open('POST', 'chatbox.php', true);
replace with:
http.open('POST', 'index.php', true);
find:
http.open('POST', 'chatbox.php?get_host='+hostId, true);
replace with:
http.open('POST', 'index.php?get_host='+hostId, true);
find:
http.open('POST', 'chatbox.php?del='+delThis+'&usr='+usrPostCount, true);
and replace with:
http.open('POST', 'index.php?del='+delThis+'&usr='+usrPostCount, true);
save/upload & check your index.php
if you have error post here... maybe i miss something
25 2006-07-04 11:53
Re: OLD TOPIC TO DELETE (65 replies, posted in PunBB 1.2 modifications, plugins and integrations)
you have error because of header.php
check mail i can't post here