2,226

(22 replies, posted in PunBB 1.2 troubleshooting)

include("../forum/extern.php?action=active&show=10");

Does that work?

You *could* add a coumn to the online table for that...

2,228

(5 replies, posted in PunBB 1.2 troubleshooting)

Try cleaning the table by using phpMyAdmin smile

Why the caps?

Go over everything in the readme file again, also, make sure you're not missing any semicolons wink

2,231

(4 replies, posted in PunBB 1.2 troubleshooting)

This is the fix:
http://punbb.org/docs/faq.html#faq2_5

2,232

(4 replies, posted in PunBB 1.2 troubleshooting)

Why use iframes? *shivers*
Div layers are way better, but ofcourse that's up to you... =/ There is a fix for this, but can't remember it.

2,233

(22 replies, posted in PunBB 1.2 troubleshooting)

$action="active";
$show=10;

include($_SERVER['DOCUMENT_ROOT'].'/forum/extern.php');

won't work wink What you could do is this:

$action="active";
$show=10;

include($_SERVER['DOCUMENT_ROOT'].'/forum/extern.php?action='.$action.'&show='.$show);

Now, for your problem, it's best to put them all in the same foder, else PunBB won't handle it too well wink

2,234

(22 replies, posted in PunBB 1.2 troubleshooting)

Check your config.php, remake it if neccessary

Try UTF-8?

2,236

(7 replies, posted in PunBB 1.2 show off)

Looks rather sweet big_smile

2,237

(5 replies, posted in PunBB 1.2 discussion)

I guess they reinstalled the server or so, as there are some MySQL probs =/

Err, I'll put in how to disable the forum title ^^

Maybe due to the UTF8 conversion...

What error exactly?

2,241

(1 replies, posted in Feature requests)

What do you mean with FAQ mod? If you ant to create one, you can use the Custom Pages plugin.

2,242

(5 replies, posted in Programming)

It's been a while since I did image creating, but I remember using imagestring() instead.

And the function is quite easy:

<?php
function make_image($text, $w, $h)
    {
    $text="Topic Heading / Sub-Heading";
    $x=10;
    $y=20;
    $size=10;
    
    $fontfile="VERDANA.TTF";
    $angle=0;

    header ("Content-type: image/png");
    $im = @imagecreate ($w, $h) or die ("Cannot Initialize new GD image stream");
    
    $background_color = imagecolorallocate ($im, 251, 121, 34);
    $text_color1 = imagecolorallocate ($im, 0, 0 ,  0);
    $text_color2 = imagecolorallocate ($im, 255, 255,  255);
    
    ImageTTFText ($im, $size, $angle, $x+1, $y+1, $text_color2, $fontfile, $text);
    ImageTTFText ($im, $size, $angle, $x, $y, $text_color1, $fontfile, $text);
    imagepng ($im);
    imagedestroy ($im);
    }
?>

Ik kan het anders ook in het Vlaams uitleggen? =P

Anyways, to make images go next to each other, use this:

<img src="" alt="" style="float: left" />

You don't need to use the style attribute in your last ad though, or your text will come next to it too.

So you're basically just allowing HTML there?

2,245

(1 replies, posted in PunBB 1.2 discussion)

Create forums only visible to certain usergroups? These forums are to be external URL's (similar to the punres link on this board.) I need this feature as I have usergroups for my customers. Each usergroup should only have access to their own order form.

Yes

I have played around with integrating Punbb on my sites before (simple stuff like displaying online users on my site). Is it possible to integrate Punbb with Zen Cart? I have the following template for my upcoming zen cart

I suppose so, with some php-ing.

2,246

(12 replies, posted in PunBB 1.2 troubleshooting)

I've done the Group Frum Subscribe mod, and with a little modification I suppose it can send to specific users instead of groups.

2,247

(33 replies, posted in PunBB 1.2 troubleshooting)

Yeah ^^

2,248

(5 replies, posted in PunBB 1.2 bug reports)

Try using html_entity_decode() on your input smile

2,249

(13 replies, posted in PunBB 1.2 troubleshooting)

Just try with the removing.

Oh, and it's a fatal error, so script execution is halted wink

2,250

(13 replies, posted in PunBB 1.2 troubleshooting)

Remove it, as it seems it's already loaded, perhaps by another plugin. Although require_once shouldn't give an error =/
Try require_once(PUN_ROOT.'include/parser.php'); or include_once(PUN_ROOT.'include/parser.php');