301

(16 replies, posted in PunBB 1.2 discussion)

http://browsershots.org/website/http:// … cttest.php

302

(13 replies, posted in PunBB 1.2 discussion)

the mod i made, links with category is valid smile

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
kierownik wrote:

It should look like this

include("/home/www/xxxxxx/www/forums/extern.php?action=active&show=18&fid=9,7,12,13,8,15,16,17,18,20,4,22,23");

and get rid of the define('PUN_ROOT','../../'); it is already defined.

instead of /home/www/xxxxxx/www/forums/ put your webadress to that file there and it should work

i use this http://kierownik.nl/extern.php?action=new&show=10

It should look like this

include("/home/www/xxxxxx/www/forums/extern.php?action=active&show=18&fid=9,7,12,13,8,15,16,17,18,20,4,22,23");

and get rid of the define('PUN_ROOT','../../'); it is already defined.

305

(15 replies, posted in Programming)

aha, i do not use the frontpage mod. i just followed the thing on the wiki on punres and it worked smile

306

(15 replies, posted in Programming)

did you see my site? it has three columns hmm

Oops wrong .tpl hmm

it had to be this one:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<pun_head>
<style type="text/css">
    #left {
        width: 140px;
        float: left;
    }    
    #right {
        width: 140px;
        float: right;
        margin-left: 0px;
    }
    #main {
        margin-left: 150px;
        margin-right: 150px;
    }
</style>
</head>
<body>
<pun_include "header.inc.php">
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
 
<div id="left">    
    <div class="block">
        <h2><span>Menu</span></h2>
        <div class="box">
          <pun_sidelinks>            
        </div>
    </div>
    
  <pun_include "kierownik_menu.inc.php">

  <pun_include "wie_is_er_online.inc.php">
  
  <pun_include "google_ads.inc.php">

    
   </div>
</div>

<div id="right">
    
  <pun_include "top_posters.inc.php">
  
  <pun_include "recenttopics.inc.php">
  
  <pun_include "random_quote.inc.php">

  <pun_include "links.inc.php">
  
</div>

    <div id="main">

        <pun_main>

        <pun_include "google_ads_middle.inc.php">
        
    </div>
 
<div class="clearer"></div>
 
<pun_footer>

</div>
</div>
<pun_include "footer.inc.php">
</body>
</html>

307

(15 replies, posted in Programming)

i use this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<pun_head>
<style type="text/css">
    #left {
        width: 140px;
        float: left;
    }
    #main {
        margin-left: 150px;
    }
    #container {
        width: 100%;
        float: right;
        margin-left: -140px;
    }
</style>
</head>
<body>
<pun_include "header.inc.php">
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
 
<div id="container">
    <div id="main">
    
        <pun_announcement>
        
        <pun_mod>

        <pun_main>

        <pun_include "google_ads_middle.inc.php">
        
    </div>    
</div>
 
<div id="left">    
    <div class="block">
        <h2><span>Menu</span></h2>
        <div class="box">
        <pun_sidelinks>            
        </div>
    </div>
    
<pun_include "kierownik_menu.inc.php">

<pun_include "wie_is_er_online.inc.php">

<pun_include "top_posters.inc.php">

<pun_include "recenttopics.inc.php">

<pun_include "links.inc.php">
  
<pun_include "google_ads.inc.php">
    
</div>
</div>

<div class="clearer"></div>
 
<pun_footer>

</div>
</div>
<pun_include "footer.inc.php">
</body>
</html>

and it works for me

if i post something like this:
[ code]
blablabla
[/code ]

[ code]
[css]
blablabla
[/code ]

[ code]
blablabla
[/code ]

The first block will be seen as php,
the second wil be seen as css because it has the [css] tag but,
the third block is also seen as css but should be seen as php.

I hope i made it clear now smile roll

I have it now installed on my website and I have one post where i have multiple code tags with css in them.
but when i only put the [css] tag in the top one the others are also seen as css but they maby are not css!
and so if the second one is just some code it will be coded as css and not normal.

but cool mod smile

what would the code tag look like, would it look like [code=css] or just [css] or something else?

311

(5 replies, posted in PunBB 1.2 troubleshooting)

check header.php and look for <title>

312

(9 replies, posted in PunBB 1.2 show off)

When you are done let me know what you think about it, what feature's you would like etc. big_smile wink

313

(9 replies, posted in PunBB 1.2 show off)

Added smile

314

(9 replies, posted in PunBB 1.2 show off)

thanks and yourwelcome big_smile

At what website do you use my mod, I will add it in one of my columns wink

315

(9 replies, posted in PunBB 1.2 show off)

Let me know what you all think smile

url: http://kierownik.nl

##
##        Mod title:  Links with category's
##
##      Mod version:  1.1.2
##   Works on PunBB:  1.2.14
##     Release date:
##           Author:  daniel rokven (rokven [at] gmail.com / http://kierownik.nl)
##
##      Description:  This will add a page with links and category's, something like a startpage
##                    Demo at http://kierownik.nl/Links.php
##
##  Difference with
## previous version:  see changelog
##
##   Affected files:  header.php
##                    style/yourstyle/yourstyle.css
##
##       Affects DB:  yes, add's 3 options to the config table and create's 2 new tables
##                    to hold the links and category's
##
##            Notes:
##
##       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.
##
################################################################################
## CHANGELOG:
## 1.1.2 : Fixed bug with guest posting link when no debug info, thanks to dirtybobby
##         that found that out :) and fixed div id="links" in AP_Links_with_category.php
##         that was also defined in links.php and the page looked weird.
## 1.1.1 : Put a div arround the category's so that you can style it much easier
## 1.1.0 : fixed bug when inserting ' in links or category
## 1.0.1 : Moved the style used in Links.php to the css file
## 1.0.0 : initial release 
################################################################################

This plugin will add a page like a startpage to your punbb

project link: http://www.punres.org/viewtopic.php?id=2531

new version(2.0.0) is being developed at this moment. more details at http://kierownik.nl

Mod support is on PunRes or on my own website smile