I had to edit the main.tpl file and add the 'class="sidebar"' inside a div tag (I named it 'sidebar') and I added the code that you showed me into my CSS and it worked! Thankyou!
Oh, also, I had to add to your code, I just put a BORDER-WIDTH: 0px; line in there and they dissapeared - thankyou so much!
1 2006-08-10 16:52
Re: I don't want cell borders in my Who's Online Box (2 replies, posted in PunBB 1.2 troubleshooting)
2 2006-08-10 15:13
Topic: I don't want cell borders in my Who's Online Box (2 replies, posted in PunBB 1.2 troubleshooting)
Hey everyone, just wondering if there was a way to remove the cell borders showing in my Who's Online Box.
At the moment, the box looks like this:
and the lines are annoying me so I was wondering if I could make only that pixel border 0px.
I have tried editing this code:
/* 4.1 By default borders are 1px solid */
DIV.box, .pun TD, .pun TH, .pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {
BORDER-STYLE: solid;
BORDER-WIDTH: 1px
}
By targeting specifically the DIV.box border width and changing that to 0px, but that of course affects the whole forum - I only want to remove the lines in the Who's Online Box.
Sorry if this makes hardly any sense, I was just reading over it and it seems really jumbled, I'm so tired - if it doesn't make sense, please ask me .
Oh btw, I am using the Cornflower Theme and you can check the lines out in action here: http://osmiumnet.com
3 2006-07-30 02:13
Re: Only Admins and Mods have [img] in sigs. (2 replies, posted in PunBB 1.2 troubleshooting)
Honestly, I like a fast loading forum
Yeah that's a fair point, that's why I only wanted Admins and Mods to have images - but without that feature my board will become slower so I think you're right, [img] tags off.
Thanks for replying.
4 2006-07-29 18:46
Topic: Only Admins and Mods have [img] in sigs. (2 replies, posted in PunBB 1.2 troubleshooting)
I was wondering if I could make it so that only Administrators and Moderators have images in their signatures. This is just so that the topics and posts aren't cluttered up with bulky images - I currently have a 15px height image and that's basically all I would want in signatures and because I can't really restrict what users choose to have in their signatures, I would like it so that only Administrators and Moderators have the [img] function.
5 2006-07-28 09:35
Topic: Avatar in "Who's Online?" Box (0 replies, posted in PunBB 1.2 troubleshooting)
Hey, I was wondering if someone could help me in displaying an avatar under the users name in the "Who's Online?" box. Basically I want the user who is currently logged online to see:
Welcome (user)
*Their avatar*
Registered users online:
Guests online:
Online:
Users:
Topics:
Posts:
I have opened up functions.php and found the section I assume you would need to edit (I have posted this below). Please tell me if I am going in the wrong direction.
return $lang_login['Welcome'].' <strong>'.$pun_user['username'].'</strong><br /><br />'.implode($online,'').'<br />
'.$lang_login['Users'].': <strong>'. $stats['total_users'].'</strong><br />
'.$lang_login['Topics'].': <strong>'.$stats['total_topics'].'</strong><br />
'.$lang_login['Posts'].': <strong>'.$stats['total_posts'].'</strong><br />';
}
if ($pun_config['o_users_online'] == '0')
{
$online = array();
$online[] = '<div class="clearer"></div>';
return $lang_login['Welcome'].' <strong>'.$pun_user['username'].'</strong><br /><br />'.implode($online,'').'<br />
'.$lang_login['Users'].': <strong>'. $stats['total_users'].'</strong><br />
'.$lang_login['Topics'].': <strong>'.$stats['total_topics'].'</strong><br />
'.$lang_login['Posts'].': <strong>'.$stats['total_posts'].'</strong><br />';
6 2006-07-27 14:12
Topic: I want a links box :( (0 replies, posted in PunBB 1.2 troubleshooting)
I was wondering if anyone could help me create a links box that would be shown with the User Box, Top Poster Box and Who's Online Box. Basically I need to be able to edit the content (create image links) and have it displayed on every page, just like the other boxes.
I am running PunBB Version 1.2.12 and PunFrontpage 1.4. Normally I would put the content in the user box but this is already displaying server information and I would like these links separated. Sorry if I haven't given enough information on what I want, please reply and ask me if I haven't.
Thanks in advance.
7 2006-07-17 12:53
Re: OsmiumNet (4 replies, posted in PunBB 1.2 show off)
Ahh ok, pays to read the documentation I guess
Thanks for your help! All updated
8 2006-07-17 07:14
Re: OsmiumNet (4 replies, posted in PunBB 1.2 show off)
Yeah sorry about the slow loading times, I'm going to upgrade my ISP soon, but I'm capped with OptusNet :S
Also thanks, I'll upgrade as soon as I get some time.
Edit: Hmm, just upgraded but it didn't change the version number. Like I replaced the upgraded files from punbb-1.2.12-changed_files.zip. Is there something else that I need to change?
9 2006-07-17 06:39
Topic: OsmiumNet (4 replies, posted in PunBB 1.2 show off)
Thankyou Rickard for PunBB and ross3093 for the cellfuse style (Slightly modified). PunBB was the answer to my problems; it's a small, lighweight forum, perfect for what I want to do with my website. I offer free linux shell accounts and secure FTP accounts and I needed a forum to compliment that. While the forum seems to make up the bulk of my website, other forum appplications such as phpBB would have been overkill. Thanks once again!
Here is the link:
http://osmiumnet.homeunix.net:9993/