Eran,
You could try the one I use in my forum.
Url: ftp://igarderoben.no-ip.com/punBB/PunOn … b1.0.1.zip

27

(6 replies, posted in PunBB 1.2 troubleshooting)

In 1.0.1 it is stored in $options['base_url']

28

(6 replies, posted in PunBB 1.2 troubleshooting)

It is stored in $pun_config['o_base_url']
(it is stored in another variable in older versions of punBB)

29

(6 replies, posted in PunBB 1.2 troubleshooting)

Open the file include/template/main.tpl and look for <span class="puntitle"><pun_title></span><br>, on line 13.
Before that, you add <img src="path/img.name" align="right">.

So the TD-tag will look like:

<td class="punhead">
    <img src="path/img.name" align="right">
    <span class="puntitle"><pun_title></span><br>
    <pun_desc>
</td>

That ought to put an image in your forum head..

30

(1 replies, posted in PunBB 1.2 troubleshooting)

Take a look at http://punbb.org/forums/viewtopic.php?id=2295&p=2

Nice!

When 'degrading' a user from moderator to Member, he/she still appears as moderator in the forum he/she used to be moderating.

One way of removing the user from the forums moderators list, is to remove the user from moderators for the particular forum BEFORE 'degrading' him/her.

A similar issue was originally reported by Mike in this thread (Swedish): http://punbb.org/forums/viewtopic.php?pid=12557#12557

Du får avmarkera användaren som moderator innan du 'degraderar' honom/henne.

Du kan titta på det här inlägget: http://punbb.org/forums/viewtopic.php?id=2903

(Jag la in en blänkare i 'Bug reports' )

34

(8 replies, posted in PunBB 1.2 discussion)

I have been in and out of here several times today without any problems.

If you write

$links[] = '<a href="#" onclick="window.open(\'blabla.html\',\'blablabla\', \'width=200,height=100,scrollbars=yes,toolbar=yes,location=yes\'); return false">Textlink</a>';

"Textlink" will be added to the menubar.. (Note the  \' and href="#" )

Guest write permissions are normally on or off, in the forum.
I have created a mod that allows you (admin) to set that permission per forum. (The general write permission still has to be on, or Yes)

After giving it some more thougt, I also added the option to hide forums where Guests were 'restricted'.

You find the mod at Punres ..

37

(7 replies, posted in Archive)

Nu finns en uppdaterad version på Punres ...

38

(7 replies, posted in Archive)

Åhh, *rodnar*..
Tack! Jag sitter och pular med modden då jag så här i efterhand finner att det kanske skulle vara fint om man kunde dölja dom forum som gäster INTE ska kunna skriva i.

Jag återkommer i ämnet...

39

(7 replies, posted in Archive)

Rickard wrote:

Det går tyvärr inte. PunBB har inte stöd för att sätta sådana rättigheter per forum. Version 1.2 kommer troligtvis ha det dock.

Jag gjorde en 'mod' eftersom jag tyckte det lät som en ganska bra förfrågan.
Den finns på Punres.

Deron,
Innan du installerar den kan du titta på hur den fungerer på http://igarderoben.no-ip.com/pbb/ ..

JohnS,
I have added the guest count to the 'mod'. Take a look at the readme-file found at Punrez for instructions on how to do it..

You will find a version at http://punres.cactuz.nu/?p=projects/desc&id=22

I added 1.1.3 to supported versions since 1.1.3 is a 'bugfix'.

(I haven't tried it so I'm not 100% sure.)

Oops.. will do!

Think I found something: When a message is sent containing a " in the 'Subject' line, the subject will be truncated after the first " when replying to it.

I e 'Just a "test" post' will be 'RE: Just' when I click Reply (or Quote).

I fixed it on my forum by replacing the " with ' on line 217 in message_send.php.

<input type="text" name="req_subject" value="<?php echo $subject ?>" 
maxlength="100" style="width: 500px" tabindex="<?php echo $cur_index++ ?>">

to

<input type='text' name='req_subject' value='<?php echo $subject ?>' 
maxlength='100' style='width: 500px' tabindex='<?php echo $cur_index++ ?>'>

Let me know if there is anything else that you see should be changed..
( PunBB version 1.1.2 / PMS version 1.0 (1.0.2 according to .zip file) )

Feel free to try my "mod".

You'll find it at ftp://igarderoben.no-ip.com/punBB/Most_Users.zip

46

(14 replies, posted in PunBB 1.2 discussion)

Hi,
I tried to log in on the forum and got the error:

File: /home/cactuz/forum/login.php
Line: 44

PunBB reported: Unable to fetch user info 
Database reported: Unknown column 'active' in 'field list' (Errno: 1054) 

When I tried to post a new topic to let you know, I got this instead:

Fatal error: Call to undefined function: pun_htmlspecalchars() in /home/cactuz/forum/post.php on line 493

Just thought I let you know...

47

(1 replies, posted in Programming)

Hi,
I need some advise:
What is the differnce between these two tags?
1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
and
2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401- … /loose.dtd">

I had some problems in the forum were the CSS was not incorporated properly ( or not to the full extent ). For instance, the colored scroll bars would not appear as I thought they would etc. I didn't really pay attention to it until i noticed that one menu item did show the page differently (and that menu item alone): "Admin" (tag 1).

I searched for the reason and found that the "DOCTYPE"-tag differed. I replaced tag 2 with 1 and voila'..

But, I would appreciate an explenation on why tag 1 works and not tag 2.

Tank's in advance

/Conny

48

(13 replies, posted in PunBB 1.2 bug reports)

Isn't it easier to change the username?

49

(1 replies, posted in PunBB 1.2 show off)

I am running a PunBB forum version 1.0.1 with mods for 1.1.1 and functions from 1.1.1 as well. The reason for not upgrading is that I have changed the EFAM mod not to display forums that are locked, at all. Once access is granted, it shows up..
I have also altered the way new posts are indicated: a forum with a new post or topic will be unmarked when it has been read.
Well, I'm havin' fun messing around with it smile

You'll find it at http://td-swe.no-ip.com/pbb/index.php

The reason for this problem was the php-"header".
When not set correctly, this happened to users with IE.

Don't worry, Kennel, PunBB works like a dream smile but I had other scripts that didn't..