If you only add it in index.php, it will not count visits other than on the index page.

it is in footer.php

There already is a CSS generator for PunBB : http://www.jsand.net/spinkbb/?lang=en

154

(4 replies, posted in PunBB 1.2 troubleshooting)

replace

        $img_tag = '<img class="postimg" src="'.$url.'" alt="'.htmlspecialchars($url).'"'.$style.' />';

by

        $img_tag = '<a href="'.$url.'"><img class="postimg" src="'.$url.'" alt="'.htmlspecialchars($url).'"'.$style.' /></a>';

155

(4 replies, posted in PunBB 1.2 troubleshooting)

edit parser.php to replace <img src="link_to_image.jpg" alt="" /> by <a href="link/to/image.jpg"><img src="link/to/image.jpg" alt="" /></a>

http://www.jsand.net/spinkbb/?lang=en

write your rules in html.
for exemple, use <br /> to create a new line

158

(5 replies, posted in PunBB 1.2 troubleshooting)

soborne wrote:

efectivement la traduction nest pas terrible.

voila en fait jai un forum punbb,jai installé le bouton rss qui a chaque section il y a un bouton rss,des que je clic dessus une page souvre et la jai un script ce qui prouvre que le flux fonctionne mais il est en xlm mais punbb ne le lie pas et lorsque je le fait avec firefox avec une page dinamic le flux est vide pas de 10 derniers topic,donc je pense quil manque une manip a faire merci de votre aide

For english speaking members:
I have installed a RSS button for each forum, when I click on it a page open but it is a xml file and punbb does not display it and when I do it with firefox with a dynamic page the flow is empty there is not the last 10 topics, so I think I missed something thanks for your help

Even in french it is not really clear.

159

(5 replies, posted in PunBB 1.2 troubleshooting)

Donnes le lien vers ton forum que l'on puisse jeter un coup d'oeil. Il y a un forum de support en Francais : www.punbb.fr
***
Give a link to your forum for us to check. There is a french support board at www.punbb.fr

160

(2 replies, posted in Feature requests)

search for function generate_profile_menu in include/functions.php

161

(1 replies, posted in General discussion)

there is no exe file in punBB, have a look here

try

#container {     text-align: center }

in you css

****edit:typo****

163

(4 replies, posted in PunBB 1.2 troubleshooting)

the image tag is <img src="" alt="" />

Thanks that is what I thought smile

Moderators can delete posts created by administrators.
I do not think it is a bug and I do not have any problem with it but I am just curious why it has been done that way. Some would expect administrators posts to only be editable or deletable by administrators.

I have modified the header to add an ad banner.
It works fine in Firefox but in IE7 I have an issue with the display.
My CSS knowledge is not very good and I can not figure how to fix it.

I would be very grateful if some one could help me find a workaround smile

I first thought it was the javascript that was not clean so I tried to replace the javascript by a <img src="mybanner.jpg" alt="banner" /> but it does the same sad

I tried to declare the div after <pun_title> but it does not solve the issue.

The page is at http://www.tuningtour.org/forums/

Here is the main.tpl:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
<pun_include "meta.php">
</head>
<body>

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <pun_desc>
        <div id="brdtitle" class="inbox">
            <div id="pub"><script type="text/javascript" src="http://www.wipub.com/ban_468.php?id_affilie=21000"></script></div>
            <pun_title>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>

<pun_announcement>

<pun_main>

<pun_footer>

</div>
</div>
</body>
</html>

and the CSS file:

#brdtitle h1 span {
    display: block;
    background-image: url(/img/banner.jpg);
    background-position: 0 0;
    background-repeat: no-repeat;
    height: 116px; /* Hauteur de l'image */
    width: 994px; /* largeur de l'image */
    text-indent: -200%;
    margin-top: -6px;
    margin-left: -6px;
    margin-right: -6px;
    margin-bottom: -3px;
}

#pub {
    background-image: url(/img/publicite.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-color: #333333;
    border: 2px solid #333333;
    width: 488px;
    height: 60px;
    float: right;
    margin-top: 16px;
    text-align: right;
}

you can try this one : http://www.punbb.fr/mods/mod.php?id=35
The email notification can be enabled/disabled from the admin panel and each user can choose to enable/diable it in its profile. A popup notification is also included that can be enabled/disabled.

try replacing
onblur="if(this.value=="")this.value=this.defaultValue;"
by
onblur="if(this.value=='')this.value=this.defaultValue;"

header.php I think

it is not part of the default punBB skins. You should look on PunRes to find one with rounded corners

http://punbb.org/docs/faq.html#mods

172

(3 replies, posted in General discussion)

the software is free, the only thing you may have to pay is a host

install the mods now, there is nothing really difficult if you follow the instructions exactly. The most common issues with mod installation is people copying/replacing entrie lines when the readme ask for only a part of it.

The plugin is in the Download page
To disable registration: Administration > Options

after installing Mega Pun, empty all the tables and import only the data of you punbb database