51

(101 replies, posted in PunBB 1.2 discussion)

@Reines: yeah, I have to disable "confirm_referrer('register.php');". My friend can not registre because of this line.

52

(101 replies, posted in PunBB 1.2 discussion)

CodeXP wrote:

2. Find, line 93:

else if (isset($_POST['form_sent']))
{

Are you sure that's line 93 ? Just checked original source of 1.2.6 and I think this is the line 80 smile
It's not so important for you but it's very important for me where the code was customized so much. I have to locate the line in original source and compare to my code after that smile.

Thank you,

53

(101 replies, posted in PunBB 1.2 discussion)

ghotistix wrote:

Is it possible to ban an IP address instead of an already-registered username? I'd like to get proactive about this...

Yes, just leave username blank.

54

(4 replies, posted in PunBB 1.2 show off)

yeah, it's nice but there is no special stuff & there are too much Google's ads.

See this message: http://lists.grok.org.uk/pipermail/full … 36348.html
Question: Is there any vulnerability in PunBB's BBcode ?

56

(2 replies, posted in PunBB 1.2 discussion)

Thank you. I'll try it now.

57

(2 replies, posted in PunBB 1.2 discussion)

Hi,
I'm trying to make some statistics of our forum. For example : top10 of poster in current week.
This is the code SQL I have tried:

$num = 10;
$condition = 'WHERE WEEK(FROM_UNIXTIME(posted,"%Y-%m-%d"),3)=WEEK(CURDATE(),3)';
$result = $db->query('SELECT poster,count(*) AS numpost FROM '.$db->prefix.
              $type.' '.$condition.' GROUP BY poster ORDER BY numpost DESC LIMIT '.$num) 
              or error('Unable to get info',__FILE__, __LINE__, $db->error());

But results is not correct sad
I'm newbie in SQL. So I would like to hear your comments.
TIA.

58

(4 replies, posted in PunBB 1.2 discussion)

You could setup a list at http://groups.google.com within 2' big_smile

When I try http://www.punres.org I see the error:

Unable to fetch guest information. The table 'users' must contain an entry with id = 1 that represents anonymous users.

? sad

60

(13 replies, posted in Feature requests)

I'm trying use these functions. It seems ok. But I have problem with < and >: there are not displayed in the code.
Any fix ?

Thanks,

61

(2 replies, posted in PunBB 1.2 discussion)

Thank you smile

62

(2 replies, posted in PunBB 1.2 discussion)

Hi, I would like to disable reply for all topics which are older than some time (for example older than 30 days).

How to do that in the way as simple as possible please.

Thank you,

try:

$ cd /path/to/punbb
$ chmod 0777 cache

Thank you, it's fixed now smile

The search function of this forum gives me nothing with searching key "BBCode error" sad

In parser.php I tried to add a debug code like:

            if ($tmp === false || ($tmp2 !== false && $tmp2 < $tmp))
            {
                $error = $lang_common['BBCode error'].' '.$lang_common['BBCode error 2'];
                $error .= "<p><hr><pre>$text</pre><hr>";
                return;
            }
            else
                $text = substr($text, $tmp+7);

            $cur_index += $tmp+7;
        }

So you can see the image:
http://vnoss.org/pub/punbb-bbcode.png

The string $text has opening and closing tag CODE, but punbb shows always error sad

Hi,
I'm using 1.2.5. When I post a code which was between code and /code but punBB shows me always the following error message:

The BBCode syntax in the message is incorrect. Missing end tag for code.

For old messages, which contain already the code, the display is correct.

Any ideas for help ?

Thanks

PS: Sorry, I can't produce [ and ] on my post above

Hi,
I have a running 1.2 forum with a lot of customized stuffs. So I think I can't apply the patch for upgrading to 1.2.4, right ?

Is there any way to do this manually ?

Thanks

68

(1 replies, posted in PunBB 1.2 troubleshooting)

Hi,
I'm running 1.2 with some security patches.
Just create a new forum. In menu "Admin menu" -> "Forums" I see my new forum there, but in pricipal page the new forum was not displayed sad

Any idea for help ?

Thanks,

69

(4 replies, posted in PunBB 1.2 show off)

Color in viewtopic.php is not in your theme smile

70

(142 replies, posted in PunBB 1.2 discussion)

Rows : 4816
DB size: 2.7 MB
URL: in signature smile

71

(5 replies, posted in PunBB 1.2 show off)

yes, very nice !

72

(9 replies, posted in PunBB 1.2 troubleshooting)

Rickard wrote:

That does not happen to me. Anyone else?

No err for me when I enable Quick Post option.

73

(9 replies, posted in PunBB 1.2 troubleshooting)

Thank you wink

74

(9 replies, posted in PunBB 1.2 troubleshooting)

Ludo wrote:

Hi,

Though quick post is on 'no' in admin/options I still have the quick post form at the bottom of topics.

Any idea?

Ludo,

I have the same bug!

75

(31 replies, posted in Archive)

Juan wrote:

Je commence donc par proposer le mien (installé hier) :

http://www.prix-litteraires.fr/forum/index.php qui est le forum de Prix-litteraires.net

Encore 1.1.5 ? wink