PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#26 2006-03-17 12:05:17

kiplantt
Member
From: Lausanne (Switzerland)
Registered: 2004-10-30
Posts: 11
Website

Re: Kontrast for PunBB 1.2

Does the problem appear on the preview (link at the top of this topic)? Or, in other words, is the problem browser related?

Offline

 

#27 2006-03-17 15:46:47

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

WHAT IS THE LINK TO THE SITE?


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#28 2006-03-18 12:12:58

Blue Jester
New member
Registered: 2006-03-17
Posts: 2

Re: Kontrast for PunBB 1.2

kiplantt wrote:

Does the problem appear on the preview (link at the top of this topic)? Or, in other words, is the problem browser related?

No, this problem does not appear on the preview.
And I use both Internet Explorer and Firefox, no change sad

Offline

 

#29 2006-04-05 21:43:44

Daniel29
New member
Registered: 2006-03-04
Posts: 2

Re: Kontrast for PunBB 1.2

I have added a banner to my page. I need to know how to remove the margins to the left so the whole image can fit in the frame.

www.forumguide.se

Offline

 

#30 2006-04-06 03:29:26

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

on  my site i added a admanger program to the advertisement sections..

http://nalan.org


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#31 2006-04-30 23:27:21

Tam
New member
Registered: 2006-04-28
Posts: 2

Re: Kontrast for PunBB 1.2

how would I shorten the width? I tried changing it in the css but then the right border wont show up.

Offline

 

#32 2006-05-01 00:52:50

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

http://wiki.punres.net/Change_forum_width

To change the width of the forum
Item 5.1 in Oxygen.css change this

#punwrap {margin: 12px 20px}to this

#punwrap {width: 800px}
where it says 800px put whatever width you want, you will need to do this in each style file

[edit]To change the width and center the forum
Item 5.1 in Oxygen.css change this

#punwrap {margin: 12px 20px}to this

BODY {text-align: center}
#punwrap {width: 800px; margin: 12px auto; text-align: left}
where it says 800px put whatever width you want, you will need to do this in each style file

Retrieved from "http://wiki.punres.net/Change_forum_width"
Category: Modification


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#33 2006-09-08 05:29:29

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

yea give the link...


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#34 2007-04-12 22:13:50

neofutur
Member
From: Lima, Perou
Registered: 2006-05-18
Posts: 28
Website

Re: Kontrast for PunBB 1.2

Theme added on my premod version ( MybestBB : http://mybestbb.ww7.be ) in 1.20 release

Offline

 

#35 2007-05-04 04:29:08

catch2205
New member
Registered: 2007-05-03
Posts: 2

Re: Kontrast for PunBB 1.2

i can't find the readme file in this theme.  i am new to all of this and have no idea how to intall a mod.  please help.

Offline

 

#36 2007-12-23 21:45:39

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

Copy the maps to the right places will do enough:

In the map Style you find 1 file and 1 other map:

Kontrast.css goes intoe the style map of your forum
imports/Kontrast_cs.css goes into the style/imports map of your forum

In the IMG map you find a map called Kontrast that one goes into the IMG map of your forum. With this one you copy the whole Kontrast map including the files.

Then you go to the admin pages-> options ->default style and select Kontrast.
After this one you go to your profile and set your style also to Kontrast.

Done.

Offline

 

#37 2007-12-23 21:47:25

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

And now my question: i want to put the footer in a seperatie "balloon" so with a small space between and the bas.gif and the haut.gif as bottom and top of each balloon.
Where do i put some extra code to make this work?

Offline

 

#38 2007-12-26 01:51:47

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

Is there also a solution for the searchbox that is a little wider than the box where it is put in? The searchbox now crosses the borders of the box where it is put in.

Offline

 

#39 2007-12-26 01:53:31

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

do u have a link?

Q


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#40 2007-12-26 02:00:34

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

Actually not, i't on my MAMP server (local)  I can provide screenshots, that i will make in a second.

EDIT:
http://forum.websurfing.nl/img/gallery/ … 630918.png   -> the too wide searchbox

What i want to have in a separate balloon:
http://forum.websurfing.nl/img/gallery/ … 631006.png

Last edited by sypie (2007-12-26 02:03:38)

Offline

 

#41 2007-12-26 02:12:33

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

ok on the search bar
limit the characters number if it says 70 change it to 50 try different numbers.
can u post ur code for that?

Q


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#42 2007-12-26 11:21:05

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

I use this in combination with PunPortal. In there i can change the whole width of the sidebar, that's not what i want to do. I want to figure out how to change the size of the searchbox.


Code:

// START SUBST - <pun_portal_forum_search>

if ($pun_config['o_portal_forum_search'] == '1')

{

    ob_start();

    

require_once PUN_ROOT.'lang/'.$pun_user['language'].'/search.php';

?>

<div class="block" id="portalforumsearch">

<h2><span><?php echo $lang_portal['Forum Search'] ?></span></h2>

        <div class="box">

            <form id="search" method="get" action="<?php echo $pun_config['o_base_url'] ?>/search.php">

            <div class="inform">

            <input type="hidden"  name="action" value="search" />

            <input style="margin-bottom: 3px" type="text" name="keywords" size="25" maxlength="80" />

            <?php echo $lang_search['Show as'] ?><br />

            <select style="margin-bottom: 3px" name="show_as">

            <option value="topics"><?php echo $lang_search['Show as topics'] ?></option>

            <option value="posts"><?php echo $lang_search['Show as posts'] ?></option>

            </select><br />

            <input type="submit" name="search" value="<?php echo $lang_common['Submit'] ?>" accesskey="s" />

            </div>

        </form>

    <a href="<? echo $pun_config['o_base_url'] ?>/search.php">Advanced Search</a>

    </div>

</div>

<?

    $tpl_temp = trim(ob_get_contents());

    $tpl_main = str_replace('<pun_portal_forum_search>', $tpl_temp, $tpl_main);

    ob_end_clean();

}

else

    $tpl_main = str_replace('<pun_portal_forum_search>', '', $tpl_main);

// END SUBST - <pun_portal_forum_search>

Last edited by sypie (2007-12-26 11:27:05)

Offline

 

#43 2007-12-26 16:18:58

quaker
Member
From: Bama,USA
Registered: 2006-02-23
Posts: 968
Website

Re: Kontrast for PunBB 1.2

that what i was talking about to set the width of the search block to a certain size.
ill look at the code and see how to add it or make the search block smaller.


Q


My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Offline

 

#44 2007-12-26 18:25:55

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 415

Re: Kontrast for PunBB 1.2

The search input box width is defined by the size= parameter.

Offline

 

#45 2007-12-26 18:37:29

sypie
Member
From: Netherlands
Registered: 2007-10-07
Posts: 16
Website

Re: Kontrast for PunBB 1.2

Check. That's the one indeed. Thank you for helping me out. Not knowing code is not really a problem sometimes, but with this small thing i couldn't find.

Offline

 

#46 2008-02-04 21:33:51

calvet
New member
Registered: 2008-02-03
Posts: 2

Re: Kontrast for PunBB 1.2

I changed the new and nonew icons for the forum however because the graphic sizes are different it's not displaying properly. Where do I reset the width and height for new and nonew using your Style?

Last edited by calvet (2008-02-04 21:34:26)

Offline

 

#47 2008-02-05 03:50:11

Dr.Jeckyl
Member
Registered: 2005-06-17
Posts: 231

Re: Kontrast for PunBB 1.2

In here in Kontrast.css:

Code:

/****************************************************************/
/* 10. POST STATUS INDICATORS */
/****************************************************************/

Offline

 

#48 2008-02-10 02:16:17

calvet
New member
Registered: 2008-02-03
Posts: 2

Re: Kontrast for PunBB 1.2

I noticed that this style does not center exactly as it should. It seems to have some extra padding on the right side somewhere but I yet to find it. Can you tell how I can get rid of this extra margin or padding. Thank you.

Last edited by calvet (2008-02-10 02:16:46)

Offline

 

#49 2010-08-14 12:14:18

JezzaTaler
New member
Registered: 2010-08-14
Posts: 1

Re: Kontrast for PunBB 1.2

Very cool style. Thanks tot he poster for the CSS fix also.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.